/* CyberheistCity.net — neon night design system */

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Mr Dafoe";
  src: url("/assets/fonts/mrdafoe-latin.woff2") format("woff2");
  font-display: swap;
}
/* Metric-matched fallbacks keep layout stable while web fonts load */
@font-face {
  font-family: "Unbounded Fallback";
  src: local("Arial Black"), local("Arial Bold"), local("Arial");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 102%;
  descent-override: 29%;
}

:root {
  --bg: #0b0414;
  --bg-2: #10061c;
  --surface: #1a0c2e;
  --surface-2: #231039;
  --surface-3: #2d1548;
  --glass: rgba(36, 14, 62, .58);
  --glass-strong: rgba(24, 9, 42, .82);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  --text: #f6efff;
  --text-2: #cdbdee;
  --text-3: #a592c8;

  --pink: #ff3db8;
  --pink-soft: #ff8ad6;
  --cyan: #31e7ff;
  --violet: #9b5cff;
  --orange: #ff8a3d;
  --sun: #ffd447;
  --lime: #b8ff5a;
  --ink: #16051f;

  --grad-sunset: linear-gradient(100deg, #ff3db8 0%, #ff6a7a 45%, #ffb547 100%);
  --grad-cyber: linear-gradient(120deg, #31e7ff 0%, #9b5cff 52%, #ff3db8 100%);
  --grad-text: linear-gradient(95deg, #ff6ac8 0%, #ff9a5c 55%, #ffd447 100%);

  --glow-pink: 0 0 .6rem rgba(255, 61, 184, .55), 0 0 2.2rem rgba(255, 61, 184, .28);
  --glow-cyan: 0 0 .6rem rgba(49, 231, 255, .5), 0 0 2rem rgba(49, 231, 255, .22);
  --shadow-card: 0 1.2rem 3rem -1.4rem rgba(0, 0, 0, .8);

  --r-xs: 8px;
  --r-s: 12px;
  --r: 18px;
  --r-l: 28px;
  --r-pill: 999px;

  --font-display: "Unbounded", "Unbounded Fallback", "Arial Black", sans-serif;
  --font-body: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-script: "Mr Dafoe", "Brush Script MT", cursive;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 74px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgba(49, 231, 255, .09), transparent 60%),
    radial-gradient(50rem 36rem at -15% 8%, rgba(255, 61, 184, .12), transparent 60%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff; }
strong { color: #fff; font-weight: 800; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1.1rem; border-radius: var(--r-s);
  background: var(--sun); color: var(--ink); font-weight: 800; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 4, 20, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 61, 184, .7), rgba(49, 231, 255, .6), transparent) 1;
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; margin-right: auto; padding-block: 4px; border-radius: var(--r-s); }
.brand__logo { width: auto; height: 66px; filter: drop-shadow(0 0 10px rgba(255, 61, 184, .35)); transition: transform .3s var(--ease), filter .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-2deg) scale(1.04); filter: drop-shadow(0 0 14px rgba(255, 61, 184, .6)); }
@media (max-width: 640px) { .brand__logo { height: 52px; } }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__list { display: flex; gap: .15rem; list-style: none; }
.site-nav__list a {
  display: block; padding: .5rem .7rem; border-radius: var(--r-s);
  color: var(--text-2); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav__list a[aria-current="page"] { color: #fff; background: rgba(255, 61, 184, .14); box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .45); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--r-s); border: 1px solid var(--line-2);
  background: var(--glass); cursor: pointer; place-items: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1139px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(30rem 20rem at 100% 100%, rgba(255, 61, 184, .14), transparent 70%), #0d0518;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-2);
    display: none;
  }
  .site-nav.is-open { display: flex; animation: drop .25s var(--ease); }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: .8rem 1rem; font-size: 1rem; }
  .site-nav .site-nav__cta { align-self: stretch; --btn-pad: 1rem 1.4rem; font-size: .95rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: .95rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--btn-pad); border-radius: var(--r-pill); border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sunset { background: var(--grad-sunset); color: var(--ink); box-shadow: 0 .6rem 1.8rem -.6rem rgba(255, 61, 184, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--sunset:hover { color: var(--ink); box-shadow: 0 .9rem 2.4rem -.6rem rgba(255, 61, 184, .95), 0 0 0 4px rgba(255, 61, 184, .18), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--cyan { background: linear-gradient(100deg, #31e7ff, #8f7bff); color: var(--ink); box-shadow: 0 .6rem 1.8rem -.6rem rgba(49, 231, 255, .7); }
.btn--cyan:hover { color: var(--ink); box-shadow: 0 .9rem 2.4rem -.6rem rgba(49, 231, 255, .9); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--pink), var(--glow-pink); }
.btn--sm { --btn-pad: .62rem 1.1rem; font-size: .8rem; }
.btn--lg { --btn-pad: 1.15rem 2rem; font-size: 1rem; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { --btn-pad: 1rem 1.4rem; font-size: .9rem; }
  .hero__actions .btn, .cta-final .btn, .cta-band .btn { width: 100%; }
}

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--cyan); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Typographic atoms ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .85rem; margin-bottom: 1.1rem; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); background: rgba(49, 231, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .45), 0 0 1rem rgba(49, 231, 255, .14);
}
.eyebrow--pink { color: var(--pink-soft); background: rgba(255, 61, 184, .08); box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .5), 0 0 1rem rgba(255, 61, 184, .16); }
.eyebrow--sun { color: var(--sun); background: rgba(255, 212, 71, .07); box-shadow: inset 0 0 0 1px rgba(255, 212, 71, .45); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.hl {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 .9rem rgba(255, 61, 184, .35));
}
.neon-script {
  font-family: var(--font-script); font-weight: 400; letter-spacing: 0;
  color: var(--pink-soft);
  text-shadow: 0 0 .25rem #fff, 0 0 .7rem var(--pink), 0 0 1.8rem var(--pink);
}
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); color: var(--text-2); }

.section-head { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head h2 { font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.45rem); }
.section-head p { margin-top: .9rem; color: var(--text-2); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem); margin-bottom: 1.1rem; }
.prose h3 { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); margin: 1.9rem 0 .9rem; color: #fff; }
.prose p { color: var(--text-2); }
.prose p strong, .prose li strong { color: #fff; }
.prose a { color: var(--pink-soft); text-decoration-color: rgba(255, 138, 214, .5); }
.prose a:hover { color: #fff; text-decoration-color: var(--pink); }

/* Editorial split for text-only sections: heading column (sticky) + reading column */
@media (min-width: 1100px) {
  .prose--wide { max-width: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .prose--wide .prose__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .prose--wide .prose__head h2 { margin-bottom: 0; }
  .prose--wide .prose__body { max-width: 70ch; padding-top: 2.55rem; }
}

.list { list-style: none; display: grid; gap: .65rem; margin: 1.2rem 0 1.5rem; }
.list li { position: relative; padding-left: 1.9rem; color: var(--text-2); }
.list li::before {
  content: ""; position: absolute; left: .2rem; top: .62em; width: .7rem; height: .7rem; border-radius: 3px;
  background: var(--grad-cyber); transform: rotate(45deg); box-shadow: 0 0 .7rem rgba(155, 92, 255, .7);
}
.list--steps { counter-reset: step; }
.list--steps li { counter-increment: step; padding-left: 3rem; min-height: 2.1rem; }
.list--steps li::before {
  content: counter(step, decimal-leading-zero); top: .05rem; left: 0; width: 2.1rem; height: 2.1rem; transform: none; border-radius: 10px;
  display: grid; place-items: center; font: 800 .74rem/1 var(--font-display); color: var(--ink); background: var(--grad-sunset); box-shadow: 0 0 .9rem rgba(255, 61, 184, .45);
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--band {
  background: linear-gradient(180deg, rgba(26, 12, 46, .55), rgba(16, 6, 28, .2));
  border-block: 1px solid var(--line);
}
.section--band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 61, 184, .65), rgba(49, 231, 255, .55), transparent 95%);
}
.section--flush-top { padding-top: 0; }

.split { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  /* A shorter media column follows the reader instead of leaving a gap */
  .split--top > .media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.08fr .92fr; }
  .split--wide-media { grid-template-columns: .9fr 1.1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42rem 26rem at 78% 30%, rgba(255, 61, 184, .22), transparent 65%),
    radial-gradient(30rem 22rem at 12% 0%, rgba(155, 92, 255, .25), transparent 70%),
    linear-gradient(180deg, #160828 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; left: -25%; right: -25%; bottom: -1px; height: 46%; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 61, 184, .38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 231, 255, .26) 1px, transparent 1px);
  background-size: 100% 44px, 64px 100%;
  transform: perspective(380px) rotateX(58deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 72%, transparent 100%);
  opacity: .55;
  pointer-events: none;
}
/* Hero: head (crumbs, eyebrow, H1) → media → body. On phones the media sits right under the H1. */
.hero__grid { display: grid; gap: 1.6rem; align-items: center; }
.hero .hero__head h1 { margin-bottom: 0; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; grid-template-areas: "head media" "body media"; column-gap: clamp(2rem, 4vw, 3.5rem); row-gap: 1.3rem; align-items: start; }
  .hero__head { grid-area: head; align-self: end; }
  .hero__body { grid-area: body; }
  .hero__media { grid-area: media; align-self: center; }
}
.hero h1 { font-size: clamp(2rem, 1.15rem + 3vw, 3.25rem); font-weight: 800; line-height: 1.06; margin-bottom: 1.2rem; }
.hero__lead { max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.8rem; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.4rem; font-size: .88rem; color: var(--text-3); }
.byline__avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 800 .72rem/1 var(--font-display); color: var(--ink); background: var(--grad-cyber);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(255, 61, 184, .6);
}
.byline a { color: #fff; font-weight: 800; text-decoration: none; }
.byline a:hover { color: var(--pink-soft); }
.byline__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }

.crumbs { margin-bottom: 1.4rem; font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; color: var(--text-3); }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: rgba(255, 61, 184, .7); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

/* Hero art (home) */
.hero-art { position: relative; margin: 0; }
.hero-art__frame {
  position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 1500 / 740;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 0 6px rgba(255, 61, 184, .08), 0 1.6rem 4rem -1rem rgba(255, 61, 184, .45), 0 0 4rem -1rem rgba(49, 231, 255, .35);
}
.hero-art__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); background: linear-gradient(180deg, transparent 55%, rgba(11, 4, 20, .55)); }
.hero-art__sun {
  position: absolute; z-index: -1; width: 64%; aspect-ratio: 1; right: -8%; top: -18%; border-radius: 50%;
  background: linear-gradient(180deg, #ffd447, #ff8a3d 40%, #ff3db8 80%);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
  mask-image: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
  opacity: .55; filter: blur(.5px);
}
@media (max-width: 959px) {
  .hero-art .badges { justify-content: center; }
  .hero-art__sun { display: none; }
  .hero-art .badge { padding: .5rem .8rem; }
}
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; list-style: none; }
.badge {
  display: grid; gap: .1rem; padding: .7rem 1rem; border-radius: var(--r);
  background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-card);
}
.badge__k { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.badge__v { font: 800 1.12rem/1.2 var(--font-display); color: #fff; }
.badge--pink .badge__v { color: var(--pink-soft); text-shadow: 0 0 12px rgba(255, 61, 184, .7); }
.badge--cyan .badge__v { color: var(--cyan); text-shadow: 0 0 12px rgba(49, 231, 255, .6); }
.badge--sun .badge__v { color: var(--sun); text-shadow: 0 0 12px rgba(255, 212, 71, .55); }
@media (min-width: 960px) {
  .hero-art .badges { position: absolute; left: -1.5rem; right: 1.5rem; bottom: -1.6rem; margin: 0; justify-content: flex-start; }
  .hero-art .badge:nth-child(2) { transform: translateY(-1.1rem); }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero-art .badge { animation: float 6s ease-in-out infinite; }
  .hero-art .badge:nth-child(2) { animation-delay: -2s; }
  .hero-art .badge:nth-child(3) { animation-delay: -4s; }
}
@keyframes float { 50% { translate: 0 -6px; } }

/* ---------- Media / figures ---------- */
.media { margin: 0; }
.media__frame {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-card);
}
.media__frame img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.media:hover .media__frame img { transform: scale(1.025); }
.media__frame--neon { box-shadow: 0 0 0 1px rgba(255, 61, 184, .55), 0 0 2.2rem -.4rem rgba(255, 61, 184, .55), var(--shadow-card); }
.media__frame--cyan { box-shadow: 0 0 0 1px rgba(49, 231, 255, .5), 0 0 2.2rem -.4rem rgba(49, 231, 255, .45), var(--shadow-card); }
.media__frame--tilt { transform: rotate(-1.4deg); }
.media figcaption { margin-top: .85rem; font-size: .85rem; line-height: 1.55; color: var(--text-3); }
.media figcaption strong { color: var(--text-2); }
.media--portrait { max-width: 420px; justify-self: center; }

/* ---------- Glass cards & panels ---------- */
.panel {
  position: relative; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r);
  background: linear-gradient(160deg, rgba(45, 21, 72, .7), rgba(22, 9, 38, .75));
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-card);
}
.panel--neon { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-cyber) border-box; border: 1px solid transparent; box-shadow: var(--shadow-card), 0 0 2.6rem -1.2rem rgba(155, 92, 255, .9); }

.quick-answer {
  display: grid; gap: .6rem; padding: 1.4rem 1.5rem; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(49, 231, 255, .1), rgba(155, 92, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .35);
}
.quick-answer__label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.quick-answer p { color: var(--text); margin: 0; }

.spec { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.spec dt, .spec dd { padding: .62rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.spec dt { padding-right: 1.2rem; }
.spec dt { color: var(--text-3); font-size: .9rem; }
.spec dd { margin: 0; text-align: right; font-weight: 800; color: #fff; }
.spec > :nth-last-child(-n + 2) { border-bottom: 0; }
.spec-card h2, .spec-card h3 { font-size: 1.05rem; margin-bottom: .9rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--r-l); overflow: hidden; background: var(--line-2); box-shadow: 0 0 0 1px var(--line-2); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat { padding: clamp(1.2rem, 3vw, 1.9rem) 1.2rem; background: linear-gradient(180deg, #1c0c31, #12061f); text-align: center; }
.stat:first-child { grid-column: span 2; }
@media (min-width: 760px) { .stat:first-child { grid-column: auto; } }
.stat__num { display: block; font: 800 clamp(1.6rem, 1.1rem + 2vw, 2.5rem)/1.05 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.stat:nth-child(odd) .stat__num { color: var(--pink-soft); text-shadow: 0 0 1.1rem rgba(255, 61, 184, .6); }
.stat:nth-child(even) .stat__num { color: var(--cyan); text-shadow: 0 0 1.1rem rgba(49, 231, 255, .55); }
.stat__label { display: block; margin-top: .45rem; font-size: .8rem; font-weight: 700; color: var(--text-3); letter-spacing: .04em; }

/* ---------- Tables ---------- */
.table-wrap {
  position: relative; margin: 1.6rem 0; border-radius: var(--r); overflow-x: auto;
  background: linear-gradient(180deg, rgba(35, 16, 57, .75), rgba(20, 8, 34, .75));
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-card);
  scrollbar-color: var(--pink) transparent; scrollbar-width: thin;
}
.table-wrap:focus-visible { outline-offset: 2px; }
/* Grid/flex children may shrink below their content so tables scroll inside their wrapper */
.split > *, .hero__grid > *, .grid-2 > *, .feed > *, .verdict > *, .pros-cons > *, .bento > *, .footer-grid > * { min-width: 0; }
.table-wrap table { min-width: 560px; font-size: .95rem; }
.table-wrap caption { caption-side: top; text-align: left; padding: 1rem 1.2rem .2rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.table-wrap th, .table-wrap td { padding: .85rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-soft); background: rgba(255, 61, 184, .07); border-bottom: 1px solid rgba(255, 61, 184, .35); white-space: nowrap; }
.table-wrap tbody th { color: #fff; font-weight: 800; }
.table-wrap td { color: var(--text-2); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tbody tr { transition: background-color .2s; }
.table-wrap tbody tr:hover { background: rgba(255, 255, 255, .035); }
.table-wrap .num { font-variant-numeric: tabular-nums; font-weight: 800; color: #fff; white-space: nowrap; }
.table-wrap .yes { color: var(--lime); font-weight: 800; }
.table-wrap .no { color: #ff8a9a; font-weight: 800; }
.table-note { font-size: .88rem; color: var(--text-3); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.2rem 0; }
.chip {
  padding: .4rem .8rem; border-radius: var(--r-pill); font: 700 .82rem/1.2 var(--font-display);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text);
}
.chip--hot { color: var(--ink); background: var(--grad-sunset); box-shadow: 0 0 1rem rgba(255, 61, 184, .5); }
.chip--cool { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .5); }

/* ---------- Notes ---------- */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: var(--r-s);
  background: rgba(255, 212, 71, .06); box-shadow: inset 3px 0 0 var(--sun), inset 0 0 0 1px rgba(255, 212, 71, .18);
  color: var(--text-2); font-size: .95rem;
}
.note__icon { font: 800 .8rem/1 var(--font-display); color: var(--ink); background: var(--sun); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; }
.note p { margin: 0; }
.note--cyan { background: rgba(49, 231, 255, .06); box-shadow: inset 3px 0 0 var(--cyan), inset 0 0 0 1px rgba(49, 231, 255, .18); }
.note--cyan .note__icon { background: var(--cyan); }

/* ---------- CTA blocks (deliberately different shapes) ---------- */
.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 2.4rem; padding: 1.2rem 1.4rem 1.2rem 1.6rem; border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(255, 61, 184, .14), rgba(155, 92, 255, .1) 60%, rgba(49, 231, 255, .1));
  box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .35);
}
.cta-inline p { margin: 0; font-weight: 700; color: #fff; }
.cta-inline small { display: block; font-weight: 500; color: var(--text-3); font-size: .82rem; }
@media (max-width: 640px) { .cta-inline { border-radius: var(--r); } .cta-inline .btn { width: 100%; } }

.cta-band { position: relative; overflow: hidden; padding: clamp(2.4rem, 5vw, 3.6rem) 0; background: linear-gradient(100deg, #3a0b52 0%, #6e1162 45%, #9b2a4f 100%); isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 7px);
}
.cta-band::after { content: ""; position: absolute; right: -6rem; top: 50%; width: 22rem; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; z-index: -1; background: linear-gradient(180deg, #ffd447, #ff3db8); -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px); mask-image: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 24px); opacity: .45; }
.cta-band__inner { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.cta-band p { margin: .6rem 0 0; color: #f3dcf6; }

.cta-final { padding-block: var(--section-y); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; inset: 15% 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 61, 184, .28), transparent); filter: blur(10px); }
.cta-final h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); max-width: 22ch; margin: 0 auto 1rem; }
.cta-final p { max-width: 60ch; margin: 0 auto 1.8rem; color: var(--text-2); }
.cta-final__script { display: block; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; margin-bottom: .4rem; }
.cta-final small { display: block; margin-top: 1.1rem; color: var(--text-3); font-size: .82rem; }

/* ---------- Feature bento ---------- */
.bento { display: grid; gap: 1rem; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1) { grid-column: span 4; } .bento > :nth-child(2) { grid-column: span 2; } .bento > :nth-child(3) { grid-column: span 2; } .bento > :nth-child(4) { grid-column: span 4; } }
.tile { position: relative; padding: 1.5rem; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, rgba(45, 21, 72, .65), rgba(18, 7, 32, .8)); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .5), 0 1rem 2.4rem -1rem rgba(255, 61, 184, .5); }
.tile h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.tile p { margin: 0; color: var(--text-2); font-size: .96rem; }
.tile__big { display: block; font: 800 2.4rem/1 var(--font-display); margin-bottom: .6rem; }
.tile--pink .tile__big { color: var(--pink-soft); text-shadow: var(--glow-pink); }
.tile--cyan .tile__big { color: var(--cyan); text-shadow: var(--glow-cyan); }
.tile--sun .tile__big { color: var(--sun); text-shadow: 0 0 1rem rgba(255, 212, 71, .5); }

/* ---------- Pros / cons ---------- */
.pros-cons { display: grid; gap: 1rem; }
@media (min-width: 820px) { .pros-cons { grid-template-columns: 1.15fr .85fr; } }
.pc { padding: 1.6rem; border-radius: var(--r); background: var(--surface); }
.pc h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin-bottom: 1rem; }
.pc ul { list-style: none; display: grid; gap: .75rem; }
.pc li { position: relative; padding-left: 2rem; color: var(--text-2); }
.pc li::before { position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; }
.pc--pro { box-shadow: inset 0 0 0 1px rgba(184, 255, 90, .3); }
.pc--pro h3 { color: var(--lime); }
.pc--pro li::before { content: "+"; color: var(--ink); background: var(--lime); }
.pc--con { box-shadow: inset 0 0 0 1px rgba(255, 138, 154, .3); }
.pc--con h3 { color: #ff9cab; }
.pc--con li::before { content: "–"; color: var(--ink); background: #ff9cab; }

/* ---------- Scorecard / review ---------- */
.verdict { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .verdict { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.score-ring {
  --val: 88;
  position: relative; width: min(220px, 60vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  background: conic-gradient(var(--pink) 0, var(--orange) calc(var(--val) * .5%), var(--sun) calc(var(--val) * 1%), rgba(255, 255, 255, .08) 0);
  display: grid; place-items: center; box-shadow: 0 0 3rem -.5rem rgba(255, 61, 184, .6);
}
.score-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.score-ring__val { position: relative; text-align: center; font: 800 2.8rem/1 var(--font-display); color: #fff; }
.score-ring__val small { display: block; margin-top: .3rem; font: 700 .78rem/1 var(--font-body); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.scores { list-style: none; display: grid; gap: .95rem; }
.scores li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; font-weight: 700; }
.scores span { color: var(--text-2); }
.scores b { font-family: var(--font-display); font-size: .9rem; color: #fff; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad-sunset); box-shadow: 0 0 12px rgba(255, 61, 184, .6); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .is-visible .bar i { animation: grow 1.1s var(--ease) both; } }
@keyframes grow { from { transform: scaleX(0); } }

.personas { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 820px) { .personas { grid-template-columns: repeat(3, 1fr); } }
.persona { padding: 1.4rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.persona__tag { display: inline-block; margin-bottom: .7rem; font: 700 .7rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.persona h3 { font-size: 1rem; margin-bottom: .55rem; }
.persona p { margin: 0; color: var(--text-2); font-size: .95rem; }
.persona__fit { display: block; margin-top: .9rem; font-weight: 800; font-size: .86rem; }
.persona__fit--good { color: var(--lime); }
.persona__fit--mixed { color: var(--sun); }

/* ---------- Live feed (simulation) ---------- */
.feed { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .feed { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.feed__panel { padding: 1.2rem; border-radius: var(--r); background: #0e0519; box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .3), 0 0 2.4rem -1.2rem rgba(49, 231, 255, .6); }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.feed__live { display: inline-flex; align-items: center; gap: .5rem; font: 700 .72rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.feed__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
@media (prefers-reduced-motion: no-preference) { .feed__live::before { animation: pulse 1.6s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .35; } }
.feed__list { list-style: none; display: grid; gap: .5rem; min-height: 19rem; font-variant-numeric: tabular-nums; }
.feed__item { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .6rem .75rem; border-radius: var(--r-s); background: rgba(255, 255, 255, .035); font-size: .9rem; color: var(--text-2); }
.feed__item b { color: #fff; }
.feed__item time { font-size: .76rem; color: var(--text-3); }
.feed__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.feed__dot--cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.feed__dot--sun { background: var(--sun); box-shadow: 0 0 8px var(--sun); }
@media (prefers-reduced-motion: no-preference) { .feed__item.is-new { animation: slidein .45s var(--ease); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }
.feed__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .9rem; font-size: .78rem; color: var(--text-3); }
.btn-mini { padding: .45rem .8rem; border-radius: var(--r-pill); border: 0; background: rgba(49, 231, 255, .12); color: var(--cyan); font-weight: 800; font-size: .78rem; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .4); }
.btn-mini:hover { background: rgba(49, 231, 255, .22); }

/* ---------- Multiplier ladder ---------- */
.ladder { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.2rem 0; }
.ladder li { min-width: 3.2rem; padding: .45rem .55rem; text-align: center; border-radius: 10px; font: 800 .86rem/1 var(--font-display); color: var(--sun); background: radial-gradient(circle at 30% 25%, rgba(255, 212, 71, .25), rgba(255, 138, 61, .08)); box-shadow: inset 0 0 0 1px rgba(255, 212, 71, .4); }
.ladder li:nth-last-child(-n + 3) { color: var(--ink); background: linear-gradient(180deg, #ffe680, #ffb13d); box-shadow: 0 0 1rem rgba(255, 212, 71, .6); }

/* ---------- Trust & author ---------- */
.trust { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { padding: 1.3rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.trust__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .9rem; border-radius: 12px; font: 800 .9rem/1 var(--font-display); color: var(--ink); background: var(--grad-cyber); box-shadow: 0 0 1.2rem rgba(155, 92, 255, .55); }
.trust h3 { font-size: .98rem; margin-bottom: .45rem; }
.trust p { margin: 0; font-size: .92rem; color: var(--text-2); }

.author-card { display: grid; gap: 1.2rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r-l); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-cyber) border-box; border: 1px solid transparent; }
@media (min-width: 720px) { .author-card { grid-template-columns: auto 1fr; align-items: start; } }
.author-card__avatar { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; font: 800 1.5rem/1 var(--font-display); color: var(--ink); background: var(--grad-cyber); box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px rgba(255, 61, 184, .7), 0 0 2rem rgba(255, 61, 184, .5); }
.author-card__role { display: block; margin: .25rem 0 .8rem; font-size: .84rem; font-weight: 700; color: var(--cyan); letter-spacing: .04em; }
.author-card h2 { font-size: 1.25rem; }
.author-card p { color: var(--text-2); font-size: .96rem; }
.author-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .8rem; font-size: .84rem; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details { border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s, box-shadow .25s; }
.faq details[open] { background: rgba(255, 61, 184, .06); box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .38); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; font: 700 1rem/1.4 var(--font-display); color: #fff; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font: 700 1.1rem/1 var(--font-body); color: var(--pink-soft); box-shadow: inset 0 0 0 1px rgba(255, 61, 184, .5); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.faq__a p { margin: 0; }

/* ---------- Related guides ---------- */
.related { display: grid; gap: .8rem; list-style: none; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: center; height: 100%; padding: 1.1rem 1.2rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.related a:hover { transform: translateY(-3px); background: rgba(49, 231, 255, .06); box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .45), 0 .8rem 2rem -1rem rgba(49, 231, 255, .6); }
.related__n { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; font: 800 .78rem/1 var(--font-display); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(49, 231, 255, .45); }
.related__t { font: 700 .98rem/1.3 var(--font-display); }
.related__d { font-size: .86rem; color: var(--text-3); line-height: 1.45; }

/* ---------- Demo player ---------- */
.player { position: relative; margin-top: 2rem; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px rgba(255, 61, 184, .55), 0 0 3.5rem -1rem rgba(255, 61, 184, .7), 0 2rem 4rem -2rem #000; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1rem; text-align: center; background: radial-gradient(60% 70% at 50% 50%, rgba(11, 4, 20, .72), rgba(11, 4, 20, .5) 70%, rgba(11, 4, 20, .78)); -webkit-backdrop-filter: blur(2px) saturate(.9); backdrop-filter: blur(2px) saturate(.9); }
.player__play { display: grid; place-items: center; width: clamp(4.2rem, 10vw, 6rem); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-sunset); box-shadow: 0 0 0 10px rgba(255, 61, 184, .2), 0 0 3rem rgba(255, 61, 184, .8); transition: transform .25s var(--ease); }
.player__play:hover { transform: scale(1.06); }
.player__play svg { width: 38%; height: 38%; margin-left: 8%; fill: var(--ink); }
.player__label { font: 700 clamp(.95rem, .8rem + .6vw, 1.25rem)/1.3 var(--font-display); color: #fff; text-shadow: 0 2px 14px #000, 0 0 2px #000; }
.player__hint { max-width: 46ch; padding: .45rem .9rem; border-radius: var(--r-pill); font-size: .84rem; color: #fff; background: rgba(11, 4, 20, .72); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 640px) {
  .player { aspect-ratio: 4 / 3; }
  .player__hint { display: none; }
  .player__play { width: 4rem; }
}
.player-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .9rem; font-size: .84rem; color: var(--text-3); }

/* ---------- Phones (app) ---------- */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 22rem; padding-bottom: 1rem; }
.phone { position: relative; width: clamp(9.5rem, 24vw, 13.5rem); flex: none; padding: .55rem; border-radius: 2rem; background: linear-gradient(160deg, #3b1a5c, #14061f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 1.6rem 3rem -1rem rgba(0, 0, 0, .9), 0 0 2.4rem -.6rem rgba(255, 61, 184, .55); }
.phone::before { content: ""; position: absolute; top: .95rem; left: 50%; width: 32%; height: .38rem; translate: -50% 0; border-radius: var(--r-pill); background: #050108; z-index: 2; }
.phone img { width: 100%; border-radius: 1.55rem; aspect-ratio: 984 / 1674; object-fit: cover; }
.phone--l { transform: rotate(-9deg) translate(2.2rem, -.4rem); z-index: 1; }
.phone--c { z-index: 2; transform: translateY(-1.4rem); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 1.8rem 3.4rem -1rem #000, 0 0 3.2rem -.4rem rgba(49, 231, 255, .6); }
.phone--r { transform: rotate(9deg) translate(-2.2rem, -.4rem); z-index: 1; }
@media (max-width: 520px) { .phone { width: 8.4rem; } .phone--l { transform: rotate(-9deg) translate(2.6rem, 0); } .phone--r { transform: rotate(9deg) translate(-2.6rem, 0); } }

/* ---------- Promo code ---------- */
.promo { padding-block: clamp(1.6rem, 3vw, 2.6rem); }
.promo__card {
  display: grid; gap: 1.4rem; align-items: center; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r-l);
  background: radial-gradient(28rem 14rem at 100% 0%, rgba(255, 138, 61, .22), transparent 70%), linear-gradient(120deg, rgba(255, 212, 71, .08), rgba(255, 61, 184, .12));
  box-shadow: inset 0 0 0 1px rgba(255, 212, 71, .42), 0 0 3rem -1.3rem rgba(255, 138, 61, .75);
}
@media (min-width: 900px) { .promo__card { grid-template-columns: 1.25fr minmax(300px, .75fr); } }
.promo__title { font-size: clamp(1.2rem, 1rem + 1.1vw, 1.7rem); margin-bottom: .55rem; }
.promo__text p { margin: 0; color: var(--text-2); font-size: .95rem; }
.promo__actions { display: grid; gap: .8rem; }
.promo__code {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .4rem .4rem .4rem 1.1rem; border-radius: var(--r-pill);
  border: 2px dashed rgba(255, 212, 71, .75); background: rgba(0, 0, 0, .38);
}
.promo__code code { font: 800 clamp(1rem, .9rem + .5vw, 1.2rem)/1.2 var(--font-display); letter-spacing: .04em; color: var(--sun); text-shadow: 0 0 12px rgba(255, 212, 71, .55); word-break: break-all; }
.promo__copy { flex: none; padding: .62rem 1.05rem; border: 0; border-radius: var(--r-pill); background: var(--sun); color: var(--ink); font-weight: 800; font-size: .82rem; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.promo__copy:hover { transform: translateY(-1px); background: #ffe27a; }
.promo__copy.is-copied { background: var(--lime); }
.ticket__code { margin-top: 1.4rem; }

.footer-top { display: grid; gap: 1.4rem; align-items: center; padding-bottom: 2rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .footer-top { grid-template-columns: auto 1fr auto; column-gap: 2.5rem; } }
.footer-logo { display: inline-block; justify-self: start; border-radius: var(--r-s); }
.footer-logo img { width: 140px; height: auto; filter: drop-shadow(0 0 14px rgba(255, 61, 184, .35)); }
.site-footer .footer-tagline { max-width: 46ch; margin: 0; font-size: .95rem; color: var(--text-2); }
.footer-promo { display: grid; gap: .5rem; min-width: min(100%, 300px); }
.footer-promo__label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.footer-age { display: flex; align-items: center; gap: .8rem; }
.footer-age .age { flex: none; margin: 0; }

/* ---------- Bonus ticket (1xBet) ---------- */
.ticket { position: relative; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-l); background: linear-gradient(150deg, #34104f, #1a0730 60%, #2a0b3d); box-shadow: 0 0 0 1px rgba(255, 212, 71, .45), 0 0 3rem -1rem rgba(255, 138, 61, .6), var(--shadow-card); overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58%; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 212, 71, .45); }
.ticket::before { left: -1.1rem; }
.ticket::after { right: -1.1rem; }
.ticket__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ticket__total { font: 800 clamp(3rem, 2rem + 4vw, 4.6rem)/.9 var(--font-display); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 1rem rgba(255, 138, 61, .55)); }
.ticket__unit { font: 700 1rem/1.3 var(--font-display); color: #fff; }
.ticket__unit small { display: block; font: 600 .82rem/1.4 var(--font-body); color: var(--text-3); }
.ticket__rows { list-style: none; display: grid; gap: .7rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px dashed rgba(255, 212, 71, .35); }
.ticket__rows li { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: .8rem; align-items: center; font-size: .9rem; }
.ticket__rows b { font-family: var(--font-display); font-size: .78rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.ticket__rows .meter { height: 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); overflow: hidden; }
.ticket__rows .meter i { display: block; height: 100%; width: var(--w); background: var(--grad-sunset); border-radius: inherit; }
.ticket__rows span { font-weight: 800; color: #fff; white-space: nowrap; }
.ticket__fine { margin-top: 1.2rem; font-size: .8rem; color: var(--text-3); }

.tile-mock { display: flex; gap: 1.2rem; align-items: center; padding: 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.tile-mock img { width: 112px; height: 112px; border-radius: 16px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 1.6rem rgba(255, 61, 184, .35); }
.tile-mock dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; font-size: .88rem; }
.tile-mock dt { color: var(--text-3); }
.tile-mock dd { margin: 0; color: #fff; font-weight: 700; }
@media (max-width: 520px) {
  .tile-mock { flex-direction: column; align-items: flex-start; }
  .tile-mock img { width: 96px; height: 96px; }
}

/* ---------- Budget planner (real money) ---------- */
.planner { display: grid; gap: 1rem; }
.planner__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .4rem; grid-template-rows: 1fr auto; align-items: end; }
.field label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.field input { width: 100%; padding: .85rem 1rem; border-radius: var(--r-s); border: 0; background: rgba(0, 0, 0, .35); color: #fff; font: 700 1.1rem/1.2 var(--font-display); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.field input:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cyan), 0 0 1rem rgba(49, 231, 255, .35); }
.planner__out { list-style: none; display: grid; gap: .55rem; }
.planner__out li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: var(--r-s); background: rgba(255, 255, 255, .04); font-size: .92rem; color: var(--text-2); }
.planner__out output { font: 800 1rem/1.3 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.planner__out .warn output { color: #ff9cab; }
.planner__hint { font-size: .8rem; color: var(--text-3); margin: 0; }
@media (max-width: 520px) {
  .planner__out li { flex-direction: column; gap: .2rem; }
  .planner__out output { text-align: left; font-size: .95rem; }
}

/* ---------- Checklist card (casino) ---------- */
.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding: .85rem 1rem; border-radius: var(--r-s); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.checklist li::before { content: "✓"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 8px; font-weight: 800; font-size: .85rem; color: var(--ink); background: var(--lime); box-shadow: 0 0 .9rem rgba(184, 255, 90, .5); }
.checklist li > span { font-size: .95rem; color: var(--text-2); }
.checklist strong { display: block; font-size: .95rem; color: #fff; }
.checklist small { display: block; margin-top: .1rem; font-size: .85rem; color: var(--text-3); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 2rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: #07020d; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad-cyber); opacity: .7; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 800; }
.site-footer p { font-size: .9rem; color: var(--text-3); }
.footer-links { list-style: none; display: grid; gap: .5rem; font-size: .92rem; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.age { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-right: .7rem; border-radius: 50%; font: 800 .8rem/1 var(--font-display); color: #fff; box-shadow: inset 0 0 0 2px #ff5c7a; vertical-align: middle; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-3); }
.footer-bottom p { margin: 0; font-size: .8rem; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-hidden { opacity: 0; transform: translateY(26px); }
}

/* ---------- Heading scale outside prose ---------- */
h2, .h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem); }
h3, .h3 { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); }
.h2 { margin-bottom: 1.2rem; }
.h3 { margin-bottom: .8rem; }

/* ---------- Centered hero (demo) ---------- */
.hero--center .hero__intro { max-width: 900px; margin-inline: auto; text-align: center; }
.hero--center .crumbs ol, .hero--center .byline { justify-content: center; }
.hero--center .hero__lead { margin-inline: auto; }
.hero--center .hero__actions { justify-content: center; }
@media (max-width: 640px) {
  .hero--center .hero__intro { text-align: left; }
  .hero--center .crumbs ol, .hero--center .byline { justify-content: flex-start; }
}

/* ---------- Timeline (demo test log) ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 1.1rem; margin: 1.4rem 0; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet), var(--pink)); box-shadow: 0 0 10px rgba(155, 92, 255, .6); }
.timeline li { position: relative; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; left: -2.05rem; top: .45rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--pink), 0 0 10px var(--pink); }
.timeline b { display: block; color: #fff; font-family: var(--font-display); font-size: .92rem; margin-bottom: .15rem; }

/* ---------- Featured operator ---------- */
.featured { display: grid; gap: 1.4rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-l); background: linear-gradient(130deg, rgba(49, 231, 255, .12), rgba(155, 92, 255, .12) 50%, rgba(255, 61, 184, .14)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 3rem -1.4rem rgba(255, 61, 184, .8); }
@media (min-width: 860px) { .featured { grid-template-columns: auto 1fr auto; } }
.featured__badge { display: grid; place-items: center; align-content: center; gap: .3rem; width: 6rem; height: 6rem; border-radius: 50%; font: 800 .72rem/1.1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--ink); background: var(--grad-sunset); box-shadow: 0 0 0 6px rgba(255, 61, 184, .15), 0 0 2rem rgba(255, 61, 184, .55); }
.featured__badge b { font-size: 1.6rem; line-height: 1; }
.featured h2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); margin-bottom: .5rem; }
.featured p { margin: 0; color: var(--text-2); font-size: .95rem; }
.featured .chips { margin: .8rem 0 0; }

/* ---------- Utilities ---------- */
.w-25 { --w: 25%; } .w-50 { --w: 50%; } .w-80 { --w: 80%; } .w-84 { --w: 84%; } .w-90 { --w: 90%; } .w-92 { --w: 92%; } .w-96 { --w: 96%; } .w-100 { --w: 100%; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1.2rem; }
.center { text-align: center; }
.muted { color: var(--text-3); }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-2--prose { gap: 3rem clamp(2rem, 5vw, 4.5rem); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 4rem 0; }
.notfound__code { font: 800 clamp(5rem, 3rem + 10vw, 10rem)/1 var(--font-display); background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 2rem rgba(155, 92, 255, .6)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .cta-inline, .cta-final, .player, .feed { display: none; }
  body { background: #fff; color: #000; }
}

/* Promo card placed inside a content section (1xBet page) */
.section > .container > .promo__card { margin-top: 2.2rem; }

/* ---------- Tables on phones (after the base table rules so they win) ---------- */
.table-wrap.table-wrap--compact table { min-width: 0; }
@media (max-width: 640px) {
  .table-wrap.table-wrap--compact table { font-size: .86rem; }
  .table-wrap.table-wrap--compact th, .table-wrap.table-wrap--compact td { padding: .65rem .7rem; }
  .table-wrap.table-wrap--compact thead th { letter-spacing: .06em; white-space: normal; }
  /* Text tables become one card per row; every value is labelled with its column */
  .table-wrap.table-wrap--stack { overflow: visible; }
  .table-wrap.table-wrap--stack table, .table-wrap.table-wrap--stack tbody, .table-wrap.table-wrap--stack tr { display: block; min-width: 0; width: 100%; }
  .table-wrap.table-wrap--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap.table-wrap--stack caption { display: block; padding: 1rem 1.1rem .2rem; }
  .table-wrap.table-wrap--stack tbody tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .table-wrap.table-wrap--stack tbody tr:last-child { border-bottom: 0; }
  .table-wrap.table-wrap--stack tbody th { display: block; padding: 0 0 .55rem; border: 0; font-family: var(--font-display); font-size: .95rem; }
  .table-wrap.table-wrap--stack td { display: grid; grid-template-columns: minmax(6.2rem, 38%) minmax(0, 1fr); gap: .8rem; padding: .3rem 0; border: 0; overflow-wrap: anywhere; }
  .table-wrap.table-wrap--stack td.num { white-space: normal; }
  .table-wrap.table-wrap--stack td::before { content: attr(data-label); padding-top: .2em; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
}
