/* ═══════════════════════════════════════════════════════════════════════
   homepage-landing.css — page-local styles for index.html
   ═══════════════════════════════════════════════════════════════════════
   Consolidated from the 13 ad-hoc inline <style> blocks index.html used to
   carry (~30KB of render-path CSS scattered through <head> and <body>).
   The site has no build step, so this file is loaded with the same
   print-media swap as the other non-critical stylesheets and is linked
   LAST in <head> so the cascade order matches the old in-body position
   (these rules intentionally override components/homepage-sections.css).

   The above-the-fold subset (.hero* / .skip-link) is ALSO emitted into the
   inline #critical-css block by scripts/build_css.py --critical, so first
   paint does not wait for this file.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── moved from index.html inline <style> #1 (was ~line 199) ── */
    /* ── Landing specific ── */
    /* Hero section rules (.hero, .hero-title, .hero-sub, .hero-cta,
       .hero-secondary-link, .hero-guest-cta, etc.) extracted to
       static/css/components/homepage-sections.css — see <link> in <head>. */

    /* Divider line between major page sections */
    .section-divider {
      width: 60px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
      margin: 0 auto var(--space-2xl);
      border: none;
      opacity: 0.5;
    }

    /* ── Race selection ── */
    .race-section {
      padding: var(--space-2xl) var(--space-lg);
      background-color: var(--color-surface);
      background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E"),
        linear-gradient(160deg, rgba(22,20,32,0.98) 0%, rgba(18,18,26,1) 100%);
      background-size: 200px 200px, cover;
      background-repeat: repeat, no-repeat;
    }

    .race-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-xl);
      max-width: 900px;
      margin: 0 auto;
    }

    /* Gender preview toggle — cosmetic only, swaps the portrait art shown
       in the race card art above it. Does not affect the "Choose X" link. */
    .race-gender-toggle { display: inline-flex; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; margin: 0.5rem 0; }
    .race-gender-btn { padding: 0.3rem 0.9rem; background: transparent; border: none; color: var(--color-text-muted); cursor: pointer; font-size: 0.78rem; transition: background 0.15s, color 0.15s; }
    .race-gender-btn.selected { background: var(--color-gold, #c8a84b); color: #14141c; font-weight: 600; }

    /* ── Features ── */
    .features-section {
      padding: var(--space-2xl) var(--space-lg);
      background: var(--color-bg);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-lg);
      max-width: 960px;
      margin: var(--space-xl) auto 0;
    }

    .feature-card {
      display: block;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      text-align: center;
      text-decoration: none;
      color: inherit;
      transition: all var(--transition-base);
    }

    .feature-card:hover {
      border-color: var(--color-accent);
      transform: translateY(-4px);
      box-shadow: var(--shadow-glow-accent);
    }

    .feature-icon { font-size: 40px; display: block; margin-bottom: var(--space-md); }
    .feature-title { font-family: var(--font-gothic); font-size: var(--text-base); margin-bottom: var(--space-sm); }
    .feature-desc  { font-size: var(--text-sm); color: var(--color-text-muted); }

    /* ── Stats counter ── */
    .stats-bar {
      background: var(--color-surface);
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
      padding: var(--space-lg);
      display: flex;
      justify-content: center;
      gap: var(--space-2xl);
    }

    .stat-counter {
      text-align: center;
    }

    .stat-counter-num {
      font-family: var(--font-gothic);
      font-size: var(--text-2xl);
      font-weight: 700;
      color: var(--color-gold);
    }

    .stat-counter-label {
      font-size: var(--text-sm);
      color: var(--color-text-muted);
    }

    /* ── How to Play ── */
    .htp-section {
      padding: var(--space-2xl) var(--space-lg);
      text-align: center;
      position: relative;
    }

    .htp-steps {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 0;
      max-width: 860px;
      margin: var(--space-xl) auto 0;
      position: relative;
    }

    .htp-step {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
      position: relative;
      z-index: 1;
    }

    .htp-num {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 28%, rgba(200,168,75,0.20), var(--color-surface) 70%);
      border: 2px solid var(--color-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-gothic);
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--color-gold);
      position: relative;
      z-index: 2;
      box-shadow: 0 4px 14px rgba(0,0,0,0.35);
      transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    }

    .htp-step.animated .htp-num {
      border-color: var(--color-gold);
      box-shadow: 0 0 18px rgba(200,168,75,0.5), 0 4px 14px rgba(0,0,0,0.35);
      transform: scale(1.06);
    }

    /* Card panel wrapping the icon/title/desc for each step — gives the
       plain text list a proper gothic card treatment (task: "gornishe"
       How to Play visuals) while leaving .htp-num's position untouched
       so the SVG connector (aligned to the circle's center) still lines
       up correctly. */
    .htp-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-xs);
      width: 100%;
      max-width: 170px;
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      padding: var(--space-md) var(--space-sm);
      box-shadow: 0 2px 10px rgba(0,0,0,0.18);
      transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }
    .htp-step.animated .htp-card {
      border-color: rgba(200,168,75,0.45);
      box-shadow: 0 4px 20px rgba(200,168,75,0.16);
      transform: translateY(-2px);
    }
    .htp-icon-badge {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(160deg, rgba(200,168,75,0.16), rgba(200,168,75,0.02));
      border: 1px solid var(--color-border);
    }
    .htp-icon { font-size: 1.4rem; line-height: 1; }
    .htp-title {
      font-family: var(--font-gothic);
      font-size: 0.85rem;
      color: var(--color-text);
      letter-spacing: 0.04em;
      margin-top: var(--space-xs);
    }
    .htp-desc {
      font-size: 0.75rem;
      color: var(--color-text-muted);
      font-family: var(--font-body);
      max-width: 150px;
      line-height: 1.5;
    }
    @media (prefers-reduced-motion: reduce) {
      .htp-num, .htp-card { transition: none; }
      .htp-step.animated .htp-num, .htp-step.animated .htp-card { transform: none; }
    }

    /* SVG connector between steps */
    .htp-svg-connector {
      position: absolute;
      top: 29px;   /* align with center of the circle */
      left: 0;
      width: 100%;
      height: 4px;
      pointer-events: none;
      z-index: 0;
      overflow: visible;
    }

    .htp-path {
      fill: none;
      stroke: var(--color-border);
      stroke-width: 2;
    }

    .htp-path-animated {
      fill: none;
      stroke: var(--color-gold);
      stroke-width: 2;
      stroke-dasharray: 1000;
      stroke-dashoffset: 1000;
      transition: stroke-dashoffset 1.6s ease;
    }

    .htp-svg-connector.drawn .htp-path-animated {
      stroke-dashoffset: 0;
    }

    @media (max-width: 768px) {
      .htp-steps { flex-direction: column; align-items: center; gap: var(--space-lg); }
      .htp-svg-connector { display: none; }
    }

    /* ── FAQ ── */
    .faq-section {
      padding: var(--space-2xl) var(--space-lg);
      max-width: 720px;
      margin: 0 auto;
    }

    .faq-item {
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      margin-bottom: var(--space-sm);
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      background: var(--color-surface);
      border: none;
      padding: var(--space-md) var(--space-lg);
      text-align: left;
      cursor: pointer;
      color: var(--color-text);
      font-family: var(--font-gothic);
      font-size: var(--text-base);
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background var(--transition-fast);
    }

    .faq-question:hover { background: var(--color-surface-2); }

    .faq-arrow { transition: transform var(--transition-fast); }
    .faq-item.open .faq-arrow { transform: rotate(180deg); }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      /* Only max-height animates. Padding used to transition too, but that
         meant vertical padding was still 0px at the exact instant the
         "open" class landed — right when toggleFAQ() reads scrollHeight to
         size the expand — so the measured height excluded ~32px of padding
         that faded in over the next 0.3s, clipping the bottom of every
         answer once the padding transition finished. Making padding change
         instantly keeps scrollHeight correct at read-time. */
      transition: max-height 0.3s ease;
      background: var(--color-surface-2);
      color: var(--color-text-muted);
      padding: 0 var(--space-lg);
      font-size: var(--text-sm);
      line-height: 1.7;
    }

    .faq-item.open .faq-answer {
      /* CSS-only fallback ceiling (JS below sets an exact inline max-height
         from scrollHeight so answers of any length display in full — this
         800px is just a safety net if JS fails, generous enough for the
         longest answers in this FAQ, which run ~4-5 sentences). */
      max-height: 800px;
      padding: var(--space-md) var(--space-lg);
    }

    /* ── Final CTA ── */
    .cta-section {
      padding: var(--space-2xl) var(--space-lg);
      text-align: center;
      background: linear-gradient(180deg,
        var(--color-bg) 0%,
        rgba(139,0,0,0.08) 40%,
        rgba(45,90,39,0.08) 60%,
        var(--color-bg) 100%);
    }

    /* ── Public header ── */
    .pub-header {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--header-height);
      background: rgba(8,8,12,0.92);
      backdrop-filter: blur(16px) saturate(1.4);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      z-index: 200;
      display: flex;
      align-items: center;
      padding: 0 var(--space-xl);
      gap: var(--space-xl);
    }

    .header-logo {
      font-family: var(--font-gothic);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--color-text);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .pub-nav {
      display: flex;
      gap: 4px;
      margin-left: auto;
      align-items: center;
    }
    .pub-nav > a.hide-mobile {
      font-size: 13px;
      font-weight: 500;
      color: var(--color-text-muted);
      text-decoration: none;
      padding: 5px 10px;
      border-radius: 6px;
      transition: color .15s, background .15s;
      letter-spacing: .01em;
    }
    .pub-nav > a.hide-mobile:hover { color: var(--color-text); background: rgba(255,255,255,.06); }
    .pub-nav > a[aria-current="page"] { color: var(--color-text) !important; }
    .pub-nav .btn { margin-left: 4px; }

    /* ── Footer ── */
    .site-footer {
      background: var(--color-surface);
      border-top: 1px solid var(--color-border);
      padding: var(--space-xl) var(--space-lg);
      text-align: center;
    }

    .footer-links {
      display: flex;
      gap: var(--space-lg);
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: var(--space-md);
    }

    .footer-links a { font-size: var(--text-sm); color: var(--color-text-muted); }
    .footer-links a:hover { color: var(--color-accent); }
    .footer-copy { font-size: var(--text-xs); color: var(--color-text-faint); }

    /* ── Top Players table ── */
    .top-players-section { padding: 3rem 1.5rem; text-align: center; }
    .top-players-section h2 { font-family: var(--font-gothic); font-size: var(--fluid-h2); letter-spacing: 0.08em; margin-bottom: 0.4rem; }
    .top-players-section .section-sub { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: 1.5rem; }
    .lb-table { width: 100%; max-width: 680px; margin: 0 auto; border-collapse: collapse; font-size: 0.875rem; }
    .lb-table th { color: var(--color-text-faint); font-weight: 600; padding: 0.4rem 0.5rem; text-align: left; border-bottom: 1px solid var(--color-border); }
    .lb-table td { padding: 0.45rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .lb-table tr:last-child td { border-bottom: none; }
    .lb-table tr.race-vampire td:nth-child(3) { color: #c8506a; }
    .lb-table tr.race-werewolf td:nth-child(3) { color: #6aaa60; }
    .lb-rank { width: 32px; color: var(--color-text-faint); font-size: 0.78rem; }
    .lb-rank-1 { color: #f5d98b; font-weight: 700; }
    .lb-rank-2 { color: #c0c0c0; font-weight: 700; }
    .lb-rank-3 { color: #cd7f32; font-weight: 700; }
    .lb-name a { color: var(--color-text); text-decoration: none; }
    .lb-name a:hover { color: var(--color-gold); }
    .lb-refresh-note { font-size: 0.72rem; color: var(--color-text-faint); margin-top: 0.8rem; }

    @media (max-width: 768px) {
      .race-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .stats-bar { gap: var(--space-lg); }
      .hero-cta { flex-direction: column; align-items: center; }
      .pub-nav .hide-mobile { display: none; }
      .lb-table th:nth-child(4), .lb-table td:nth-child(4) { display: none; }
    }
  

/* ── moved from index.html inline <style> #2 (was ~line 658) ── */
    /* Above-fold CTA visibility guarantee (task 77).
       NOTE: this previously targeted `.hero-section`, a class that doesn't exist
       anywhere in this page's markup (the hero <section> uses class="hero") — the
       rule below silently never applied. Fixed to target the real `.hero` class,
       and paired with a mobile tightening pass so the primary "Become a
       Vampire/Werewolf" buttons are guaranteed inside the first viewport on
       real phones (browser chrome eats ~80-120px of vertical space that
       100dvh/vh alone doesn't account for). */
    .hero { display: flex; flex-direction: column; justify-content: center; }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }

    @media (max-width: 480px) {
      .hero { min-height: 100svh; padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
      .hero-tagline { margin-bottom: var(--space-sm); }
      .hero-title { font-size: clamp(30px, 9vw, 44px); margin-bottom: var(--space-sm); }
      .hero-sub { margin-bottom: var(--space-md); }
      .hero-cta .btn-lg { padding: 0.7rem 1.1rem; font-size: 0.92rem; }
      /* Secondary links (quiz/gallery) and the guest CTA are useful but not the
         primary above-fold ask — compact them so they don't push the real CTA
         buttons down or steal thumb-reach priority right after the buttons. */
      .hero > p:nth-of-type(2),
      .hero > p:nth-of-type(3) { margin-top: var(--space-sm) !important; font-size: 0.78rem !important; }
    }
  

/* ── moved from index.html inline <style> #3 (was ~line 688) ── */
    .skip-link{position:absolute;top:-40px;left:0;padding:.6rem 1rem;background:var(--color-gold);color:#000;font-weight:600;z-index:10000;border-radius:0 0 var(--radius-sm) 0;transition:top var(--dur-fast) var(--ease-out-soft);text-decoration:none;}
    .skip-link:focus{top:0;outline:2px solid var(--color-text);outline-offset:2px;}
  

/* ── moved from index.html inline <style> #4 (was ~line 912) ── */
      .live-state-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1rem;align-items:center;
        padding:.65rem 1rem;margin:0 auto;max-width:var(--max-width);font-size:.875rem;
        color:var(--color-text-muted);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);
        background:linear-gradient(90deg, transparent, rgba(139,0,0,0.04) 50%, transparent);}
      .live-state-strip strong{color:var(--color-text);font-weight:600;font-variant-numeric:tabular-nums;}
      .live-dot{width:8px;height:8px;border-radius:50%;background:var(--color-success);
        box-shadow:0 0 8px var(--color-success);animation:livePulse 2s ease-in-out infinite;}
      .live-sep{opacity:.4;}
      @keyframes livePulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.85);}}
      @media (prefers-reduced-motion: reduce){.live-dot{animation:none;}}
      body[data-event="blood-moon"] .live-state-strip{background:linear-gradient(90deg,transparent,rgba(204,0,0,0.08) 50%,transparent);}
    

/* ── moved from index.html inline <style> #5 (was ~line 967) ── */
      .discord-cta-strip{display:flex;justify-content:center;padding:.6rem 1rem;max-width:var(--max-width);margin:0 auto;}
      .discord-cta-badge{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-body,inherit);font-size:.85rem;
        color:var(--color-text-muted);background:rgba(88,101,242,0.08);border:1px solid rgba(88,101,242,0.3);
        border-radius:999px;padding:.4em .9em;text-decoration:none;transition:background var(--dur-fast,150ms),color var(--dur-fast,150ms);}
      .discord-cta-badge:hover{background:rgba(88,101,242,0.16);color:var(--color-text);}
      .discord-cta-icon{color:#5865F2;flex:0 0 auto;}
    

/* ── moved from index.html inline <style> #6 (was ~line 1192) ── */
        .section-h2{font-family:var(--font-gothic);font-size:var(--fluid-h2);letter-spacing:.06em;text-align:center;margin:0 0 .5rem;color:var(--color-text);}
        .section-sub{text-align:center;color:var(--color-text-muted);font-size:1rem;margin:0 0 2rem;}
        .world-minimap-section{padding:4rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .world-mm-wrap{position:relative;background:linear-gradient(rgba(8,8,10,.82),rgba(8,8,10,.82)),var(--color-surface) url('/static/img/story/worldmap-bg.webp') center/cover;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1rem;box-shadow:var(--elev-2);}
        .world-mm{display:block;width:100%;height:auto;}
        .mm-region{cursor:pointer;transition:filter var(--dur-fast) var(--ease-out-soft);}
        .mm-region:hover,.mm-region:focus{filter:brightness(1.5) drop-shadow(0 0 8px var(--color-gold));}
        .mm-label{font-family:var(--font-gothic);font-size:14px;fill:#e0d5c1;text-anchor:middle;letter-spacing:.04em;pointer-events:none;}
        .mm-info{margin-top:.75rem;padding:.6rem .9rem;background:var(--color-surface-2);border-radius:var(--radius-sm);font-size:.9rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;}
        .mm-info strong{color:var(--color-gold);font-family:var(--font-gothic);letter-spacing:.04em;}
        .mm-info span{color:var(--color-text-muted);}
        .reveal-on-scroll{opacity:0;transform:translateY(20px);transition:opacity .6s var(--ease-out-soft),transform .6s var(--ease-out-soft);}
        .reveal-on-scroll.is-visible{opacity:1;transform:none;}
        @media (prefers-reduced-motion: reduce){.reveal-on-scroll{opacity:1;transform:none;transition:none;}}
      

/* ── moved from index.html inline <style> #7 (was ~line 1689) ── */
        .featured-guides{padding:3rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .fg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;}
        .fg-card{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;background:var(--color-surface);border:1px solid var(--color-border);border-left:3px solid var(--color-gold);border-radius:var(--radius-lg);text-decoration:none;color:var(--color-text);transition:transform var(--dur-base) var(--ease-out-soft),box-shadow var(--dur-base);}
        .fg-card:hover{transform:translateY(-3px);box-shadow:var(--elev-2);border-left-color:var(--color-gold);}
        .fg-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;}
        .fg-badge{padding:.15rem .55rem;border-radius:var(--radius-pill);letter-spacing:.06em;text-transform:uppercase;font-family:var(--font-mono);}
        .fg-badge-beg{background:rgba(76,175,125,.15);color:var(--color-success);}
        .fg-badge-adv{background:rgba(168,85,247,.15);color:var(--color-epic);}
        .fg-badge-end{background:rgba(249,115,22,.15);color:var(--color-legendary);}
        .fg-time{color:var(--color-text-muted);font-variant-numeric:tabular-nums;}
        .fg-card h3{font-family:var(--font-gothic);font-size:var(--fluid-h3);letter-spacing:.04em;margin:.2rem 0;color:var(--color-text);}
        .fg-card p{font-size:.9rem;line-height:1.5;color:var(--color-text-muted);margin:0;}
        .fg-cta{margin-top:auto;padding-top:.5rem;font-size:.85rem;color:var(--color-gold);border-top:1px dashed var(--color-border);}
      

/* ── moved from index.html inline <style> #8 (was ~line 1841) ── */
        .guides-hub-section{padding:3rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .guides-hub-section .ghub-grid{margin-bottom:1rem;}
        .ghub-card{align-items:flex-start;}
        .ghub-icon{font-size:1.6rem;line-height:1;}
        .ghub-card h3{font-family:var(--font-gothic);font-size:var(--fluid-h3);letter-spacing:.04em;margin:.2rem 0;color:var(--color-text);}
        .ghub-card p{font-size:.9rem;line-height:1.5;color:var(--color-text-muted);margin:0;}
        .ghub-row-title{font-family:var(--font-gothic);font-size:var(--fluid-h3);letter-spacing:.05em;color:var(--color-gold);text-align:center;margin:2rem 0 1rem;}
        .ghub-sub-tight{margin-bottom:1.25rem;}
        .ghub-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem;}
        .ghub-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text);text-decoration:none;font-size:.85rem;transition:transform var(--dur-base) var(--ease-out-soft),border-color var(--dur-base),box-shadow var(--dur-base);}
        .ghub-chip:hover,.ghub-chip:focus-visible{transform:translateY(-2px);border-color:var(--color-gold);box-shadow:var(--elev-2);}
        .ghub-fresh{margin-top:.5rem;}
        .ghub-cta-row{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2rem;}
        @media (prefers-reduced-motion: reduce){.ghub-chip{transition:none;}.ghub-chip:hover,.ghub-chip:focus-visible{transform:none;}}
      

/* ── moved from index.html inline <style> #9 (was ~line 1934) ── */
        .updates-block{padding:3rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .updates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;}
        .updates-col{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.5rem;}
        .updates-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1rem;border-bottom:1px solid var(--color-border);padding-bottom:.75rem;}
        .updates-head h2{font-family:var(--font-gothic);font-size:var(--fluid-h3);letter-spacing:.06em;margin:0;color:var(--color-gold);}
        .updates-more{font-size:.85rem;color:var(--color-text-muted);text-decoration:none;}
        .updates-more:hover{color:var(--color-gold);}
        .patch-list{list-style:none;margin:0;padding:0;}
        .patch-list li{margin-bottom:.5rem;}
        .patch-list a{display:grid;grid-template-columns:auto 1fr auto;gap:.75rem;align-items:center;padding:.6rem .75rem;color:var(--color-text);text-decoration:none;border-radius:var(--radius-sm);transition:background var(--dur-fast);}
        .patch-list a:hover{background:rgba(200,168,75,0.06);}
        .patch-ver{font-family:var(--font-mono);font-size:.8rem;color:var(--color-gold);min-width:3.5em;}
        .patch-title{font-family:var(--font-body);}
        .patch-date{font-size:.75rem;color:var(--color-text-muted);font-variant-numeric:tabular-nums;}
        .roadmap-stepper{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;}
        .rm-step{display:grid;grid-template-columns:5em 1fr auto;gap:.75rem;align-items:center;padding:.7rem .8rem;border-radius:var(--radius-sm);border-left:3px solid var(--color-border);background:rgba(10,10,15,0.4);}
        .rm-step.rm-done{border-left-color:var(--color-success);}
        .rm-step.rm-active{border-left-color:var(--color-gold);background:rgba(200,168,75,0.06);}
        .rm-q{font-family:var(--font-mono);font-size:.8rem;color:var(--color-text-muted);}
        .rm-title{font-family:var(--font-body);}
        .rm-status{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted);}
        .rm-done .rm-status{color:var(--color-success);}
        .rm-active .rm-status{color:var(--color-gold);}
      

/* ── moved from index.html inline <style> #10 (was ~line 1975) ── */
        .creators-wall{padding:3rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .creators-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;}
        .creator-card{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1.25rem 1rem;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);text-align:center;transition:transform var(--dur-base) var(--ease-out-soft),border-color var(--dur-base);}
        .creator-card:hover{transform:translateY(-2px);border-color:var(--color-gold);box-shadow:var(--elev-2);}
        .creator-avatar{width:48px;height:48px;border-radius:50%;background:var(--grad-gold);display:flex;align-items:center;justify-content:center;font-size:1.5rem;box-shadow:var(--glow-gold);}
        .creator-card strong{font-family:var(--font-gothic);font-size:.95rem;letter-spacing:.04em;color:var(--color-text);}
        .creator-role{font-size:.75rem;color:var(--color-text-muted);letter-spacing:.06em;text-transform:uppercase;}
        .creator-cta{justify-content:center;background:linear-gradient(135deg, rgba(200,168,75,0.06), transparent);}
        @media (prefers-reduced-motion: reduce){.creator-card{transition:none;}.creator-card:hover{transform:none;}}
      

/* ── moved from index.html inline <style> #11 (was ~line 2016) ── */
        .top-widgets{padding:3rem 1.5rem;max-width:var(--max-width);margin:0 auto;}
        .top-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem;}
        @media(max-width:768px){.top-grid{grid-template-columns:1fr;}}
        .top-col{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem 1.5rem;}
        .top-col-title{font-family:var(--font-gothic);font-size:.95rem;letter-spacing:.04em;color:var(--color-gold);margin-bottom:.85rem;padding-bottom:.6rem;border-bottom:1px solid var(--color-border);}
        .top-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;}
        .top-list li{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:baseline;padding:.4rem 0;border-bottom:1px dotted rgba(255,255,255,.05);}
        .top-list li:last-child{border-bottom:none;}
        .top-rank{font-family:var(--font-gothic);font-size:1rem;color:var(--color-gold);min-width:1.5rem;text-align:center;font-variant-numeric:tabular-nums;}
        .top-name{font-family:var(--font-gothic);font-size:.9rem;color:var(--color-text);letter-spacing:.02em;}
        .top-list li{position:relative;}
        .top-sub{grid-column:2;font-size:.74rem;color:var(--color-text-muted);}
        .top-sub.vamp{color:#e87070;}
        .top-sub.wolf{color:#88c878;}
        .top-cta{display:inline-block;margin-top:.85rem;font-family:var(--font-gothic);font-size:.72rem;letter-spacing:.08em;color:var(--color-gold);text-decoration:none;border-bottom:1px solid rgba(201,169,110,.3);}
        .top-cta:hover{border-bottom-color:var(--color-gold);}
      

/* ── moved from index.html inline <style> #12 (was ~line 2060) ── */
        .trust-block{padding:2.5rem 1.5rem;background:rgba(10,10,15,0.6);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);}
        .trust-grid{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem;max-width:var(--max-width);}
        .trust-item{display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center;padding:1rem;border-radius:var(--radius-md);background:var(--color-surface);border:1px solid var(--color-border);transition:transform var(--dur-base) var(--ease-out-soft),border-color var(--dur-base);}
        .trust-item:hover{transform:translateY(-2px);border-color:var(--color-gold);box-shadow:var(--elev-2);}
        .trust-icon{font-size:1.75rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.4));}
        .trust-title{font-family:var(--font-gothic);font-size:.95rem;letter-spacing:.06em;color:var(--color-gold);}
        .trust-link{font-size:.8rem;color:var(--color-text-muted);text-decoration:none;}
        .trust-link:hover{color:var(--color-text);}
        @media (prefers-reduced-motion: reduce){.trust-item{transition:none;}}
      

/* ── moved from index.html inline <style> #13 (was ~line 2167) ── */
      .footer-cols{display:grid;grid-template-columns:1.6fr repeat(5,1fr);gap:2rem;max-width:var(--max-width);margin:0 auto 2rem;padding:0 1rem;}
      @media (max-width:900px){.footer-cols{grid-template-columns:repeat(2,1fr);}.footer-brand{grid-column:1/-1;}}
      @media (max-width:560px){.footer-cols{grid-template-columns:1fr;}}
      .footer-brand{font-size:.9rem;}
      .footer-logo{font-family:var(--font-gothic);font-size:1.3rem;letter-spacing:.08em;color:var(--color-text);margin:0 0 .5rem;}
      .footer-tag{color:var(--color-text-muted);font-size:.85rem;line-height:1.5;margin:0 0 1rem;}
      .footer-locale{display:flex;gap:.5rem;align-items:center;font-size:.8rem;color:var(--color-text-muted);}
      .footer-locale a{padding:.2rem .55rem;border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted);text-decoration:none;font-family:var(--font-mono);font-size:.7rem;letter-spacing:.06em;transition:all var(--dur-fast,150ms) var(--ease-out-soft,ease);}
      .footer-locale a:hover{color:var(--color-gold);border-color:var(--color-gold);}
      .footer-col h3{font-family:var(--font-gothic);font-size:.85rem;letter-spacing:.1em;color:var(--color-gold);margin:0 0 .75rem;text-transform:uppercase;}
      .footer-col a{display:block;font-size:.85rem;color:var(--color-text-muted);text-decoration:none;padding:.2rem 0;transition:color var(--dur-fast,150ms);}
      .footer-col a:hover{color:var(--color-text);}
      .footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding:1rem;border-top:1px solid var(--color-border);font-size:.75rem;color:var(--color-text-faint);max-width:var(--max-width);margin:0 auto;}
      .footer-made{margin:0;}
      .footer-copy{margin:0;}
    
