/* ringospin-casino.online — deep-space theme
   Fonts: Orbitron (logo & figures), Space Grotesk (headings), Manrope (text) */

:root {
  --void: #05061a;        /* page background */
  --void-2: #0a0d2e;
  --nebula: #7b5cff;      /* violet */
  --nebula-dark: #5a3df0;
  --plasma: #ff4fd8;      /* magenta */
  --ion: #2de2ff;         /* cyan */
  --star: #ffd86b;        /* warm star accent */

  --surface: rgba(20, 24, 66, .62);
  --surface-solid: #12163d;
  --surface-2: rgba(123, 92, 255, .1);
  --line: rgba(160, 170, 255, .16);
  --line-strong: rgba(160, 170, 255, .32);
  --text: #e9ebff;
  --text-soft: #b8bde6;
  --muted: #8a90c2;
  --heading: #ffffff;

  --grad: linear-gradient(100deg, var(--ion) 0%, var(--nebula) 50%, var(--plasma) 100%);
  --grad-v: linear-gradient(180deg, var(--ion) 0%, var(--nebula) 50%, var(--plasma) 100%);
  --glow: 0 0 0 1px rgba(123, 92, 255, .35), 0 18px 50px -18px rgba(123, 92, 255, .55);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
  --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .8);

  --font-logo: "Orbitron", "Space Grotesk", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Space Grotesk", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 72px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--void); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 110% -10%, rgba(255, 79, 216, .18), transparent 60%),
    radial-gradient(900px 700px at -15% 5%, rgba(45, 226, 255, .14), transparent 60%),
    radial-gradient(1100px 800px at 50% 120%, rgba(123, 92, 255, .22), transparent 60%),
    var(--void);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--font-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* starfield: two fixed layers of tiny dots, the second one twinkles */
body::before, body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: repeat;
}
body::before {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.5px 1.5px at 200px 160px, #cfd6ff, transparent),
    radial-gradient(1px 1px at 280px 40px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 330px 220px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 60px 250px, rgba(173, 236, 255, .9), transparent);
  background-size: 360px 300px;
  opacity: .55;
}
body::after {
  background-image:
    radial-gradient(2px 2px at 90px 120px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 400px 300px, #ffe9b0, transparent),
    radial-gradient(2px 2px at 520px 60px, #d9c9ff, transparent),
    radial-gradient(1.4px 1.4px at 250px 420px, #fff, transparent);
  background-size: 640px 520px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: .85; } }

img, svg { max-width: 100%; height: auto; }
a { color: var(--ion); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plasma); }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(123, 92, 255, .45); color: #fff; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; letter-spacing: -.015em; margin: 0 0 .6em; color: var(--heading); }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
strong { color: #fff; font-weight: 700; }
code { font-family: var(--font-logo); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.visually-hidden { 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-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--nebula); color: #fff; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-lg { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0 0;
  color: #fff;
  font: 700 1rem/1.25 var(--font-display);
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(255, 79, 216, .7), 0 0 22px -6px rgba(45, 226, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s ease, box-shadow .18s ease, background-position .35s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 34px -10px rgba(255, 79, 216, .85), 0 0 30px -4px rgba(45, 226, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { color: #fff; background: rgba(123, 92, 255, .25); box-shadow: inset 0 0 0 1.5px var(--nebula); }

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 13, 46, .6);
  color: var(--text-soft);
  font: 600 .74rem/1.2 var(--font-label);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge--ok { color: var(--ion); border-color: rgba(45, 226, 255, .45); }
.badge--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 10px var(--ion); }
.badge--age { color: #fff; border-color: transparent; background: var(--grad); font-weight: 700; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .78rem/1.4 var(--font-label); letter-spacing: .03em; white-space: nowrap; }
.pill--ok { background: rgba(45, 226, 255, .14); color: var(--ion); }
.pill--note { background: rgba(255, 79, 216, .14); color: var(--plasma); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 26, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: .7; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.logo:hover { color: #fff; }
.logo img { width: 42px; height: 42px; filter: drop-shadow(0 0 10px rgba(123, 92, 255, .6)); }
.logo__text { font: 800 1.15rem/1 var(--font-logo); letter-spacing: .08em; text-transform: uppercase; }
.logo__text span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__link {
  display: block; padding: 8px 11px; border-radius: 999px;
  color: var(--text-soft); font: 500 .9rem/1.2 var(--font-display); text-decoration: none;
  transition: color .15s, background .15s;
}
.nav__link:hover { color: #fff; background: rgba(123, 92, 255, .18); }
.nav__cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(20, 24, 66, .6); color: #fff; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; background: var(--ion); }
.nav-toggle__bars::after { top: 6px; background: var(--plasma); }
.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: 1023px) {
  .nav.is-open {
    display: block; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    padding: 20px 16px 32px; overflow-y: auto;
    background: rgba(5, 6, 26, .97); border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .nav.is-open .nav__link { padding: 14px 16px; font-size: 1.05rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .nav.is-open .nav__cta { display: flex; }
}
@media (max-width: 420px) {
  .site-header__inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo img { width: 34px; height: 34px; }
  .logo__text { font-size: .92rem; letter-spacing: .04em; }
  .header-actions { gap: 6px; }
  .header-actions .btn--sm { padding: 8px 12px; font-size: .82rem; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; }
  .nav-toggle { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 600 .78rem/1.4 var(--font-label); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--nebula); }
.breadcrumbs a { color: var(--ion); text-decoration: none; }
.breadcrumbs a:hover { color: var(--plasma); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 44px; overflow: hidden; }
/* decorative planet with an orbit ring */
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -140px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .35), transparent 22%), radial-gradient(circle at 40% 40%, #7b5cff, #3a1f9e 55%, #120a3d 75%);
  box-shadow: 0 0 120px 10px rgba(123, 92, 255, .35), inset -40px -50px 80px rgba(0, 0, 0, .55);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -260px; top: 60px; width: 700px; height: 160px; border-radius: 50%;
  border: 2px solid rgba(45, 226, 255, .35); transform: rotate(-18deg);
  box-shadow: 0 0 30px rgba(45, 226, 255, .25);
  opacity: .7;
}
.hero__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .hero { padding: 56px 0 64px; } .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 { margin-bottom: .5em; }
.hero h1 .text-grad { display: block; }
.hero__lead { color: var(--text-soft); font-size: 1.1rem; max-width: 62ch; }
.hero__actions { margin-top: 26px; }
.hero__actions .btn { max-width: 100%; }

/* bonus card — glass panel with a gradient edge */
.bonus-card {
  position: relative;
  padding: 34px 24px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(40, 30, 120, .75), rgba(12, 14, 46, .85));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glow);
  overflow: hidden;
}
.bonus-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.bonus-card__ribbon {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: rgba(45, 226, 255, .12); border: 1px solid rgba(45, 226, 255, .4);
  color: var(--ion); font: 700 .72rem/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase;
}
.bonus-card__label { margin: 0 0 4px; color: var(--text-soft); font: 500 1rem/1.3 var(--font-text); }
.bonus-card__amount { margin: 0; font: 900 clamp(2.5rem, 1.9rem + 2.4vw, 3.5rem)/1.05 var(--font-logo); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 79, 216, .35)); }
.bonus-card__extra { margin: 8px 0 20px; color: #fff; font-weight: 700; }
.bonus-card__facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bonus-card__facts li { padding: 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5, 6, 26, .45); text-align: center; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.bonus-card__facts strong { display: block; margin-bottom: 3px; color: var(--ion); font: 700 1.1rem/1.2 var(--font-logo); }
.bonus-card__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 12px 16px; border: 1.5px dashed rgba(255, 79, 216, .5); border-radius: 14px; color: var(--text-soft); font-size: .9rem; }
.bonus-card__code code { color: var(--plasma); font-weight: 700; letter-spacing: .08em; }
.bonus-card__terms { margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* ---------- Stats & TOC ---------- */
.stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { position: relative; padding: 20px 18px 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-v); box-shadow: 0 0 14px rgba(123, 92, 255, .8); }
.stat__value { display: block; font: 800 clamp(1.3rem, 1rem + 1.1vw, 1.8rem)/1.15 var(--font-logo); color: #fff; }
.stat__label { display: block; margin-top: 6px; color: var(--muted); font: 600 .76rem/1.3 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }

.page-toc { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-toc__title { margin: 0 0 12px; color: var(--plasma); font: 700 .78rem/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; }
.page-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.page-toc li { counter-increment: toc; }
.page-toc a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 6, 26, .5);
  color: var(--text-soft); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.page-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--ion); font: 700 .72rem/1 var(--font-logo); }
.page-toc a:hover { color: #fff; border-color: var(--nebula); background: rgba(123, 92, 255, .18); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 76px 0; } }
.section--alt { background: linear-gradient(180deg, rgba(123, 92, 255, .08), rgba(45, 226, 255, .03)); border-block: 1px solid var(--line); }
.section__head { max-width: 820px; margin-bottom: 30px; }
.section__head p { color: var(--text-soft); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--ion); font: 700 .76rem/1 var(--font-logo); letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(45, 226, 255, .7); }

.prose { max-width: 880px; }
.prose > p, .prose li { color: var(--text-soft); }
.prose h3 { margin-top: 2.1em; padding-left: 16px; border-left: 3px solid var(--nebula); }
.prose h3:first-child { margin-top: 0; }

.dot-list, .steps { margin: 0 0 1.3em; padding: 0; list-style: none; display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 26px; }
.dot-list li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 9px; height: 9px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 10px var(--ion); }
.dot-list li:nth-child(even)::before { background: var(--plasma); box-shadow: 0 0 10px var(--plasma); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 700 .95rem/1 var(--font-logo);
  box-shadow: 0 0 16px rgba(123, 92, 255, .6);
}

/* verdict / takeaway notes */
.takeaway, .verdict {
  position: relative; margin: 0 0 1.4em; padding: 16px 18px 16px 24px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
  color: var(--text) !important; font-size: 1rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.takeaway::before, .verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-v); }

.cta-row { margin: 28px 0 8px; }
.cta-row .btn { max-width: 100%; }

/* ---------- Tables ---------- */
.table-wrap { margin: 0 0 1.4em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.45; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: linear-gradient(100deg, rgba(45, 226, 255, .22), rgba(123, 92, 255, .32), rgba(255, 79, 216, .22)); color: #fff; font: 700 .76rem/1.3 var(--font-label); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.table thead tr { box-shadow: inset 0 -2px 0 var(--nebula); }
.table tbody th { color: #fff; font-weight: 700; }
.table td { color: var(--text-soft); }
.table tbody tr:nth-child(even) { background: rgba(123, 92, 255, .06); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(45, 226, 255, .07); }
.table tr.is-total > * { background: rgba(255, 79, 216, .12); color: #fff; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(123, 92, 255, .6); box-shadow: var(--glow); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 58px 18px 20px;
  color: #fff; font: 600 1.08rem/1.4 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 600 1.2rem/1 var(--font-text);
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 20px 6px; color: var(--text-soft); }

/* ---------- Author (bottom of content, centered) ---------- */
.author-box { position: relative; margin: 56px auto 72px; max-width: 420px; padding: 32px 24px 28px; text-align: center; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(160deg, rgba(40, 30, 120, .6), rgba(12, 14, 46, .8)); box-shadow: var(--glow); overflow: hidden; }
.author-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.author-box__avatar {
  display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 800 1.2rem/1 var(--font-logo); letter-spacing: .05em;
  box-shadow: 0 0 0 4px var(--void-2), 0 0 0 6px rgba(45, 226, 255, .6), 0 0 30px rgba(123, 92, 255, .7);
}
.author-box__name { margin: 0 0 4px; color: #fff; font: 700 1.3rem/1.3 var(--font-display); }
.author-box__meta { margin: 0; color: var(--muted); font: 600 .84rem/1.4 var(--font-label); letter-spacing: .03em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 60px 0 120px; background: linear-gradient(180deg, rgba(10, 13, 46, .9), #03040f); color: var(--text-soft); border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--grad); box-shadow: 0 0 18px rgba(123, 92, 255, .8); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 48px; } }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .92rem; max-width: 40ch; }
.footer-col h2 { margin: 0 0 14px; color: #fff; font: 700 .76rem/1 var(--font-logo); letter-spacing: .2em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-link-btn { color: var(--text-soft); font: 500 .95rem/1.4 var(--font-text); text-decoration: none; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--ion); }
.footer-link-btn { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.footer-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 0; border-block: 1px solid var(--line); }
.footer-rg a { color: var(--text-soft); font-size: .92rem; }
.footer-legal { padding-top: 20px; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.footer-legal a { color: var(--ion); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border: 1px solid var(--line-strong); border-radius: 18px;
  background: rgba(10, 13, 46, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glow); overflow: hidden;
  transform: translateY(140%); transition: transform .25s ease;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-v); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { color: var(--muted); font-size: .74rem; line-height: 1.35; }
.sticky-cta__text strong { display: block; color: #fff; font: 700 .95rem/1.3 var(--font-logo); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 460px;
  padding: 24px 20px 20px; border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--surface-solid); box-shadow: var(--glow); overflow: hidden;
}
.cookie-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 8px; font-size: 1.15rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Legal pages ---------- */
.page-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--text-soft); max-width: 70ch; }
.page-hero__updated { color: var(--muted) !important; font: 600 .84rem/1.4 var(--font-label); }
.legal { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 960px) { .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } .toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.toc h2 { margin: 0 0 12px; color: var(--plasma); font: 700 .76rem/1 var(--font-logo); letter-spacing: .2em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: .92rem; }
.toc a { color: var(--text-soft); text-decoration: none; }
.toc a:hover { color: var(--ion); }
.legal__body { max-width: 820px; }
.legal__body section { margin-bottom: 36px; }
.legal__body h2 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); }
.legal__body h3 { margin-top: 1.4em; font-size: 1.1rem; }
.legal__body p, .legal__body li { color: var(--text-soft); }
.legal__body ul, .legal__body ol { padding-left: 22px; }
.notice { margin: 0 0 1.4em; padding: 16px 18px; border: 1px solid rgba(123, 92, 255, .4); border-left: 4px solid var(--ion); border-radius: 12px; background: rgba(123, 92, 255, .1); color: var(--text); }
