/* ═══════════════════════════════════════════════════════════════
   SkinCombo — stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --radius: 0.75rem;

  --background:         oklch(0.14 0.012 270);
  --foreground:         oklch(0.97 0.005 270);
  --card:               oklch(0.18 0.014 270);
  --card-foreground:    oklch(0.97 0.005 270);
  --primary:            oklch(0.62 0.22 25);
  --primary-foreground: oklch(0.99 0 0);
  --secondary:          oklch(0.22 0.015 270);
  --muted:              oklch(0.22 0.012 270);
  --muted-foreground:   oklch(0.65 0.015 270);
  --success:            oklch(0.72 0.18 150);
  --border:             oklch(0.26 0.012 270);

  --gradient-primary: linear-gradient(135deg, oklch(0.62 0.22 25), oklch(0.55 0.25 15));
  --gradient-radial:  radial-gradient(ellipse at top, oklch(0.62 0.22 25 / 0.18), transparent 60%);
  --gradient-hero:    linear-gradient(180deg, oklch(0.14 0.012 270 / 0) 0%, oklch(0.14 0.012 270) 100%);
  --shadow-glow:      0 0 60px -10px oklch(0.62 0.22 25 / 0.5);
  --shadow-card:      0 8px 30px -8px oklch(0 0 0 / 0.5);
}

/* ── Reset & base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, oklch(0.62 0.22 25 / 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, oklch(0.62 0.22 25 / 0.08), transparent);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

button  { cursor: pointer; font-family: inherit; border: none; background: none; }
a       { text-decoration: none; color: inherit; }
img     { display: block; max-width: 100%; }
ul, ol  { list-style: none; }

/* ── Utilities ────────────────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Shared components ────────────────────────────────────────────── */

/* Logo */
.logo { display: flex; align-items: center; gap: 0.5rem; }

.logo-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700;
  color: var(--primary-foreground);
  font-family: "Space Grotesk", sans-serif;
  flex-shrink: 0;
}

.logo-text { font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 700; }
.logo-text span { color: var(--primary); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 8px;
  background: var(--gradient-primary);
  padding: 0.625rem 1rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: opacity 0.15s;
  width: 100%;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary svg { width: 16px; height: 16px; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.625rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--foreground);
  transition: background 0.15s;
  width: 100%;
}
.btn-secondary:hover { background: var(--secondary); }
.btn-secondary svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════════
   APP DASHBOARD (app.html)
   ══════════════════════════════════════════════════════════════════ */

.app-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 256px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.3);
  padding: 1.5rem;
  display: flex; flex-direction: column;
}

.nav { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2px; }

.nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 8px; padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
  color: var(--muted-foreground);
  width: 100%; text-align: left;
}
.nav-item:hover { background: var(--card); color: var(--foreground); }
.nav-item.active { background: oklch(0.62 0.22 25 / 0.1); color: var(--foreground); }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Summary card */
.summary-card {
  margin-top: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.6);
  padding: 1.25rem;
}
.summary-card h4 { font-size: 0.9375rem; font-weight: 600; }

.summary-rows { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }

.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.summary-row .label { color: var(--muted-foreground); }

.star-rating { display: inline-flex; align-items: center; gap: 4px; }
.star-rating svg { width: 14px; height: 14px; }

.text-primary   { color: var(--primary); }
.text-success   { color: var(--success); }
.font-semibold  { font-weight: 600; }

/* Sidebar actions */
.sidebar-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* Main */
.main { flex: 1; overflow-x: hidden; }

/* Topbar */
.topbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.875rem;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem;
}

.user-chip-wrap { position: relative; }

.user-chip {
  display: flex; align-items: center; gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.user-chip:hover,
.user-chip.active { background: var(--card); border-color: oklch(0.36 0.012 270); }

.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0; overflow: hidden;
}

.user-chip .username { font-size: 0.875rem; font-weight: 500; color: var(--text, #e8eaf0); }

.badge-plan {
  font-size: 0.625rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}
.badge-pro    { background: var(--primary); color: var(--primary-foreground); }
.badge-trader { background: oklch(0.55 0.18 270); color: #fff; }
.badge-free   { background: oklch(0.28 0.012 270); color: var(--muted-foreground); border: 1px solid var(--border); }

.user-chip .chevron { width: 16px; height: 16px; color: var(--muted-foreground); transition: transform 0.2s; }
.user-chip.active .chevron { transform: rotate(180deg); }

.user-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 160px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 4px;
  box-shadow: 0 12px 40px -8px oklch(0 0 0 / 0.5);
  z-index: 50;
  animation: dropdown-in 0.12s ease;
}
.user-dropdown[hidden] { display: none; }

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--foreground);
  transition: background 0.15s;
}
.dropdown-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.dropdown-item-danger { color: oklch(0.78 0.16 20); }
.dropdown-item-danger:hover { background: oklch(0.55 0.2 15 / 0.12); }

/* Content area */
.content { padding: 2rem 2.5rem; }

/* Prompt bar */
.prompt-bar {
  margin-bottom: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}
.prompt-inner {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 12px;
  background: oklch(0.14 0.012 270 / 0.6);
  padding: 0.75rem 1rem;
}
.prompt-inner svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.prompt-inner input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 0.875rem; color: var(--foreground); font-family: inherit;
}
.prompt-inner input::placeholder { color: var(--muted-foreground); }

.btn-gerar {
  border-radius: 6px;
  background: var(--gradient-primary);
  padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
}

/* Page title */
.page-title { font-size: 1.875rem; font-weight: 700; }
.page-sub { margin-top: 4px; font-size: 0.875rem; color: var(--muted-foreground); }
.page-sub .tag { font-weight: 600; color: var(--primary); }
.page-sub .sep { margin: 0 8px; color: var(--border); }

/* Preview image */
.preview-wrap {
  margin-top: 1.5rem;
  border-radius: 16px; border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.preview-wrap img { width: 100%; height: 380px; object-fit: cover; object-position: center; }

/* Skins grid */
.skins-grid {
  margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}

.skin-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 0.75rem;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
}
.skin-card:hover { border-color: oklch(0.62 0.22 25 / 0.4); background: var(--card); }
.skin-card:hover .skin-icon { transform: scale(1.1); }

.skin-thumb {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--background);
}
.skin-icon { width: 48px; height: 48px; transition: transform 0.2s; color: var(--muted-foreground); }
.skin-icon.featured { color: var(--primary); }

.skin-info { margin-top: 0.75rem; padding: 0 2px; }
.skin-name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-sub  { font-size: 0.75rem; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-price { margin-top: 4px; font-size: 0.875rem; font-weight: 700; color: var(--primary); }

/* Alternatives */
.alts-section { margin-top: 2.5rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-title { font-size: 1.125rem; font-weight: 600; }
.see-all { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s; }
.see-all:hover { color: var(--foreground); }

.alts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }

.alt-card {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 12px; border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5); padding: 0.75rem;
}
.alt-thumb {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--background);
}
.alt-thumb svg { width: 20px; height: 20px; color: var(--muted-foreground); }
.alt-info { min-width: 0; }
.alt-name  { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alt-sub   { font-size: 0.75rem; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alt-price { font-size: 0.75rem; font-weight: 600; color: var(--success); }

/* Footer CTA */
.footer-cta { margin-top: 2.5rem; display: flex; justify-content: flex-end; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 8px; background: var(--gradient-primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: opacity 0.15s;
}
.btn-cta:hover { opacity: 0.9; }
.btn-cta svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════════
   LANDING PAGE (index.html)
   ══════════════════════════════════════════════════════════════════ */

/* Site header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: oklch(0.14 0.012 270 / 0.7);
  backdrop-filter: blur(20px);
}
.site-header .inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 3rem;
}
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s; }
.header-nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .link-enter { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s; }
.header-actions .link-enter:hover { color: var(--foreground); }
.btn-hero-cta {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 8px; background: var(--gradient-primary);
  padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: opacity 0.15s;
}
.btn-hero-cta:hover { opacity: 0.9; }
.btn-hero-cta svg { width: 14px; height: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .inner {
  max-width: 1400px; margin: 0 auto;
  padding: 6rem 3rem 7rem;
}
.hero-center { max-width: 960px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem; color: var(--muted-foreground);
  backdrop-filter: blur(4px);
  margin-bottom: 2rem;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--primary); }

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
}

.hero-center > p {
  max-width: 560px; margin: 1.75rem auto 0;
  font-size: 1.2rem; color: var(--muted-foreground); line-height: 1.6;
}

.hero-btns {
  margin-top: 2.75rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.875rem;
}

.btn-hero-main {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 10px; background: var(--gradient-primary);
  padding: 0.875rem 2rem;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s;
}
.btn-hero-main:hover { transform: scale(1.02); }
.btn-hero-main svg { width: 17px; height: 17px; }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 0.875rem 2rem;
  font-size: 1.0625rem; font-weight: 500;
  backdrop-filter: blur(4px);
  transition: background 0.15s;
}
.btn-hero-outline:hover { background: var(--card); }

/* Prompt mockup */
.prompt-mockup {
  max-width: 740px; margin: 3.5rem auto 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.6);
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}
.prompt-mockup-inner {
  display: flex; align-items: center; gap: 0.875rem;
  border-radius: 14px;
  background: oklch(0.14 0.012 270 / 0.6);
  padding: 1rem 1.25rem;
}
.prompt-mockup-inner svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.prompt-mockup-inner p { flex: 1; text-align: left; font-size: 0.9375rem; color: var(--muted-foreground); margin: 0; }
.mockup-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 0.9375rem; color: var(--foreground); font-family: inherit;
}
.mockup-input::placeholder { color: var(--muted-foreground); }
.btn-mockup-gerar {
  border-radius: 8px;
  background: var(--gradient-primary);
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--primary-foreground);
  white-space: nowrap;
}

/* Hero image */
.hero-image-wrap {
  position: relative; max-width: 1340px; margin: 5rem auto 0;
}
.hero-image-glow {
  position: absolute; inset: -1rem;
  border-radius: 24px;
  background: var(--gradient-primary);
  opacity: 0.3; filter: blur(64px);
}
.hero-image-frame {
  position: relative;
  overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-image-frame img { width: 100%; height: auto; }
.hero-image-overlay {
  pointer-events: none;
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  height: 460px;
  background-color: oklch(0.08 0.012 270);
  overflow: hidden;
}
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.06 0.012 270 / 0.82) 0%,
    oklch(0.06 0.012 270 / 0.15) 45%,
    transparent 100%
  );
}
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2.25rem;
  z-index: 1;
}
.slide-step {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-family: "Space Grotesk", sans-serif;
}
.slide-caption h3 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: 0.35rem;
  color: var(--foreground);
}
.slide-caption p { font-size: 0.9rem; color: var(--muted-foreground); margin: 0; }
.carousel-dots {
  position: absolute; bottom: 1rem; right: 1.25rem;
  display: flex; gap: 6px; z-index: 2;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: oklch(0.9 0 0 / 0.35);
  transition: background 0.2s, width 0.2s;
  padding: 0;
}
.dot.active { background: var(--primary); width: 20px; }

/* Language selector */
.lang-selector { position: relative; display: inline-flex; align-items: center; }
.lang-selector::after {
  content: '';
  position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted-foreground);
  pointer-events: none;
}
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: oklch(0.18 0.014 270 / 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.38rem 1.75rem 0.38rem 0.6rem;
  cursor: pointer;
  transition: border-color 0.15s;
  outline: none;
}
.lang-select:hover, .lang-select:focus { border-color: var(--primary); }
.lang-select option { background: oklch(0.18 0.014 270); color: var(--foreground); }

/* Features */
.features { border-top: 1px solid var(--border); padding: 7rem 3rem; }
.features .inner { max-width: 1400px; margin: 0 auto; }
.section-center { max-width: 800px; margin: 0 auto; text-align: center; }
.section-center h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 700; }
.section-center p { margin-top: 1rem; color: var(--muted-foreground); }

.features-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}

.feature-card {
  position: relative; overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 2.25rem 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, oklch(0.62 0.22 25 / 0.07), transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: oklch(0.62 0.22 25 / 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -8px oklch(0.62 0.22 25 / 0.2);
}

.feature-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: oklch(0.62 0.22 25 / 0.12);
  color: var(--primary); margin-bottom: 1.5rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--foreground); }
.feature-card p  { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-foreground); }

/* How it works */
.how-it-works { border-top: 1px solid var(--border); padding: 7rem 3rem; }
.how-it-works .inner { max-width: 1400px; margin: 0 auto; }

.steps-grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.step-card {
  position: relative; overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 2.25rem 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.step-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, oklch(0.62 0.22 25 / 0.08), transparent 60%);
  pointer-events: none;
}
.step-card:hover {
  border-color: oklch(0.62 0.22 25 / 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -8px oklch(0.62 0.22 25 / 0.2);
}
.step-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.5rem; font-weight: 700; line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: 0.55;
}
.step-card:hover .step-number { opacity: 0.85; }
.step-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem; font-weight: 700;
  color: var(--foreground);
}
.step-card p  {
  margin-top: 0.625rem;
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--muted-foreground);
}

/* Pricing */
.pricing { border-top: 1px solid var(--border); padding: 7rem 3rem; }
.pricing .inner { max-width: 1400px; margin: 0 auto; }

.plans-grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.plan-card {
  position: relative;
  border-radius: 16px; border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 2rem;
}
.plan-card.featured { border-color: var(--primary); background: var(--card); box-shadow: var(--shadow-glow); }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  border-radius: 9999px; background: var(--gradient-primary);
  padding: 4px 12px;
  font-size: 0.75rem; font-weight: 600; color: var(--primary-foreground);
  white-space: nowrap;
}

.plan-name { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 700; }

.plan-price {
  margin-top: 1rem;
  display: flex; align-items: baseline; gap: 4px;
}
.plan-price .amount { font-family: "Space Grotesk", sans-serif; font-size: 3rem; font-weight: 700; }
.plan-price .period { font-size: 0.875rem; color: var(--muted-foreground); }

.plan-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.plan-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem;
}
.plan-feature svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan-feature.plan-feature-no { color: var(--muted-foreground); opacity: 0.55; }
.plan-feature.plan-feature-no svg { color: var(--muted-foreground); }

.btn-plan {
  display: block; margin-top: 2rem;
  border-radius: 8px; padding: 0.625rem 1rem;
  text-align: center; font-size: 0.875rem; font-weight: 600;
  transition: opacity 0.15s, background 0.15s;
}
.btn-plan.primary { background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.btn-plan.primary:hover { opacity: 0.9; }
.btn-plan.outline { border: 1px solid var(--border); background: var(--background); }
.btn-plan.outline:hover { background: var(--card); }

/* CTA banner */
.cta-section { border-top: 1px solid var(--border); padding: 7rem 3rem; }
.cta-section .inner { max-width: 896px; margin: 0 auto; }

.cta-box {
  position: relative; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--border);
  background: var(--card);
  padding: 3rem; text-align: center;
  box-shadow: var(--shadow-card);
}
.cta-box-glow {
  position: absolute; inset: 0; opacity: 0.5;
  background: var(--gradient-radial);
  pointer-events: none;
}
.cta-box-content { position: relative; }
.cta-box h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; }
.cta-box p  { max-width: 448px; margin: 1rem auto 0; color: var(--muted-foreground); }

.btn-cta-main {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 2rem;
  border-radius: 8px; background: var(--gradient-primary);
  padding: 0.75rem 1.5rem;
  font-size: 1rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s;
}
.btn-cta-main:hover { transform: scale(1.02); }
.btn-cta-main svg { width: 16px; height: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 3rem; }
.site-footer .inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground);
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo-icon {
  width: 24px; height: 24px; border-radius: 4px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem; font-weight: 700; color: var(--primary-foreground);
  font-family: "Space Grotesk", sans-serif;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--foreground); transition: color 0.15s; }

/* ══════════════════════════════════════════════════════════════════
   AUTH MODAL
   ══════════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(0 0 0 / 0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  position: relative;
  width: 100%; max-width: 400px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  box-shadow: 0 24px 80px -12px oklch(0 0 0 / 0.6);
  animation: modal-in 0.18s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--muted); color: var(--foreground); }
.modal-close svg { width: 14px; height: 14px; }

.modal-header { text-align: center; margin-bottom: 1.5rem; }
.modal-header .logo { justify-content: center; margin-bottom: 1.25rem; }
.modal-header h2 { font-size: 1.375rem; font-weight: 700; }
.modal-header p  { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }

.btn-steam {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  width: 100%;
  border-radius: 10px;
  background: oklch(0.22 0.012 270);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--foreground);
  transition: background 0.15s, border-color 0.15s;
}
.btn-steam:hover {
  background: oklch(0.26 0.012 270);
  border-color: oklch(0.36 0.012 270);
}
.btn-steam svg { width: 20px; height: 20px; flex-shrink: 0; }

.modal-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.25rem 0;
  font-size: 0.8125rem; color: var(--muted-foreground);
}
.modal-divider::before,
.modal-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.modal-tabs {
  display: flex;
  border-radius: 8px;
  background: var(--secondary);
  padding: 3px; gap: 2px;
  margin-bottom: 1.25rem;
}
.tab-btn {
  flex: 1; border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
}
.tab-btn.active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 1px 4px oklch(0 0 0 / 0.3);
}

.auth-form { display: flex; flex-direction: column; gap: 0.875rem; }
.auth-form[hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--muted-foreground); }
.field input {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: oklch(0.16 0.012 270);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem; color: var(--foreground); font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.62 0.22 25 / 0.15);
}
.field input::placeholder { color: oklch(0.45 0.01 270); }

.form-error {
  border-radius: 8px;
  background: oklch(0.55 0.2 15 / 0.12);
  border: 1px solid oklch(0.55 0.2 15 / 0.25);
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem; color: oklch(0.8 0.15 20);
  line-height: 1.4;
}
.form-error[hidden] { display: none; }

.btn-auth-submit {
  margin-top: 0.25rem;
  border-radius: 8px;
  background: var(--gradient-primary);
  padding: 0.75rem;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: opacity 0.15s;
  width: 100%;
}
.btn-auth-submit:hover:not(:disabled) { opacity: 0.9; }
.btn-auth-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════════════
   LOADING CARD
   ══════════════════════════════════════════════════════════════════ */

.loading-card {
  margin: 2.5rem auto;
  max-width: 380px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.7);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.loading-orb {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 32px oklch(0.62 0.22 25 / 0.5);
  margin: 0 auto 1.5rem;
  animation: orb-pulse 1.8s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 24px oklch(0.62 0.22 25 / 0.4); }
  50%       { transform: scale(1.12); box-shadow: 0 0 56px oklch(0.62 0.22 25 / 0.7); }
}

.loading-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.0625rem; font-weight: 700;
  margin-bottom: 0.375rem;
}

.loading-status {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  min-height: 1.2em;
  transition: opacity 0.25s;
}

.loading-progress-track {
  height: 4px; border-radius: 99px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.loading-progress-fill {
  height: 100%; border-radius: 99px;
  background: var(--gradient-primary);
  width: 0%;
}

.loading-phases {
  display: flex; align-items: flex-start; justify-content: center;
}

.lp {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.6875rem; color: var(--muted-foreground);
  transition: color 0.3s;
  width: 56px;
}
.lp.active { color: var(--foreground); }
.lp.done   { color: var(--success); }

.lp-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.lp.active .lp-dot { background: var(--primary); box-shadow: 0 0 10px oklch(0.62 0.22 25 / 0.6); }
.lp.done   .lp-dot { background: var(--success); }

.lp-line {
  width: 36px; height: 1px;
  background: var(--border);
  margin-top: 5px; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CONTEXT CHIP
   ══════════════════════════════════════════════════════════════════ */

.context-chip {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.625rem;
  padding: 0.3rem 0.625rem 0.3rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.62 0.22 25 / 0.35);
  background: oklch(0.62 0.22 25 / 0.1);
  max-width: fit-content;
}

.combo-description { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1rem; }

/* ══════════════════════════════════════════════════════════════════
   COMMAND BOX
   ══════════════════════════════════════════════════════════════════ */

.equip-section--cmd {
  background: oklch(0.16 0.012 270);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.equip-cmd-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.equip-cmd-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.equip-cmd-text {
  flex: 1;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
  word-break: break-all;
}
.btn-equip-copy {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-equip-copy:hover { opacity: 0.85; }
.equip-cmd-hint {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.equip-cmd-hint kbd {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--secondary);
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--foreground);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════
   MAP SERVER CARDS
   ══════════════════════════════════════════════════════════════════ */

.map-servers-section {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}
.map-servers-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.map-servers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .map-servers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .map-servers-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}

.map-server-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 88px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: oklch(0.20 0.014 270);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.map-server-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px -8px oklch(0.62 0.22 25 / 0.45);
  border-color: var(--primary);
}
.map-server-card:active { transform: scale(0.98); }

.map-server-card[data-map="nuke"]    { background: linear-gradient(135deg, oklch(0.22 0.01 250), oklch(0.32 0.02 250)); }
.map-server-card[data-map="dust2"]   { background: linear-gradient(135deg, oklch(0.38 0.06 70),  oklch(0.28 0.04 60));  }
.map-server-card[data-map="mirage"]  { background: linear-gradient(135deg, oklch(0.55 0.12 55),  oklch(0.40 0.10 260)); }
.map-server-card[data-map="inferno"] { background: linear-gradient(135deg, oklch(0.50 0.15 30),  oklch(0.35 0.12 20));  }

.map-server-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.18s ease;
}
.map-server-card:hover .map-server-bg { opacity: 0.75; }

.map-server-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.10 0.01 270 / 0.95) 0%,
    oklch(0.10 0.01 270 / 0.35) 55%,
    transparent 100%
  );
}

.map-server-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.75rem 0.5rem 0.6rem;
}

.map-server-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: oklch(0.62 0.22 25 / 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 3px 10px oklch(0.62 0.22 25 / 0.5);
}
.map-server-card:hover .map-server-play {
  background: oklch(0.62 0.22 25);
  transform: scale(1.12);
}
.map-server-play svg {
  width: 10px;
  height: 10px;
  color: #fff;
  margin-left: 2px;
}

.map-server-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px oklch(0 0 0 / 0.7);
}
.map-server-tag {
  font-size: 0.58rem;
  color: oklch(0.75 0.01 270);
  font-family: monospace;
  text-shadow: 0 1px 3px oklch(0 0 0 / 0.8);
}

/* ── Free upsell ─────────────────────────────── */
.combo-free-upsell {
  background: oklch(0.17 0.014 270);
  border: 1px solid oklch(0.62 0.22 25 / 0.3);
  border-radius: 12px;
  padding: 1.1rem 1.25rem 1.25rem;
  margin-bottom: 1.5rem;
}
.cfu-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.875rem;
}
.cfu-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
  margin-bottom: 1rem;
}
@media (max-width: 500px) { .cfu-features { grid-template-columns: 1fr; } }
.cfu-feat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.btn-cfu-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
  box-shadow: 0 4px 14px oklch(0.62 0.22 25 / 0.3);
}
.btn-cfu-upgrade:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Locked price ─────────────────────────────── */
.skin-price-locked {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 4px;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  border: 1px dashed oklch(0.62 0.22 25 / 0.5);
  background: oklch(0.62 0.22 25 / 0.08);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.skin-price-locked:hover {
  background: oklch(0.62 0.22 25 / 0.18);
  color: var(--primary);
}

/* ══════════════════════════════════════════════════════════════════
   COMBO ERROR CARD
   ══════════════════════════════════════════════════════════════════ */

.combo-error-card {
  display: flex; align-items: flex-start; gap: 0.625rem;
  padding: 0.875rem 1.25rem; border-radius: 10px;
  background: oklch(0.55 0.2 15 / 0.1);
  border: 1px solid oklch(0.55 0.2 15 / 0.25);
  color: oklch(0.8 0.15 20);
  margin-bottom: 1rem; font-size: 0.875rem;
}

/* ══════════════════════════════════════════════════════════════════
   NAV PRO LOCKING
   ══════════════════════════════════════════════════════════════════ */

.nav-item-locked { opacity: 0.75; }
.nav-item-locked:hover { background: transparent !important; color: var(--muted-foreground) !important; cursor: not-allowed; }

.nav-pro-badge {
  margin-left: auto;
  font-size: 0.5625rem; font-weight: 700;
  padding: 2px 5px; border-radius: 4px;
  background: oklch(0.62 0.22 25 / 0.18);
  color: var(--primary);
  border: 1px solid oklch(0.62 0.22 25 / 0.3);
}

/* ══════════════════════════════════════════════════════════════════
   SUMMARY CARD STATES
   ══════════════════════════════════════════════════════════════════ */

.summary-empty {
  margin-top: 0.875rem;
  font-size: 0.8125rem; color: var(--muted-foreground);
  text-align: center; line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   SAVE BUTTON
   ══════════════════════════════════════════════════════════════════ */

.btn-save-combo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.8);
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--foreground);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-save-combo:hover { background: var(--card); border-color: oklch(0.62 0.22 25 / 0.4); color: var(--primary); }
.btn-save-combo.saved { border-color: var(--success); color: var(--success); background: oklch(0.72 0.18 150 / 0.1); }
.btn-save-combo:disabled { opacity: 0.6; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════════════
   SAVED COMBOS TAB
   ══════════════════════════════════════════════════════════════════ */

.saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.saved-combo-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.014 270 / 0.5);
  padding: 1.125rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.saved-combo-card:hover { border-color: oklch(0.62 0.22 25 / 0.4); background: var(--card); transform: translateY(-2px); }

.saved-card-thumbs { display: flex; gap: 0.375rem; margin-bottom: 0.75rem; }

.saved-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--background); overflow: hidden; flex-shrink: 0;
}
.saved-thumb img { width: 100%; height: 100%; object-fit: contain; }

.saved-thumb-more {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--muted-foreground); font-weight: 600;
}

.saved-card-desc {
  font-size: 0.875rem; font-weight: 600; color: var(--foreground);
  margin-bottom: 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.saved-card-meta { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.875rem; }

.saved-card-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn-saved-copy {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  border-radius: 6px; border: 1px solid var(--border);
  background: var(--secondary); padding: 0.4rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--foreground);
  transition: background 0.15s;
}
.btn-saved-copy:hover { background: var(--card); }

.btn-saved-delete {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted-foreground);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.btn-saved-delete:hover { background: oklch(0.55 0.2 15 / 0.12); border-color: oklch(0.55 0.2 15 / 0.3); color: oklch(0.78 0.16 20); }

/* ══════════════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 300;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}

.toast {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 8px 30px -4px oklch(0 0 0 / 0.5);
  animation: toast-in 0.2s ease;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: auto;
}
.toast-success { border-color: oklch(0.72 0.18 150 / 0.4); color: var(--success); }
.toast-error   { border-color: oklch(0.55 0.2 15 / 0.4);  color: oklch(0.8 0.15 20); }
.toast-fade    { opacity: 0; transform: translateY(4px); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════
   COMBO DETAIL MODAL
   ══════════════════════════════════════════════════════════════════ */

.combo-modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: oklch(0 0 0 / 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: modal-fade-in 0.2s ease;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.combo-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%; max-width: 700px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px -16px oklch(0 0 0 / 0.75);
  animation: modal-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.combo-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.combo-modal-title {
  font-size: 1.0625rem; font-weight: 700; line-height: 1.4;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.combo-modal-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--muted); color: var(--muted-foreground);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; line-height: 1; flex-shrink: 0; margin-top: 1px;
  transition: background 0.15s, color 0.15s;
}
.combo-modal-close:hover { background: var(--secondary); color: var(--foreground); }

.combo-modal-meta {
  padding: 0.4rem 1.5rem 1.125rem;
  font-size: 0.8125rem; color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.combo-modal-skins {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.combo-modal-skin {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.combo-modal-skin:hover { border-color: oklch(0.62 0.22 25 / 0.35); transform: translateY(-2px); }

.combo-modal-skin-img {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.11 0.01 270); overflow: hidden;
}
.combo-modal-skin-img img { width: 100%; height: 100%; object-fit: contain; }

.combo-modal-skin-info { padding: 0.625rem 0.75rem; }

.combo-modal-skin-name {
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.combo-modal-skin-rarity { font-size: 0.6875rem; font-weight: 600; margin-bottom: 0.25rem; }

.combo-modal-skin-price { font-size: 0.75rem; color: var(--muted-foreground); }

.combo-modal-footer {
  padding: 1rem 1.5rem 1.375rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.625rem;
}

.btn-modal-copy {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--secondary); padding: 0.5625rem 0.875rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--foreground);
  transition: background 0.15s;
}
.btn-modal-copy:hover { background: var(--muted); }

.btn-modal-delete {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  border-radius: 8px; padding: 0.5625rem 0.875rem;
  font-size: 0.8125rem; font-weight: 600;
  color: oklch(0.78 0.16 20);
  background: oklch(0.55 0.2 15 / 0.08);
  border: 1px solid oklch(0.55 0.2 15 / 0.22);
  transition: background 0.15s, border-color 0.15s;
}
.btn-modal-delete:hover { background: oklch(0.55 0.2 15 / 0.18); border-color: oklch(0.55 0.2 15 / 0.4); }

/* ══════════════════════════════════════════════════════════════════
   BILLING PAGE
   ══════════════════════════════════════════════════════════════════ */

.billing-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.billing-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 2rem;
  border-bottom: 1px solid var(--border);
  background: oklch(0.16 0.013 270 / 0.95);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
}

.billing-topbar-right { display: flex; align-items: center; gap: 1rem; }

.billing-main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.billing-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.billing-heading h1 {
  font-size: 2rem; font-weight: 700;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.billing-heading p { color: var(--muted-foreground); font-size: 1.0625rem; }

.billing-banner {
  border-radius: 12px; border: 1px solid;
  padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.billing-banner-success {
  background: oklch(0.72 0.18 150 / 0.1);
  border-color: oklch(0.72 0.18 150 / 0.3);
  color: var(--success);
}
.billing-banner-info {
  background: oklch(0.55 0.015 270 / 0.15);
  border-color: var(--border);
  color: var(--muted-foreground);
}

/* ── Plan cards ──────────────────────────────────────────────── */

.billing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 620px) {
  .billing-plans { grid-template-columns: 1fr; }
}

.billing-plan-card {
  position: relative;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s;
}

.billing-plan-active { border-color: oklch(0.62 0.22 25 / 0.55); }

.billing-plan-pro { background: oklch(0.185 0.016 270); }

.billing-plan-pro-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% -25%, oklch(0.62 0.22 25 / 0.13), transparent);
}

.billing-plan-badge {
  position: absolute; top: 1.125rem; right: 1.125rem;
  border-radius: 999px; padding: 0.2rem 0.6rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--muted); color: var(--muted-foreground);
}
.billing-plan-badge-pro {
  background: var(--gradient-primary); color: white;
  box-shadow: 0 2px 12px -2px oklch(0.62 0.22 25 / 0.5);
}
.billing-plan-badge-rec {
  background: oklch(0.62 0.22 25 / 0.15);
  border: 1px solid oklch(0.62 0.22 25 / 0.35);
  color: var(--primary);
}

.billing-plan-header { margin-bottom: 1.5rem; }

.billing-plan-name {
  font-size: 1.1875rem; font-weight: 700;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.billing-plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.375rem; }
.billing-price-amount { font-size: 2.375rem; font-weight: 700; letter-spacing: -0.04em; }
.billing-price-period { font-size: 0.9375rem; color: var(--muted-foreground); }
.billing-plan-sub { font-size: 0.8125rem; color: var(--muted-foreground); }

/* ── Feature list ─────────────────────────────────────────────── */

.billing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.6875rem;
  margin-bottom: 1.875rem;
  flex: 1;
}

.bf-ok, .bf-no {
  font-size: 0.875rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.bf-ok svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--success); }
.bf-no     { color: var(--muted-foreground); }
.bf-no svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.4; }

/* ── Plan buttons ─────────────────────────────────────────────── */

.billing-plan-footer { margin-top: auto; }

.btn-plan-upgrade {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--gradient-primary);
  color: white; font-weight: 700; font-size: 0.9375rem;
  padding: 0.8125rem 1rem; border-radius: 12px;
  box-shadow: 0 6px 24px -6px oklch(0.62 0.22 25 / 0.55);
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-plan-upgrade:hover:not(:disabled) {
  opacity: 0.92; transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px oklch(0.62 0.22 25 / 0.65);
}
.btn-plan-upgrade:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.btn-plan-current {
  width: 100%;
  background: var(--muted); color: var(--muted-foreground);
  font-weight: 600; font-size: 0.9375rem;
  padding: 0.8125rem 1rem; border-radius: 12px;
  cursor: not-allowed;
}

.btn-plan-manage {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--foreground); font-weight: 600; font-size: 0.9375rem;
  padding: 0.8125rem 1rem; border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.btn-plan-manage:hover:not(:disabled) {
  border-color: oklch(0.62 0.22 25 / 0.5);
  background: oklch(0.62 0.22 25 / 0.07);
}

/* ── Payment section ──────────────────────────────────────────── */

.billing-payment-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.billing-payment-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.125rem;
}
.billing-payment-header h3 {
  font-size: 1rem; font-weight: 700;
}

.billing-payment-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--background); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.125rem;
}

.payment-card-icon {
  width: 52px; height: 34px; border-radius: 6px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden; padding: 4px;
}

.payment-card-info { flex: 1; }
.payment-card-info p:first-child { font-size: 0.9375rem; font-weight: 600; }
.payment-card-info p:last-child  { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.2rem; }

/* ── Stripe note ──────────────────────────────────────────────── */

.billing-stripe-note {
  text-align: center; font-size: 0.8125rem; color: var(--muted-foreground);
  display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  margin-top: 0.5rem;
}
