/* ==========================================================================
   KKBET (크크벳) — "Premium Dark Verification Record" (v3)
   Deep-black OLED premium. Glassmorphism + soft glow. Amber = official/verified
   (gold), Violet = action. Retains the record card / stamp / mono-index identity
   so it reads bespoke, not generic dark SaaS. Single source of truth (theme+skins).
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

/* ---------------------------------- Tokens -------------------------------- */
:root {
  color-scheme: dark;

  --bg:        #090C12;   /* near-black base */
  --bg-2:      #0C1019;   /* elevated band */
  --bg-3:      #11162170; /* soft panel wash */
  --glass:     rgba(255,255,255,.045);
  --glass-2:   rgba(255,255,255,.075);
  --glass-brd: rgba(255,255,255,.10);
  --glass-brd2:rgba(255,255,255,.18);

  --ink:       #F5F7FB;   /* primary text */
  --ink-2:     #C6CDDA;   /* strong secondary */
  --muted:     #8A93A6;   /* muted */
  --faint:     #5C667B;   /* faint labels */
  --line:      rgba(255,255,255,.09);

  --amber:     #EDA52E;   /* richer gold-amber (official / verified) */
  --amber-2:   #F6C462;   /* soft bright (less neon) */
  --amber-soft:rgba(237,165,46,.13);
  --violet:    #7C6BFF;   /* refined indigo-violet (action / CTA) */
  --violet-2:  #ABA0FF;
  --violet-soft:rgba(124,107,255,.15);
  --danger:    #FB7185;   /* 사칭 / 경고 */
  --danger-soft:rgba(251,113,133,.14);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-display: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-mono: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;

  --maxw:   1200px;
  --gutter: clamp(1.15rem, 4vw, 2.2rem);
  --r:      14px;
  --r-sm:   10px;
  --r-lg:   22px;
  --r-pill: 999px;

  --glow-amber:  0 0 34px -12px rgba(237,165,46,.45);
  --glow-violet: 0 0 34px -12px rgba(124,107,255,.45);
  --shadow:      0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-lg:   0 40px 90px -36px rgba(0,0,0,.9);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.75;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* ambient page glows */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58vw 38vw at 84% -8%, rgba(237,165,46,.085), transparent 60%),
    radial-gradient(52vw 42vw at 4% 10%, rgba(124,107,255,.10), transparent 60%),
    radial-gradient(48vw 38vw at 50% 110%, rgba(124,107,255,.055), transparent 60%);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: #17130a; }
:focus-visible { outline: 2.5px solid var(--amber-2); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------- Layout --------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.section { padding-block: clamp(3.4rem, 7vw, 6rem); position: relative; }
.section--soft { background: linear-gradient(180deg, var(--bg-2), transparent); border-top: 1px solid var(--line); }
.section--ink { background: var(--bg-2); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* mono field-label */
.flabel {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber-2); display: inline-flex; align-items: center; gap: .6em; font-weight: 500;
}
.flabel::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 1px var(--amber); }
.flabel--warn { color: var(--danger); }
.flabel--warn::before { background: var(--danger); box-shadow: 0 0 10px 1px var(--danger); }
.flabel--paper { color: var(--violet-2); }
.flabel--paper::before { background: var(--violet); box-shadow: 0 0 10px 1px var(--violet); }

/* section header */
.shead { margin-bottom: clamp(2rem, 4vw, 3rem); }
.shead__row { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.4rem; }
.shead__idx { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.55rem); background: linear-gradient(120deg, var(--amber-2), var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
.shead__tag { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.045em; font-weight: 800; }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.04em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.7; max-width: 56ch; }
.muted { color: var(--muted); }
.u-green, .hero__title .u { background: linear-gradient(120deg, var(--amber-2) 10%, var(--violet-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u-mark { color: var(--amber-2); }

/* --------------------------------- Buttons -------------------------------- */
.btn {
  --_bg: linear-gradient(120deg, var(--amber), #E88B06); --_fg: #17120a; --_bd: transparent;
  display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95em 1.5em; border-radius: var(--r-pill); background: var(--_bg); color: var(--_fg);
  border: 1px solid var(--_bd); cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), filter .16s;
  box-shadow: var(--glow-amber);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 54px -6px rgba(245,158,11,.7); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .16s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--ghost { --_bg: var(--glass); --_fg: var(--ink); border-color: var(--glass-brd2); box-shadow: none; backdrop-filter: blur(8px); }
.btn--ghost:hover { --_bg: var(--glass-2); box-shadow: 0 0 0 1px var(--glass-brd2); filter: none; }
.btn--sm { padding: .62em 1.05em; font-size: .9rem; }
.btn--onink { --_bg: linear-gradient(120deg, var(--violet), #6D40E0); --_fg: #fff; box-shadow: var(--glow-violet); }
.btn--onink:hover { box-shadow: 0 0 54px -6px rgba(139,92,246,.75); }

/* --------------------------------- Header --------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: .5rem; }
.site-header__bar {
  display: flex; align-items: center; gap: 1rem; height: 60px; margin-top: .4rem;
  padding-inline: .5rem .5rem; border-radius: var(--r-pill);
  background: rgba(12,16,25,.6); border: 1px solid var(--glass-brd);
  backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 10px 40px -20px rgba(0,0,0,.9);
}
.brand { display: inline-flex; align-items: baseline; gap: .03rem; font-weight: 800; font-size: 1.24rem; letter-spacing: -.05em; padding-left: .8rem; }
.brand__dot { color: var(--amber); text-shadow: 0 0 12px var(--amber); }
.status-pill { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); border: 1px solid var(--glass-brd); padding: .38em .7em; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: .45em; background: var(--amber-soft); }
.status-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: pulse 2.4s var(--ease) infinite; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: .1rem; }
.site-nav__link { padding: .5em .85em; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color .15s, background .15s; }
.site-nav__link:hover { color: var(--ink); background: var(--glass); }
.site-nav__link[aria-current="page"] { color: #17120a; background: linear-gradient(120deg, var(--amber-2), var(--amber)); }
.header-cta { margin-right: .3rem; }
.nav-toggle { display: none; background: var(--glass); color: var(--ink); }

/* ---------------------------------- Hero ---------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 7vw, 5.3rem); letter-spacing: -.055em; font-weight: 800; line-height: .95; }
.hero__lead { margin-top: 1.6rem; }
.hero__sub { margin-top: .7rem; color: var(--muted); max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

/* photographic cinematic hero background (home) */
.hero.has-bg { isolation: isolate; min-height: clamp(560px, 82vh, 840px); display: flex; align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: -2; background-color: #05070c;
  background-image:
    radial-gradient(78% 60% at 62% 28%, rgba(124,107,255,.20), transparent 60%),
    radial-gradient(68% 60% at 28% 82%, rgba(237,165,46,.15), transparent 60%),
    url("../img/hero-casino.jpg");
  background-size: cover, cover, cover; background-position: center; background-repeat: no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate; will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,9,14,.94) 0%, rgba(6,9,14,.62) 40%, rgba(6,9,14,.34) 60%, rgba(6,9,14,.84) 100%),
    linear-gradient(180deg, rgba(6,9,14,.5), rgba(6,9,14,.18) 38%, var(--bg) 99%);
}
.hero__bgvideo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.6%, -2%); } }

/* signature: verification RECORD, now premium glass */
.record {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.record::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(60% 40% at 80% 0%, rgba(245,158,11,.16), transparent 70%); }
.record__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.record__head .mono { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.record__id { color: var(--amber-2); }
.record__body { position: relative; padding: 1.5rem 1.3rem 1.3rem; }
.rec-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .6rem; font-family: var(--font-mono); font-size: .92rem; padding: .55rem 0; }
.rec-row__k { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.rec-row__dots { border-bottom: 1px dotted var(--glass-brd2); transform: translateY(-4px); }
.rec-row__v { color: var(--ink); font-weight: 700; }
.record__cta { display: flex; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.record__cta .btn { flex: 1 1 auto; justify-content: center; }
.record__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem 1.3rem; border-top: 1px dashed var(--line); }
.record__fnote { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); max-width: 12ch; line-height: 1.4; }
.stamp {
  display: inline-block; rotate: -8deg; border: 2px solid var(--amber); color: var(--amber-2);
  border-radius: 9px; padding: .35rem .65rem; font-family: var(--font-mono); font-weight: 700; text-align: center;
  line-height: 1.12; background: var(--amber-soft); box-shadow: 0 0 22px -4px rgba(245,158,11,.6), inset 0 0 0 1px rgba(245,158,11,.35);
  text-shadow: 0 0 12px rgba(245,158,11,.5);
}
.stamp b { display: block; font-size: 1rem; letter-spacing: .06em; }
.stamp span { font-size: .58rem; letter-spacing: .22em; }

/* glass card mixin look via each component below */
.route, .stat, .checklist, .pcard, .figure-card, .review, .console {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--glass-brd); backdrop-filter: blur(10px);
}

/* ------------------------------ Route grid -------------------------------- */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.route { position: relative; border-radius: var(--r); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; min-height: 100%; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.route:hover { transform: translateY(-4px); border-color: var(--glass-brd2); box-shadow: var(--shadow); }
.route__n { font-family: var(--font-mono); font-size: .78rem; color: var(--amber-2); letter-spacing: .04em; }
.route__ico { width: 40px; height: 40px; color: var(--amber-2); margin: .2rem 0 .3rem; filter: drop-shadow(0 0 8px rgba(245,158,11,.4)); }
.route__ico svg { width: 100%; height: 100%; }
.route__title { font-size: 1.16rem; letter-spacing: -.02em; }
.route__desc { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.route__more { margin-top: auto; color: var(--amber-2); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4em; padding-top: .5rem; }
.route:hover .route__more .btn__arrow { transform: translateX(3px); }

/* --------------------------- Split (main guide) --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.linklist { display: grid; gap: .6rem; margin-top: 1.6rem; }
.linkrow { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; font-weight: 600; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--glass-brd); transition: background .16s, border-color .16s, transform .16s; }
.linkrow:hover { background: var(--glass-2); border-color: var(--glass-brd2); transform: translateX(4px); }
.linkrow__n { font-family: var(--font-mono); font-size: .8rem; color: var(--amber-2); }
.linkrow__arrow { margin-left: auto; color: var(--amber-2); }
.figure-card { border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.figure-card__pane { aspect-ratio: 16 / 11; display: grid; place-items: center; color: var(--amber-2); position: relative; background: radial-gradient(70% 60% at 50% 40%, rgba(245,158,11,.14), transparent 70%); }
.figure-card__pane::before { content: ""; position: absolute; inset: 16px; border: 1px dashed var(--glass-brd2); border-radius: 12px; }
.figure-card__pane svg { filter: drop-shadow(0 0 16px rgba(245,158,11,.5)); }

/* ---------------------------------- Stats --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.stat { border-radius: var(--r); padding: 1.9rem 1.7rem; position: relative; overflow: hidden; }
.stat--warn { border-color: var(--danger-soft); box-shadow: var(--danger-soft) 0 0 0 1px inset; }
.stat__top { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.8rem, 6.2vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--amber-2); text-shadow: 0 0 24px rgba(237,165,46,.32); }
.stat--warn .stat__num { color: var(--danger); text-shadow: 0 0 26px rgba(251,113,133,.4); }
.stat__unit { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.stat__title { font-size: 1.2rem; }
.stat__desc { color: var(--muted); font-size: .96rem; margin-top: .55rem; line-height: 1.65; }

/* ----------------------------------- FAQ ---------------------------------- */
.checklist { display: grid; gap: 0; border-radius: var(--r); counter-reset: step; overflow: hidden; box-shadow: var(--shadow); }
.qa { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.5rem 1.7rem; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa__n { counter-increment: step; font-family: var(--font-mono); font-weight: 700; color: var(--amber-2); font-size: 1.05rem; }
.qa__n::before { content: "Q" counter(step, decimal-leading-zero); }
.qa__q { font-size: 1.2rem; letter-spacing: -.02em; }
.qa__a { color: var(--ink-2); margin-top: .55rem; line-height: 1.75; font-size: 1rem; }

/* --------------------------------- Blog grid ------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--glass-brd2); box-shadow: var(--shadow); }
.pcard__media { aspect-ratio: 16 / 8; border-bottom: 1px solid var(--line); position: relative; display: flex; align-items: flex-end; padding: .85rem; background: radial-gradient(80% 120% at 15% 0%, rgba(139,92,246,.22), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(245,158,11,.16), transparent 55%); }
.pcard__tag { position: relative; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); background: rgba(9,12,18,.6); border: 1px solid var(--glass-brd); padding: .32em .6em; border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.pcard__body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard__meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--faint); display: flex; gap: .6rem; }
.pcard__title { font-size: 1.08rem; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.pcard__excerpt { color: var(--muted); font-size: .93rem; line-height: 1.6; }
.pcard__more { margin-top: auto; color: var(--amber-2); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .4em; }

/* --------------------------------- Reviews -------------------------------- */
.review { max-width: 62rem; margin-inline: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 3.4rem); position: relative; overflow: hidden; }
.review::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 0% 0%, rgba(139,92,246,.14), transparent 60%); }
.review__stars { color: var(--amber); letter-spacing: .24em; font-size: 1.05rem; text-shadow: 0 0 16px rgba(245,158,11,.5); }
.review__quote { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; margin-top: 1rem; }
.review__body { color: var(--ink-2); margin-top: 1.1rem; line-height: 1.8; max-width: 54ch; }
.review__sig { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 1.4rem; }
.review__mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 9vw, 6rem); line-height: .5; height: .5em; display: block; background: linear-gradient(120deg, var(--amber-2), var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.section--feature { background: radial-gradient(58% 90% at 50% -10%, rgba(124,107,255,.12), transparent 62%), radial-gradient(46% 70% at 50% 120%, rgba(237,165,46,.08), transparent 60%); border-block: 1px solid var(--line); }

/* verification-signal ticker (marquee) */
.marquee { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 1rem; background: linear-gradient(180deg, rgba(255,255,255,.022), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; font-family: var(--font-mono); font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); animation: marquee 34s linear infinite; will-change: transform; }
.marquee__track .dot { color: var(--amber); font-size: .6em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------- CTA band ------------------------------- */
.ctaband { border-radius: var(--r-lg); padding: clamp(2.2rem, 5vw, 3.6rem); position: relative; overflow: hidden; border: 1px solid var(--glass-brd); background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(245,158,11,.10) 70%), var(--bg-2); box-shadow: var(--shadow-lg); }
.ctaband::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.5), transparent 65%); filter: blur(6px); }
.ctaband__grid { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; flex-wrap: wrap; position: relative; z-index: 1; }
.ctaband__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: #fff; letter-spacing: -.03em; }
.ctaband__desc { color: var(--ink-2); margin-top: .9rem; max-width: 46ch; }

/* ---------------------------------- Footer -------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.site-footer__desc { color: var(--muted); margin-top: .9rem; max-width: 34ch; font-size: .96rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--glass-brd); border-radius: 50%; color: var(--ink-2); background: var(--glass); transition: color .16s, border-color .16s, background .16s; }
.socials a:hover { color: var(--amber-2); border-color: var(--glass-brd2); background: var(--glass-2); }
.footmenu__h { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.footmenu a { display: block; padding: .4rem 0; color: var(--ink-2); font-weight: 600; }
.footmenu a:hover { color: var(--amber-2); }
.site-footer__base { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--font-mono); letter-spacing: .04em; }

/* ------------------------------ Article (board view) ---------------------- */
.article { max-width: 44rem; margin-inline: auto; }
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--amber-2); }
.article__title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -.04em; }
.article__meta { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-top: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.article__body { margin-top: 2rem; }
.article__body h2 { font-size: 1.45rem; margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); letter-spacing: -.03em; }
.article__body h3 { font-size: 1.12rem; margin-top: 1.7rem; color: var(--ink-2); }
.article__body p { margin-top: 1rem; color: var(--ink-2); line-height: 1.85; }
.callout { display: flex; gap: .9rem; border-radius: var(--r); border: 1px solid var(--glass-brd); background: var(--amber-soft); box-shadow: inset 0 0 0 1px rgba(245,158,11,.14); padding: 1.15rem 1.25rem; margin-top: 1.8rem; }
.callout__ico { color: var(--amber-2); flex: none; filter: drop-shadow(0 0 8px rgba(245,158,11,.5)); }

/* ------------------------------ Board list -------------------------------- */
.chiprow { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.chip { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; padding: .5em 1em; border-radius: var(--r-pill); color: var(--ink-2); border: 1px solid var(--glass-brd); background: var(--glass); }
.chip[aria-current="true"] { background: linear-gradient(120deg, var(--amber-2), var(--amber)); color: #17120a; border-color: transparent; }

/* form (center.html) */
.kform { display: grid; gap: 1rem; }
.kform label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .4rem; }
.kform input, .kform textarea { width: 100%; background: rgba(9,12,18,.5); border: 1px solid var(--glass-brd); color: var(--ink); border-radius: var(--r-sm); padding: .85rem 1rem; font: inherit; }
.kform input:focus, .kform textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.kform textarea { min-height: 130px; resize: vertical; }

/* --------------------------------- Reveal --------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 8px var(--amber); } 50% { box-shadow: 0 0 16px 2px var(--amber); } }

/* -------------------------------- Responsive ------------------------------ */
@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; margin-right: .3rem; width: 42px; height: 42px; border: 1px solid var(--glass-brd); border-radius: var(--r-pill); }
  .routes, .card-grid, .stats { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; gap: .5rem; }
  .status-pill { display: none; }
  .ctaband__grid { flex-direction: column; align-items: flex-start; }
  .shead__row { flex-wrap: wrap; }
  .shead__tag { margin-left: 0; }
}

/* ------------------------------ Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
