/* ============================================================
   Luminous Re:Chord — 公式サイト デザインシステム
   夜空 × ネオン / ガラスUI / ダークテーマ
   ゲーム本体(style.css)の世界観・配色を継承
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Base (ゲーム本体と統一) */
  --bg-deep:   #05050f;
  --bg-0:      #07071a;
  --bg-1:      #0d0d2b;
  --bg-2:      #12123a;
  --bg-3:      #1a1a45;

  /* Brand / accent */
  --primary:   #c97aff;
  --primary-2: #ff6fc8;
  --gold:      #ffd700;

  /* 属性カラー (ゲームの ATTRIBUTES と一致) */
  --attr-shine: #ffd700;
  --attr-moon:  #4a90e2;
  --attr-bloom: #ff9bc4;
  --attr-beat:  #ff6030;
  --attr-shade: #9b59b6;

  /* Text */
  --text:       #eef0ff;
  --text-soft:  #c7c9e8;
  --text-muted: #8b8fb8;
  --text-dim:   #5c608c;

  /* Surfaces / glass */
  --glass-bg:     rgba(20, 20, 48, 0.55);
  --glass-bg-2:   rgba(28, 28, 62, 0.72);
  --glass-border: rgba(160, 150, 255, 0.18);
  --glass-hi:     rgba(255, 255, 255, 0.06);
  --line:         rgba(140, 140, 200, 0.14);

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow:    0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.55);
  --glow:      0 0 40px rgba(201, 122, 255, 0.35);
  --blur:      saturate(140%) blur(14px);

  /* Layout */
  --maxw:    1200px;
  --maxw-nr: 860px;
  --nav-h:   64px;
  --radius:  18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);

  --grad-brand: linear-gradient(135deg, var(--gold) 0%, var(--primary-2) 45%, var(--primary) 100%);
  --grad-hero:  radial-gradient(1200px 700px at 70% -10%, rgba(201,122,255,0.22), transparent 60%),
                radial-gradient(900px 600px at 0% 20%, rgba(74,144,226,0.16), transparent 55%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  min-height: 100dvh;
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 夜空の固定背景レイヤー */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 80% -5%, rgba(201,122,255,0.14), transparent 60%),
    radial-gradient(800px 700px at -10% 30%, rgba(74,144,226,0.10), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(255,111,200,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg-0) 40%, #060615 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(201,122,255,0.5), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(120,180,255,0.4), transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: 0.6;
  animation: starDrift 120s linear infinite;
}
@keyframes starDrift { to { background-position: 600px 600px; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: 0.03em; font-weight: 800; }
.font-en { font-family: 'Orbitron', 'Segoe UI', sans-serif; letter-spacing: 0.08em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--primary-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, var(--maxw-nr)); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 12px 0 10px; }
.section-head p { color: var(--text-soft); max-width: 640px; margin-inline: auto; }
.section-sub { color: var(--text-soft); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Glass surfaces ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-hi);
}
.card {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card.glass:hover { transform: translateY(-6px); box-shadow: var(--shadow), var(--glow); border-color: rgba(201,122,255,0.4); }

/* ---------- Buttons ---------- */
.btn {
  --_c: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, opacity 0.2s;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--grad-brand); color: #16001a; font-weight: 800;
  box-shadow: 0 8px 30px rgba(255,111,200,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255,111,200,0.5); }
.btn-ghost { border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text); backdrop-filter: var(--blur); }
.btn-ghost:hover { border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.05em 2.3em; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.3em 0.85em; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid currentColor; color: var(--primary-2);
  background: rgba(201,122,255,0.08);
}
.attr-badge {
  --_a: var(--primary);
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.28em 0.8em; border-radius: 999px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em;
  color: #0a0a1f;
  background: var(--_a);
  box-shadow: 0 0 16px color-mix(in srgb, var(--_a) 60%, transparent);
}
.attr-shine { --_a: var(--attr-shine); }
.attr-moon  { --_a: var(--attr-moon); }
.attr-bloom { --_a: var(--attr-bloom); }
.attr-beat  { --_a: var(--attr-beat); }
.attr-shade { --_a: var(--attr-shade); }

/* ============================================================
   Header / Nav (site.js が注入)
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(7, 7, 22, 0.78);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.06em; }
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-brand);
  box-shadow: var(--glow);
  display: grid; place-items: center; color: #16001a; font-weight: 900; font-size: 0.9rem;
}
.brand b { font-size: 1.02rem; }
.brand span { color: var(--primary-2); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 0.5em 0.9em; border-radius: 10px; font-size: 0.9rem; font-weight: 600;
  color: var(--text-soft); position: relative;
}
.nav a:hover { color: #fff; background: rgba(201,122,255,0.1); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 0.9em; right: 0.9em; bottom: 4px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s; margin-inline: auto;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px;
    background: rgba(7, 7, 22, 0.96);
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.85em 1em; font-size: 1rem; }
  .nav a.active::after { display: none; }
  .nav a.active { background: rgba(201,122,255,0.14); }
  .nav-cta { margin: 8px 0 0; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-soft); font-size: 0.92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--primary-2); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--glass-border); background: var(--glass-bg); font-size: 1.05rem;
}
.footer-social a:hover { border-color: var(--primary); transform: translateY(-2px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom .disclaimer { max-width: 60ch; line-height: 1.6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Hero (TOP)
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh; display: grid; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0.5; transform: scale(1.08);
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-hero);
}
.hero-inner { text-align: center; padding: 40px 0 80px; }
.hero-logo { font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 900; line-height: 1.02; letter-spacing: 0.04em; }
.hero-logo .l1 { display: block; background: linear-gradient(135deg, #fff7e0, var(--gold) 35%, var(--primary-2) 70%, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255,111,200,0.35)); }
.hero-logo .l2 { display: block; font-size: 0.62em; letter-spacing: 0.14em; }
.hero-logo .l2 span { color: var(--primary-2); }
.hero-jp { margin-top: 10px; color: var(--text-soft); letter-spacing: 0.3em; font-size: clamp(0.8rem, 2.4vw, 1rem); }
.hero-copy { margin: clamp(24px, 4vw, 40px) 0; }
.hero-copy .cc-main { font-size: clamp(1.3rem, 4.4vw, 2.4rem); font-weight: 800; line-height: 1.5; }
.hero-copy .cc-sub { color: var(--text-soft); margin-top: 12px; letter-spacing: 0.12em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.24em; text-align: center;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 42px; margin: 10px auto 0;
  background: linear-gradient(var(--primary-2), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Page hero (下層ページ共通) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(50px,8vw,90px)) 0 clamp(36px,5vw,60px); text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.page-hero p { color: var(--text-soft); margin-top: 12px; }
.page-hero .eyebrow { margin-bottom: 10px; }

/* ============================================================
   Feature / info cards
   ============================================================ */
.feature { text-align: left; }
.feature .ficon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(201,122,255,0.25), rgba(255,111,200,0.12));
  border: 1px solid var(--glass-border);
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 0.94rem; }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.stat { text-align: center; padding: 18px 26px; min-width: 140px; }
.stat b { display: block; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-muted); font-size: 0.82rem; letter-spacing: 0.1em; }

/* ============================================================
   Character cards
   ============================================================ */
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.char-card {
  --_a: var(--primary);
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4.4; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--glass-border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.char-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--_a) 40%, transparent); }
.char-portrait { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--_a) 45%, #0d0625), #0b0620 75%); overflow: hidden; }
.char-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.char-card:hover .char-portrait img { transform: scale(1.06); }
.char-ph { position: absolute; inset: 0; display: grid; place-items: center; gap: 6px; text-align: center; color: color-mix(in srgb, var(--_a) 80%, #fff); }
.char-ph .ico { font-size: 3rem; filter: drop-shadow(0 0 20px currentColor); }
.char-ph .ph-name { font-size: 0.9rem; color: var(--text-soft); }
.char-ph .ph-tag { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--text-muted); }
.char-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(5,5,15,0.6) 72%, rgba(5,5,15,0.96) 100%); }
.char-meta { padding: 16px; }
.char-meta .cm-role { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--_a); font-weight: 700; }
.char-meta .cm-name { font-size: 1.32rem; font-weight: 800; margin: 2px 0 2px; }
.char-meta .cm-name small { font-size: 0.6em; color: var(--text-muted); font-weight: 600; letter-spacing: 0.08em; }
.char-meta .cm-cv { font-size: 0.82rem; color: var(--text-soft); font-style: italic; opacity: 0.9; min-height: 1.4em; }
.char-topline { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; }

/* Character detail block */
.char-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.char-detail .cd-visual { aspect-ratio: 3/4; border-radius: var(--radius); }
.char-detail .cd-quote { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; line-height: 1.5; margin: 6px 0 16px; }
.char-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 16px; font-size: 0.92rem; }
.char-detail dt { color: var(--text-muted); }
@media (max-width: 720px) { .char-detail { grid-template-columns: 1fr; } .char-detail .cd-visual { max-width: 240px; margin-inline: auto; } }

/* ============================================================
   Story / timeline
   ============================================================ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), transparent); }
.tl-item { position: relative; padding: 0 0 34px 6px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 16px var(--primary-2); }
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-soft); font-size: 0.94rem; }
.tl-ch { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--primary-2); font-weight: 700; }

/* ============================================================
   Screenshots / gallery
   ============================================================ */
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid var(--glass-border); cursor: pointer;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  transition: transform 0.4s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover { transform: scale(1.02); }
.shot .shot-cap { position: absolute; inset: auto 0 0 0; padding: 20px 14px 12px; font-size: 0.82rem; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.shot.tall { aspect-ratio: 3/4; }
.gallery-note { text-align: center; color: var(--text-muted); font-size: 0.86rem; margin-top: 22px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; background: rgba(3,3,10,0.9); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; font-size: 2rem; color: #fff; }

/* ============================================================
   News
   ============================================================ */
.news-list { display: grid; gap: 12px; }
.news-item {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  transition: background 0.25s, border-color 0.25s; border: 1px solid transparent;
}
.news-item:hover { background: var(--glass-bg); border-color: var(--glass-border); }
.news-date { color: var(--text-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.news-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.25em 0.7em; border-radius: 999px; white-space: nowrap; }
.cat-info { background: rgba(74,144,226,0.18); color: #8ec1ff; }
.cat-update { background: rgba(201,122,255,0.18); color: #d9b3ff; }
.cat-event { background: rgba(255,111,200,0.18); color: #ffb3e0; }
.cat-important { background: rgba(255,96,48,0.2); color: #ffb199; }
.news-title { font-weight: 600; }
.news-arrow { color: var(--text-muted); }
@media (max-width: 640px) {
  .news-item { grid-template-columns: auto 1fr; grid-template-areas: "date cat" "title title"; row-gap: 8px; }
  .news-date { grid-area: date; } .news-cat { grid-area: cat; justify-self: end; } .news-title { grid-area: title; } .news-arrow { display: none; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1rem; }
.faq-q .qi { color: var(--gold); font-weight: 900; margin-right: 4px; }
.faq-q .chev { transition: transform 0.3s var(--ease); color: var(--primary-2); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-soft); font-size: 0.94rem; }
.faq-a-inner .qa-label { color: var(--primary-2); font-weight: 800; margin-right: 6px; }

/* ============================================================
   Forms (Contact)
   ============================================================ */
.form-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 700; }
.field label .req { color: var(--attr-beat); font-size: 0.78rem; margin-left: 6px; }
.field label .opt { color: var(--text-muted); font-size: 0.76rem; margin-left: 6px; font-weight: 500; }
.field .hint { font-size: 0.78rem; color: var(--text-muted); }
.input, .textarea, .select {
  width: 100%; padding: 0.85em 1em; font-size: 1rem; color: var(--text);
  background: rgba(6,6,20,0.6); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201,122,255,0.2); background: rgba(10,10,30,0.75); }
.textarea { min-height: 170px; resize: vertical; line-height: 1.7; }
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--text-soft); }
.form-consent input { margin-top: 4px; accent-color: var(--primary); width: 17px; height: 17px; }
.form-status { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(46,204,113,0.14); border: 1px solid rgba(46,204,113,0.4); color: #7ee2a8; }
.form-status.err { background: rgba(255,96,48,0.14); border: 1px solid rgba(255,96,48,0.4); color: #ffab8f; }
.form-status.info { background: rgba(74,144,226,0.14); border: 1px solid rgba(74,144,226,0.4); color: #9cc8ff; }

/* ============================================================
   Legal / prose
   ============================================================ */
.prose { color: var(--text-soft); }
.prose h2 { font-size: 1.4rem; color: #fff; margin: 34px 0 12px; }
.prose h3 { font-size: 1.08rem; color: var(--primary-2); margin: 24px 0 8px; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { margin: 10px 0 10px 1.4em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--primary-2); text-decoration: underline; text-underline-offset: 3px; }
.prose dl.legal-dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; margin: 16px 0; }
.prose dl.legal-dl dt { color: var(--text-muted); font-weight: 700; }
.prose .updated { color: var(--text-dim); font-size: 0.84rem; margin-top: 30px; }
@media (max-width: 600px) { .prose dl.legal-dl { grid-template-columns: 1fr; gap: 2px 0; } .prose dl.legal-dl dt { margin-top: 12px; } }

/* CTA band */
.cta-band { position: relative; text-align: center; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px) 24px; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 0%, rgba(201,122,255,0.3), transparent 70%), linear-gradient(135deg, rgba(255,111,200,0.12), rgba(74,144,226,0.1)); }
.cta-band h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-soft); margin-bottom: 26px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Skip link (a11y) ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--primary); color: #16001a; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
