/* ============================================================
   flj-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%, rgba(244, 246, 255, 0.5) 37%, transparent 40%),
    radial-gradient(circle at 0% 110%,  transparent 36%, rgba(244, 246, 255, 0.35) 37%, transparent 40%),
    radial-gradient(circle at 100% 110%, transparent 36%, rgba(244, 246, 255, 0.35) 37%, transparent 40%);
  opacity: 0.04;
}
html.flj-dark body:not(.flj-home)::before { opacity: 0.045; }

/* Scrollbar: neutral, not pink */
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.28); }

/* ── 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.flj-home .section-title,
body.flj-home .section-eyebrow,
body.flj-home .path-step-title,
body.flj-home .magnet-pillar h3,
body.flj-home .tool-title,
body.flj-home #cta-section .btn-hero-primary,
body.flj-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.flj-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.flj-home #cta-section .section-title {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: #fff;
}

/* ── 4. HOVER DISCIPLINE — lift + depth instead of scale + glow ──
   Same selector lists as flj-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(0, 0, 0, 0.45) !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(0, 0, 0, 0.45);
}

/* 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 rgba(255, 255, 255, 0.16), 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* 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.05), 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Stat numbers: one ink, not a rainbow — outranks every per-stat color */
html.flj-dark .hub-stat-num,
html.flj-dark .hero-stat-num,
html.flj-dark body.flj-home #hero .hero-stat-pill[data-stat] .hub-stat-num,
html.flj-dark body.flj-home #hero .hero-stat-pill[data-stat] .hero-stat-num,
html.flj-dark body.flj-home #hero .hub-stat:nth-child(n) .hub-stat-num,
html.flj-dark body.flj-home #hero .hub-stat:nth-child(n) .hero-stat-num {
  color: #f4f6ff !important;
}

/* ── 5. QUIET THE FLOATING BADGES ─────────────────────────── */
@keyframes flj-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 */
.flj-say:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Focus ring stays visible — jade reads clearly on black */
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.flj-home #hero .hero-copy { padding-left: 0; }
body.flj-home #hero .hero-copy::before { display: none; }

/* Bigger claim now that the column is quiet */
body.flj-home #hero .hero-title {
  font-size: clamp(2.3rem, 6.5vh, 4.1rem);
}

/* Stat pills: one hairline, not four glowing color bars */
body.flj-home #hero .hero-stat-pill::before,
body.flj-home #hero .hero-stat-pill[data-stat]::before {
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

/* Ambient red glow: presence, not a smear */
body.flj-home #hero .hero-glow-1 { opacity: 0.45; }

/* One-a-Day method: six glyph chips, the day's actual shape */
body.flj-home .method-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
}
body.flj-home .method-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 9px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
}
body.flj-home .method-glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.14);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}
body.flj-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.flj-home .hero-right { display: flex; justify-content: center; }
body.flj-home #hero .hero-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55);
}
body.flj-home #hero .hero-img {
  display: block;
  border-radius: inherit;
}

