/* ==========================================================================
   Kodex Client - Ultra Modern Responsive Stylesheet
   Matching Reference Screenshots Exactly (Borderless, Pure White Icons)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #09090b;
  --bg-card: #121216;
  --bg-card-hover: #17171d;
  --bg-cream: #ece8e1;
  --text-cream-dark: #121214;
  --text-main: #f4f4f6;
  --text-muted: #8e8e99;
  --text-sub: #a1a1aa;
  --accent-green: #22c55e;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-subcard: 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Floating Navbar (Exact Match to Screenshot 1 & 2 - Borderless)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  padding: 0 24px;
}

.header-container {
  width: 100%;
  max-width: 1320px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.header-logo-link:hover {
  transform: scale(1.05);
}

.header-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)) !important;
}

.header-logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
body.scrolled .header-logo-text {
  color: #ffffff !important;
}

/* Center Pill Nav - Completely Borderless */
.header-nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: rgba(30, 29, 27, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}
body.scrolled .header-nav-pill {
  background: rgba(18, 18, 22, 0.85);
}

.nav-item {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-item.active {
  color: #121214 !important;
  background: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
body.scrolled .nav-item.active {
  color: #121214 !important;
  background: #ffffff !important;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
}
.login-nav-btn:hover {
  opacity: 0.85;
}
body.scrolled .login-nav-btn {
  color: #ffffff !important;
}

.user-nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: none;
  padding: 4px 14px 4px 5px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.user-nav-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}
.user-nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   Hero Section (Exact Match to Screenshot 1)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(14px) brightness(1.02) saturate(1.1);
  transform: scale(1.08);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(224, 212, 195, 0.3) 0%, 
    rgba(235, 225, 205, 0.15) 45%, 
    rgba(9, 9, 11, 0.6) 80%,
    rgba(9, 9, 11, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #121214;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px);
  line-height: 1.6;
  color: #3b3a36;
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-black-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111113;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  border: none;
}
.btn-black-pill:hover {
  background: #252528;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(130, 120, 105, 0.3);
  backdrop-filter: blur(12px);
  border: none;
  color: #242220;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.btn-glass-pill:hover {
  background: rgba(130, 120, 105, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 2: Visuals ("только визуал" / Screenshot 2 - Borderless)
   ========================================================================== */
.section-visuals {
  position: relative;
  z-index: 10;
  padding: 120px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.visuals-grid-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

/* 2x2 Feature Cards - Borderless */
.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  position: relative;
  height: 310px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-card:hover .feature-card-bg {
  transform: scale(1.05);
}

.feature-card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.3) 0%, rgba(10, 10, 14, 0.88) 60%, rgba(8, 8, 12, 0.98) 100%);
}

.feature-card-header {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.feature-card-num {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.feature-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.feature-card-content {
  position: relative;
  z-index: 5;
}

.feature-card-title {
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

/* Right Text & Stats Block */
.visuals-right-panel {
  display: flex;
  flex-direction: column;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.section-big-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 24px;
}
.section-big-title em {
  font-style: italic;
  font-weight: 400;
  font-family: Georgia, serif, var(--font-sans);
  color: #e2e2e8;
}

.section-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}

.separator-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 36px;
  column-gap: 32px;
  margin-bottom: 44px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
}

.stat-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.btn-white-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0c0c0e;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition-smooth);
  width: fit-content;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  border: none;
}
.btn-white-pill:hover {
  background: #f0f0f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Section 3: Client in action / Cosmetics ("Это не макет" / Screenshot 3 - Borderless)
   ========================================================================== */
.section-showcase {
  position: relative;
  z-index: 10;
  padding: 120px 24px 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.showcase-header {
  margin-bottom: 50px;
}

.client-mockup-window {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0d0d12;
  border: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(139, 92, 246, 0.15);
  display: flex;
}

.client-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-mockup-window:hover .client-photo-img {
  transform: scale(1.02);
}

.mockup-game-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6) blur(2px);
}

.mockup-inner {
  position: relative;
  z-index: 5;
  padding: 24px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

/* In-Game HUD Elements - Borderless */
.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.hud-perf-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: none;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-family: monospace;
}
.hud-perf-pill span {
  color: #a1a1aa;
}
.hud-perf-pill strong {
  color: #22c55e;
}

.hud-watermark-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: none;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.hud-watermark-pill img {
  width: 16px;
  height: 16px;
}

.hud-keybinds-pill {
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  border: none;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 11px;
  color: #a1a1aa;
}

/* In-game Client GUI Container - Borderless */
.client-gui-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: rgba(18, 16, 26, 0.96);
  backdrop-filter: blur(24px);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
  margin: 0 auto;
  width: 100%;
  max-width: 980px;
}

.gui-sidebar {
  background: rgba(14, 12, 20, 0.95);
  border: none;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gui-logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 0 8px 12px;
  border: none;
}
.gui-logo-title img {
  width: 20px;
  height: 20px;
}

.gui-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.gui-nav-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #94949e;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  border: none;
}
.gui-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.gui-nav-btn.active {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-weight: 600;
  border: none;
}

.gui-badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  color: #a1a1aa;
}

.gui-user-pill {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: none;
}
.gui-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #6366f1;
}

/* GUI Content Panels - Borderless */
.gui-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  max-height: 480px;
}

.gui-top-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border: none;
}

.gui-breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: #e4e4e7;
}

.gui-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gui-panel-box {
  background: rgba(24, 21, 36, 0.75);
  border: none;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gui-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gui-slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gui-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #a1a1aa;
}

.gui-slider-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
}
.gui-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #8b5cf6;
  border-radius: 3px;
}

/* Pills under mockup - Borderless */
.mockup-pills-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.mockup-pill-item {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: #a1a1aa;
  transition: all 0.2s ease;
}
.mockup-pill-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ==========================================================================
   Section 4: Cloud Settings (Screenshot 4 - Borderless)
   ========================================================================== */
.section-cloud {
  position: relative;
  z-index: 10;
  padding: 120px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.cloud-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cloud-checklist-card {
  background: #121216;
  border: none;
  border-radius: var(--radius-card);
  padding: 24px 32px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.cloud-check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border: none;
  font-size: 14.5px;
  font-weight: 500;
}

.cloud-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
}
.cloud-status-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

/* ==========================================================================
   Section 5: Pricing (Screenshot 5 & 6 - Borderless)
   ========================================================================== */
.section-pricing {
  position: relative;
  z-index: 10;
  padding: 120px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.pricing-card {
  position: relative;
  background: #111115;
  border: none;
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pricing-card.featured {
  background: #141419;
}

.pricing-card-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  border: none;
}

.pricing-plan-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-plan-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 24px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing-price-main {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.pricing-price-old {
  font-size: 18px;
  color: #71717a;
  text-decoration: line-through;
}

.pricing-price-note {
  font-size: 13px;
  color: #71717a;
  margin-bottom: 32px;
}

.pricing-features-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
  margin-bottom: 18px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #d4d4d8;
  line-height: 1.4;
}

.pricing-feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  border: none;
}

.btn-card-primary {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #09090b;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition-smooth);
  border: none;
}
.btn-card-primary:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
}

.btn-card-secondary {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
}
.btn-card-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.pricing-footnote {
  text-align: center;
  font-size: 13.5px;
  color: #71717a;
  max-width: 720px;
  margin: 40px auto 0;
  line-height: 1.6;
}
.pricing-footnote a {
  color: #a1a1aa;
  text-decoration: underline;
}

/* ==========================================================================
   Section 6: Swords and Totems (Screenshot 6 - Borderless)
   ========================================================================== */
.section-swords {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.swords-card {
  background: #111115;
  border: none;
  border-radius: var(--radius-card);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.swords-left {
  display: flex;
  flex-direction: column;
}

.swords-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.swords-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.swords-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swords-tag-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: #d4d4d8;
}

/* Pixel Art Items Showcase Grid - Borderless */
.swords-right-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swords-filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.swords-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 500;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swords-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.swords-filter-btn.active {
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
}

.swords-items-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  transition: opacity 0.2s ease;
}

.pixel-item-box {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px;
  position: relative;
  cursor: pointer;
}

.pixel-item-box:hover {
  transform: translateY(-4px) scale(1.12);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.pixel-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.pixel-item-box:hover .pixel-item-img {
  transform: rotate(6deg) scale(1.08);
}

.pixel-item-box::after {
  content: attr(data-name);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #18181b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.pixel-item-box:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Section 7: Basic features card (Borderless)
   ========================================================================== */
.section-basic {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.basic-card {
  background: #111115;
  border: none;
  border-radius: var(--radius-card);
  padding: 38px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.basic-left {
  max-width: 480px;
}

.basic-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.basic-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 600px;
}

.basic-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: #d4d4d8;
  white-space: nowrap;
}

/* ==========================================================================
   Section 8: 9-Feature Grid (Screenshot 8 & 9 - Borderless, Pure White Icons)
   ========================================================================== */
.section-features-grid {
  position: relative;
  z-index: 10;
  padding: 120px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.features-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border: none;
  background: transparent;
  margin-top: 50px;
}

.feature-table-cell {
  padding: 36px 32px;
  border: none;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #111115;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.feature-table-cell:hover {
  background: #16161c;
  transform: translateY(-2px);
}

.cell-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
}

.cell-icon-box svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.cell-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.cell-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 9: Cream CTA Banner Card (Screenshot 9)
   ========================================================================== */
.section-cta {
  position: relative;
  z-index: 10;
  padding: 60px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.cta-banner-card {
  background: var(--bg-cream);
  border-radius: 36px;
  padding: 90px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: none;
}

.cta-banner-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-cream-dark);
  margin-bottom: 20px;
}

.cta-banner-subtitle {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: #4c4b48;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ==========================================================================
   Section 10: Modern Dark Footer (Screenshot 10 - Borderless)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: #09090b;
  border: none;
  padding: 80px 24px 40px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-brand-tagline {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.5;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-size: 14px;
  color: #a1a1aa;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border: none;
  font-size: 13px;
  color: #71717a;
}

/* ==========================================================================
   Auth Screen / Modal (Screenshots 11 & 12 - Borderless)
   ========================================================================== */
.auth-page-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: #0b0b0d;
}

.auth-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.9);
  transform: scale(1.05);
}

.auth-back-btn {
  position: absolute;
  top: 32px;
  left: 36px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border: none;
  transition: all 0.2s ease;
}
.auth-back-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateX(-2px);
}

.auth-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: rgba(28, 27, 24, 0.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: none;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.auth-card-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 24px;
}

.auth-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a1a1aa;
  margin-bottom: 6px;
}

.auth-card-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 8px;
}

.auth-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #a1a1aa;
  margin-bottom: 24px;
}

.auth-toggle-pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: none;
}

.auth-toggle-btn {
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: #a1a1aa;
  text-align: center;
  transition: all 0.25s ease;
  border: none;
}
.auth-toggle-btn.active {
  background: #ffffff;
  color: #0c0c0e;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #a1a1aa;
}

.auth-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 12px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}
.auth-input:focus {
  background: rgba(255, 255, 255, 0.12);
}
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.auth-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #0c0c0e;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  border: none;
}
.auth-submit-btn:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-error-msg {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.2);
  border: none;
  color: #f87171;
  font-size: 13px;
  display: none;
}

.auth-card-footer-note {
  padding-top: 20px;
  border: none;
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
}

/* ==========================================================================
   Cabinet Page View (Exact Match to Screenshots 13 & 14 - Borderless)
   ========================================================================== */
.cabinet-page-view {
  min-height: 100vh;
  background-color: #0b0b0e;
  display: flex;
}

.cabinet-sidebar {
  width: 260px;
  background: #0e0e12;
  border: none;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.cabinet-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 24px;
  border: none;
}
.cabinet-brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.cabinet-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.cabinet-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.cabinet-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #8e8e99;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.cabinet-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.cabinet-menu-item.active {
  background: #ffffff;
  color: #0c0c0e;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.cabinet-menu-item.active svg {
  stroke: #0c0c0e !important;
}
.cabinet-menu-item:not(.active) svg {
  stroke: #ffffff !important;
}

.cabinet-menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cabinet-badge-pro {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  border: none;
}

.cabinet-badge-live {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: none;
}

.cabinet-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border: none;
}

.cabinet-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
}
.cabinet-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #27272a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.cabinet-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.cabinet-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #71717a;
  transition: all 0.2s ease;
  border: none;
}
.cabinet-logout-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* Cabinet Main Content Grid - Borderless */
.cabinet-main-body {
  flex-grow: 1;
  padding: 48px 48px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  max-width: 1360px;
}

.cabinet-content-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cabinet-header-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 6px;
}

.cabinet-header-subtitle {
  font-size: 14px;
  color: #71717a;
}

.cabinet-user-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.cabinet-big-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f1f24;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  border: none;
}

.cabinet-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cabinet-user-details h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.cabinet-user-details p {
  font-size: 13.5px;
  color: #71717a;
}

/* Launcher Download Card - Borderless */
.cabinet-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.launcher-card {
  background: #131317;
  border: none;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.launcher-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.launcher-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.launcher-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.launcher-info-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.launcher-info-sub {
  font-size: 12.5px;
  color: #71717a;
  margin-bottom: 4px;
}

.launcher-badges-row {
  display: flex;
  gap: 6px;
}

.launcher-badge {
  font-size: 11px;
  font-family: monospace;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  border: none;
}

.btn-launcher-download {
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #0c0c0e;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-smooth);
  border: none;
}
.btn-launcher-download:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
}

.launcher-subtext {
  font-size: 12.5px;
  color: #71717a;
  margin-top: 10px;
}

/* Account Data Table - Borderless */
.account-data-list {
  background: #131317;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.account-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border: none;
  font-size: 13.5px;
}

.account-data-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #71717a;
  font-weight: 500;
}

.account-data-label svg,
.cabinet-section-label svg,
.character-card-label svg,
.btn-cabinet-pill svg {
  color: #ffffff;
  stroke: #ffffff;
  flex-shrink: 0;
}

.account-data-val {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-plan-upgrade {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-plan-upgrade:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cabinet-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -10px;
}

.btn-cabinet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-cabinet-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* Right Character Viewport Card - Borderless */
.character-viewport-card {
  background: #131317;
  border: none;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.character-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.character-3d-stage {
  width: 100%;
  height: 380px;
  background: #0d0d10;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: grab;
}
.character-3d-stage:active {
  cursor: grabbing;
}

.character-card-foot {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.character-card-foot h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.character-card-foot p {
  font-size: 12px;
  color: #71717a;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .visuals-grid-container,
  .cloud-grid-container,
  .swords-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .features-table-grid {
    grid-template-columns: 1fr;
  }
  .cabinet-main-body {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav-pill {
    display: none;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  .basic-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .swords-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cabinet-page-view {
    flex-direction: column;
  }
  .cabinet-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Admin Panel Styling (Matching Personal Cabinet)
   ========================================================================== */
.cabinet-admin-view {
  grid-template-columns: 1fr !important;
  max-width: 1400px;
}

.admin-panel-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 4px;
}

.admin-subnav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #131317;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: none;
}

.admin-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #8e8e99;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.admin-subnav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.admin-subnav-btn.active {
  background: #ffffff;
  color: #0c0c0e;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.admin-subnav-btn.active svg {
  stroke: #0c0c0e !important;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-stat-card {
  background: #131317;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  border: none;
}

.admin-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-stat-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
}

.admin-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-stat-icon svg {
  stroke: #ffffff;
}

.admin-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 10px;
  font-feature-settings: 'tnum';
}

.admin-stat-sub {
  font-size: 12px;
  color: #71717a;
  margin-top: 4px;
}

.admin-section-card {
  background: #131317;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: none;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.admin-search-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  width: 240px;
  font-family: inherit;
}
.admin-search-input::placeholder {
  color: #71717a;
}

.admin-users-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  overflow-x: auto;
}

.admin-table-head-row {
  display: grid;
  grid-template-columns: 2.2fr 80px 100px 150px 140px 170px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
  min-width: 800px;
}

.admin-user-row {
  display: grid;
  grid-template-columns: 2.2fr 80px 100px 150px 140px 170px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s ease;
  min-width: 800px;
}
.admin-user-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.admin-cell-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #27272a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-user-info-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.admin-user-email {
  font-size: 11.5px;
  color: #71717a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chip-uid {
  font-size: 11.5px;
  font-family: monospace;
  font-weight: 700;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-flex;
  width: fit-content;
}

.admin-chip-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.admin-chip-role.admin {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}
.admin-chip-role.beta {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.admin-chip-role.user {
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}
.admin-chip-banned {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.admin-cell-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.admin-cell-hwid {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-cell-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-sm-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-sm-btn.primary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.admin-sm-btn.primary:hover {
  background: rgba(255, 255, 255, 0.18);
}
.admin-sm-btn.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}
.admin-sm-btn.danger:hover {
  background: rgba(239, 68, 68, 0.25);
}
.admin-sm-btn.success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}
.admin-sm-btn.success:hover {
  background: rgba(34, 197, 94, 0.25);
}

.admin-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-page-info {
  font-size: 12.5px;
  color: #71717a;
}

.admin-page-btns {
  display: flex;
  gap: 8px;
}

.admin-page-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.admin-page-btn:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .admin-two-cols {
    grid-template-columns: 1fr;
  }
}

.admin-subcard {
  background: #0d0d10;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: none;
}

.admin-subcard-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
}

.admin-input, .admin-select {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: background 0.2s ease;
}
.admin-input:focus, .admin-select:focus {
  background: rgba(255, 255, 255, 0.1);
}
.admin-select option {
  background: #131317;
  color: #ffffff;
}

.admin-output-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.admin-output-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a1a1aa;
}

.admin-copy-sm-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-pill);
  color: #ffffff;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-copy-sm-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-keys-textarea {
  background: transparent;
  border: none;
  color: #4ade80;
  font-family: monospace;
  font-size: 12px;
  resize: none;
  outline: none;
  width: 100%;
}

.admin-keys-scroll-list, .admin-promos-scroll-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.admin-key-item, .admin-promo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.admin-key-code {
  font-family: monospace;
  font-weight: 700;
  color: #ffffff;
}

.admin-key-meta {
  font-size: 11.5px;
  color: #71717a;
  margin-top: 2px;
}

.admin-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.admin-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.admin-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  transition: 0.2s;
}
.admin-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.2s;
}
.admin-toggle-switch input:checked + .admin-toggle-slider {
  background: #22c55e;
}
.admin-toggle-switch input:checked + .admin-toggle-slider:before {
  transform: translateX(20px);
}

.admin-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.admin-setting-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.admin-setting-desc {
  font-size: 12px;
  color: #71717a;
  margin-top: 2px;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.admin-modal-card {
  background: #131317;
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: none;
}

.admin-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.admin-modal-close {
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.admin-modal-close:hover {
  color: #ffffff;
}

.admin-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-modal-presets {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.admin-preset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--radius-pill);
  color: #d4d4d8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.admin-preset-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.admin-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.admin-status-msg {
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
}
.admin-status-msg.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.admin-status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
