/* ============================================================
   flk-premium.css — final refinement layer (loads LAST, wins cascade)
   Same black/indigo world, quieter light: torii red leads, jade is
   success-only, glow becomes depth. Lacquer, not neon.
   ============================================================ */

/* ── 1. TOKEN RETUNE ──────────────────────────────────────── */
:root {
  --mint:      #35d9b0;   /* jade — success only, was acid #00f5d4 */
  --green:     #35d9b0;
  --sakura:    #f2688a;   /* one step deeper than candy pink */
  --glow-red:    0 10px 28px rgba(0, 0, 0, 0.45);
  --glow-mint:   0 10px 28px rgba(0, 0, 0, 0.45);
  --glow-sakura: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* ── 2. SEIGAIHA SIGNATURE — one ink, not three neons ─────── */
body::before {
  background-image:
    radial-gradient(circle at 50% 110%, transparent 36%, color-mix(in srgb, var(--text) 50%, transparent) 37%, transparent 40%),
    radial-gradient(circle at 0% 110%,  transparent 36%, color-mix(in srgb, var(--text) 35%, transparent) 37%, transparent 40%),
    radial-gradient(circle at 100% 110%, transparent 36%, color-mix(in srgb, var(--text) 35%, transparent) 37%, transparent 40%);
  opacity: 0.04;
}
html.flk-dark body:not(.flk-home)::before { opacity: 0.045; }

/* Scrollbar: neutral, not pink */
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 16%, transparent); }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text) 28%, transparent); }

/* ── 3. TYPE — Space Grotesk now actually loads; tighten display ── */
h1, h2, h3,
.hero-title, .page-title, .section-title, .cta-title-large {
  letter-spacing: -0.02em;
}
body.flk-home .section-title,
body.flk-home .section-eyebrow,
body.flk-home .path-step-title,
body.flk-home .magnet-pillar h3,
body.flk-home .tool-title,
body.flk-home #cta-section .btn-hero-primary,
body.flk-home .path-hub-cta a {
  font-family: 'Space Grotesk', 'Nunito', sans-serif;
}
.page-eyebrow, .section-eyebrow {
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* Headline: solid lacquer red — no animated 4-stop gradient */
body.flk-home #hero .hero-hl {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: var(--red);
  animation: none;
  filter: none;
}
.hero-title-accent {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: var(--red);
  animation: none;
}
body.flk-home #cta-section .section-title {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: var(--text, #1e1613);
}

/* ── 4. HOVER DISCIPLINE — lift + depth instead of scale + glow ──
   Same selector lists as flk-theme.css §6 so this file wins. */
.btn-red:hover, .btn-hero-primary:hover, .quiz-btn-primary:hover:not(:disabled),
.kana-quiz-btn:hover, .pricing-btn:hover, .login-btn:hover, .lg-btn:hover,
.course-btn:hover, .trace-done-btn:hover:not(:disabled), .btn-trace-open:hover,
.mark-learned-btn:not(.locked):not(:disabled):hover, .kc-next-btn:hover,
.btn-nav-red:hover, .fljr-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(120, 103, 93, 0.25) !important;
}
.btn-ghost:hover, .btn-hero-ghost:hover, .sen-btn:hover, .match-new-btn:hover,
.wp-btn:hover, .lg-btn-ghost:hover, .trace-tool:hover, .kana-tab:hover,
.level-btn:hover, .cat-btn:hover, .lg-tab:hover, .kg-hint-btn:hover,
.struct-nav-btn:hover, .btn-nav-ghost:hover, .nav-login-btn:hover {
  transform: translateY(-1px);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(120, 103, 93, 0.25);
}

/* Primary actions catch light on the top edge, like lacquerware */
.btn-primary, .btn-red, .btn-hero-primary, .pricing-btn, .login-btn,
.quiz-btn-primary, .course-btn, .btn-nav-red {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text) 25%, transparent), 0 6px 18px rgba(217, 56, 72, 0.3);
}

/* Cards: hairline top light + deep soft shadow, no colored halo */
.pricing-card, .stat-card, .skill-card, .lesson-card, .content-card,
.struct-card, .kana-game-card, .lg-panel, .quiz-wrap, .login-box,
.day-vocab-card, .course-section, .fljr-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 40px rgba(120, 103, 93, 0.1);
}

/* Stat numbers: readable dark ink in light mode */
html.flk-dark .hub-stat-num, html.flk-dark .hero-stat-num {
  color: #f4f6ff !important;
}

/* ── 5. QUIET THE FLOATING BADGES ─────────────────────────── */
@keyframes flk-dark-kbadge-bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

/* Audio button: red family, no pink glow */
.flk-say:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(120, 103, 93, 0.25);
}

/* Focus ring stays visible */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline-color: var(--mint);
}

@media (prefers-reduced-motion: reduce) {
  .btn-red:hover, .btn-hero-primary:hover, .btn-primary:hover {
    transform: none !important;
  }
}

/* ── 6. HOME HERO — eyebrow + Day 1 lesson card ───────────── */
/* Copy column: no tri-color spine, no glow */
body.flk-home #hero .hero-copy { padding-left: 0; }
body.flk-home #hero .hero-copy::before { display: none; }

/* Bigger claim now that the column is quiet */
body.flk-home #hero .hero-title {
  font-size: clamp(2.3rem, 6.5vh, 4.1rem);
}

/* Stat pills: one hairline, not four glowing color bars */
body.flk-home #hero .hero-stat-pill::before,
body.flk-home #hero .hero-stat-pill[data-stat]::before {
  background: rgba(120, 103, 93, 0.2) !important;
  box-shadow: none !important;
}

/* Ambient red glow: presence, not a smear */
body.flk-home #hero .hero-glow-1 { opacity: 0.15; }

/* One-a-Day method: six glyph chips, the day's actual shape */
body.flk-home .method-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
}
body.flk-home .method-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 9px;
  border-radius: 100px;
  border: 1px solid rgba(120, 103, 93, 0.18);
  background: rgba(250, 239, 226, 0.9);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2b211d;
}
body.flk-home .method-glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(217, 56, 72, 0.14);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}
body.flk-home .method-tally {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  padding-left: 4px;
  white-space: nowrap;
}
body.flk-home .hero-right { display: flex; justify-content: center; }
body.flk-home #hero .hero-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(120, 103, 93, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 30px 70px rgba(120, 103, 93, 0.15);
}
body.flk-home #hero .hero-img {
  display: block;
  border-radius: inherit;
}

/* ── 7. SITE-WIDE HIGH-CONTRAST LIGHT TEXT OVERRIDE LAYER ────── */
html:not(.flk-dark) {
  color: #2b211d !important;
}

html:not(.flk-dark) h1,
html:not(.flk-dark) h2,
html:not(.flk-dark) h3,
html:not(.flk-dark) h4,
html:not(.flk-dark) h5,
html:not(.flk-dark) h6,
html:not(.flk-dark) .hero-title,
html:not(.flk-dark) .section-title,
html:not(.flk-dark) .page-title,
html:not(.flk-dark) .card-title,
html:not(.flk-dark) .hero-brand-text,
html:not(.flk-dark) .nav-logo-text,
html:not(.flk-dark) .stat-title,
html:not(.flk-dark) .tool-title,
html:not(.flk-dark) .path-step-title {
  color: #1e1613 !important;
}

html:not(.flk-dark) p,
html:not(.flk-dark) .hero-subtitle,
html:not(.flk-dark) .section-sub,
html:not(.flk-dark) .page-sub,
html:not(.flk-dark) .card-desc,
html:not(.flk-dark) .hero-stat-lbl,
html:not(.flk-dark) .stat-lbl,
html:not(.flk-dark) .hub-stat-lbl,
html:not(.flk-dark) .tool-desc,
html:not(.flk-dark) .path-step-desc {
  color: #4a3c35 !important;
}

html:not(.flk-dark) .method-item,
html:not(.flk-dark) .hero-method-chip,
html:not(.flk-dark) .hero-quick-track-text,
html:not(.flk-dark) .hero-quick-track-label {
  color: #2b211d !important;
}

html:not(.flk-dark) .nav-links > a,
html:not(.flk-dark) .nav-drop-trigger,
html:not(.flk-dark) .nav-drop-title {
  color: #3d2e27 !important;
}

html:not(.flk-dark) .nav-links > a:hover,
html:not(.flk-dark) .nav-drop-trigger:hover {
  color: #d93848 !important;
}

