/* ================================================================
   FANTOMAS — style.css
   Design language : "The Dossier" — phantom-analyst intelligence
                      noir meets modern HUD. Layered obsidian navy,
                      signal-blue + brass accents, Cinzel / Barlow /
                      JetBrains Mono type system.
   Build            : hand-authored, zero build step, production-ready
   ================================================================ */

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Backgrounds — layered depth, never flat */
  --void:            #03050a;
  --bg-primary:      #070b14;
  --bg-secondary:    #0a0f1c;
  --bg-tertiary:     #0d1424;
  --bg-card:         #101a2c;
  --bg-card-hover:   #16233c;
  --bg-elevated:     #182644;

  /* Signal Blue — primary accent (matches the mark's glow) */
  --accent:          #2fa4ff;
  --accent-2:        #1e84e0;
  --accent-dim:      #145a94;
  --accent-glow:     rgba(47, 164, 255, .28);
  --accent-border:   rgba(47, 164, 255, .25);
  --accent-soft:     rgba(47, 164, 255, .08);

  /* Brass — secondary accent, used sparingly for premium moments */
  --brass:           #cda45e;
  --brass-2:         #e0bd7e;
  --brass-dim:       #8a6f3f;
  --brass-glow:      rgba(205, 164, 94, .25);
  --brass-border:    rgba(205, 164, 94, .3);

  /* Text */
  --text-primary:    #eef2f8;
  --text-secondary:  #b6c1d6;
  --text-muted:      #7c8aa3;
  --text-dim:        #45516a;

  /* Borders */
  --border:          rgba(255,255,255,.07);
  --border-2:        rgba(255,255,255,.13);
  --border-accent:   rgba(47, 164, 255, .28);
  --border-brass:    rgba(205, 164, 94, .35);

  /* Typography */
  --font-display:    'Cinzel', serif;
  --font-body:       'Barlow', sans-serif;
  --font-mono:       'JetBrains Mono', 'Courier New', monospace;

  /* Rhythm */
  --section-pad:     140px;
  --container:       1240px;
  --radius-sm:       4px;
  --radius:          10px;
  --radius-lg:       20px;

  /* Motion */
  --ease:            cubic-bezier(.16,1,.3,1);
  --ease-out:        cubic-bezier(.22,1,.36,1);
  --ease-spring:     cubic-bezier(.34,1.56,.64,1);
}

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

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg-primary);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) var(--bg-secondary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Fixed grain / noise layer — gives the flat dark palette texture
   instead of reading as a flat AI gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient vignette so edges recede — subtle, not a gradient blob cliché */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(47,164,255,.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 110%, rgba(205,164,94,.06), transparent 60%);
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: .02em;
  font-weight: 600;
}

p { color: var(--text-secondary); }

.accent { color: var(--accent); }
.accent-brass { color: var(--brass); }

a { color: inherit; text-decoration: none; transition: color .3s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout Helpers ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.section { padding: var(--section-pad) 0; position: relative; z-index: 2; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  padding: 7px 14px 7px 10px;
  border-radius: 2px;
  margin-bottom: 22px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 76px; }
.section-header.left { text-align: left; margin-left: 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  --mx: 50%; --my: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background .3s, color .3s;
  border: none;
  text-transform: uppercase;
  isolation: isolate;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent-border), 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--accent-border), 0 12px 42px -6px rgba(47,164,255,.55);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.02);
  color: var(--text-primary);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-telegram {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 55%, var(--accent-dim));
  color: #fff;
  font-size: 1.02rem;
  padding: 19px 46px;
  box-shadow: 0 0 0 1px var(--accent-border), 0 14px 50px -10px rgba(47,164,255,.5);
  overflow: hidden;
}
.btn-telegram::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-telegram:hover::before { transform: translateX(120%); }
.btn-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--accent-border), 0 18px 60px -8px rgba(47,164,255,.65);
}
.btn-arrow { transition: transform .35s var(--ease); }
.btn-telegram:hover .btn-arrow, .btn-primary:hover .btn-arrow { transform: translateX(5px); }

.btn:active { transform: translateY(0) scale(.98); }

/* ── Reveal-on-scroll ────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
}
body.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ── Language Toggle ─────────────────────────────────────────── */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-toggle button {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: color .3s ease;
}
.lang-toggle button.active { color: var(--void); }
.lang-toggle .lang-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 0 14px var(--accent-glow);
  transition: transform .38s var(--ease-spring);
  z-index: 1;
}
.lang-toggle[data-lang="en"] .lang-thumb { transform: translateX(100%); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
}
.navbar.scrolled {
  background: rgba(5, 8, 15, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: .12em;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 16px var(--accent-glow);
}
.nav-logo-text { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin-left: auto;
}
.nav-links a:not(.nav-cta) {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .3s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--text-primary); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a.nav-active { color: var(--accent); }
.nav-links a.nav-active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: .8rem !important;
  font-weight: 600;
  transition: background .3s, box-shadow .3s, transform .3s !important;
}
.nav-cta:hover {
  background: var(--accent-2);
  box-shadow: 0 0 26px var(--accent-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding: 140px 64px 90px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(47,164,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,164,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 78%);
}

.hero-particles, #particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 3; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.02);
  padding: 8px 16px 8px 12px;
  border-radius: 20px;
  margin-bottom: 30px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  color: var(--text-primary);
  margin-bottom: 22px;
  min-height: 2.4em;
}
.hero-title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .22em;
  background: linear-gradient(90deg, var(--accent-glow), transparent);
  z-index: -1;
}
.decode-line { display: inline-block; }

.hero-sub {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.85;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}
.hero-meta-value span { color: var(--text-primary); }
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-meta-divider { width: 1px; height: 32px; background: var(--border-2); }

/* Hero visual — HUD-framed portrait */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
}

.hero-image-glow {
  position: absolute;
  inset: -60px;
  z-index: -1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  filter: blur(10px);
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  box-shadow:
    0 0 0 10px var(--bg-primary),
    0 0 0 11px var(--border-2),
    0 30px 80px -20px rgba(0,0,0,.7);
  position: relative;
  z-index: 2;
}

/* HUD corner brackets — the frame's signature device */
.hud-corner {
  position: absolute;
  width: 34px; height: 34px;
  z-index: 3;
  border: 2px solid var(--accent);
  opacity: .85;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.hud-corner.tl { top: -14px; left: -14px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.hud-corner.tr { top: -14px; right: -14px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.hud-corner.bl { bottom: -14px; left: -14px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.hud-corner.br { bottom: -14px; right: -14px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }

.hero-image-frame .scan-line {
  position: absolute;
  left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 4;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px var(--accent));
  animation: scan-sweep 4.5s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%   { top: 8%;  opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 92%; opacity: 1; }
  58%  { opacity: 0; }
  100% { top: 92%; opacity: 0; }
}

.hero-tag {
  position: absolute;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--text-secondary);
  background: rgba(7,11,20,.88);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
  padding: 6px 11px;
  border-radius: 3px;
  white-space: nowrap;
  max-width: 46%;
}
.hero-tag i { color: var(--accent); margin-right: 5px; }
/* Sit inside the frame's own square bounding box (the circle leaves its
   corners empty) — guarantees no spillover into neighbouring columns
   at any viewport width. */
.hero-tag.tag-top { top: 4%; right: 2%; }
.hero-tag.tag-bottom { bottom: 4%; left: 2%; }

/* ============================================================
   MARQUEE / DATA TICKER
   ============================================================ */
.ticker-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}
.marquee-wrapper { overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 64s linear infinite; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--text-secondary);
}
.marquee-dot { color: var(--accent); font-size: .8rem; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sports-strip { padding: 13px 0; border-top: 1px solid var(--border); }
.sports-track { display: flex; width: max-content; animation: marquee-scroll-rev 52s linear infinite; }
.sports-content {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  padding-right: 40px;
}
.sports-content span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.sports-content i { color: var(--brass); font-size: .82rem; }
@keyframes marquee-scroll-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (hover: hover) {
  .marquee-wrapper:hover .marquee-track,
  .sports-strip:hover .sports-track { animation-play-state: paused; }
}

/* ============================================================
   LATEST VIDEO — compact featured showcase, right under the ticker
   ============================================================ */
.latest-video { padding: 64px 0; position: relative; z-index: 2; }
.lv-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.lv-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }

.lv-thumb {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lv-thumb #ytFallbackIcon {
  font-size: 2.2rem;
  color: var(--text-dim);
  transition: opacity .3s ease;
}
.lv-thumb #ytFallbackIcon.yt-icon-hidden { opacity: 0; }
.lv-thumb img#ytThumbImg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}
.lv-thumb img#ytThumbImg.loaded { opacity: 1; }
.lv-play {
  position: absolute;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(7,11,20,.72);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: background .3s, transform .3s var(--ease);
}
.lv-play i { margin-left: 2px; }
.lv-card:hover .lv-play { background: var(--accent); transform: scale(1.1); }

.lv-info { min-width: 0; flex: 1; }
.lv-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.lv-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lv-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
}
.lv-cta i { transition: transform .3s var(--ease); }
.lv-card:hover .lv-cta i { transform: translateX(4px); }

/* ============================================================
   NUMBERS / DOSSIER STATS
   ============================================================ */
.numbers { padding-top: 100px; padding-bottom: 100px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.number-card {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.number-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.number-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.number-card:hover::before { opacity: 1; }
.number-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 1.05rem;
}
.number-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline;
}
.number-plus { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); display: inline; }
.number-label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 20px;
}
.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--brass);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.step-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 1.4rem;
  box-shadow: 0 0 30px -8px var(--accent-glow);
}
.step-content h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-content p { font-size: .92rem; color: var(--text-muted); }

.process-connector {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.connector-line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--border-2), var(--text-dim)); }

.process-cta { text-align: center; margin-top: 60px; }

/* ============================================================
   SHARED — cursor-reactive glow border (used across card types)
   ============================================================ */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .glow-card:hover::before { opacity: 1; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; height: 460px; }
.about-card-stack { position: relative; width: 100%; height: 100%; }

.about-logo-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 190px; height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 0 8px var(--bg-primary), 0 0 60px -10px var(--accent-glow);
  z-index: 2;
}
.about-logo-center img { width: 100%; height: 100%; object-fit: cover; }

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--text-secondary);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.6);
  animation: float-card 6s ease-in-out infinite;
}
.about-card i { color: var(--accent); font-size: 1rem; }
/* Positioned so every card stays fully above or fully below the center
   portrait's vertical span — guarantees no overlap at any container width */
.about-card-1 { top: 0; left: 0; animation-delay: 0s; }
.about-card-2 { top: 0; right: 0; animation-delay: 1.4s; }
.about-card-3 { bottom: 2%; left: 10%; animation-delay: 2.8s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-text .section-label { margin-bottom: 20px; }
.about-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.85;
  max-width: 540px;
}
.about-text p strong { color: var(--text-primary); font-weight: 600; }

.about-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(205,164,94,.05);
  border: 1px solid var(--brass-border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--text-muted);
  max-width: 540px;
}
.about-disclaimer i { color: var(--brass); margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   WHY US — bento grid
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(196px, auto);
  align-items: stretch;
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.feature-card:hover { border-color: var(--border-2); transform: translateY(-4px); background: var(--bg-card-hover); }

.features-grid .feature-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.features-grid .feature-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.features-grid .feature-card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.features-grid .feature-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.features-grid .feature-card:nth-child(5) { grid-column: span 4; grid-row: span 1; flex-direction: row; align-items: center; gap: 28px; justify-content: flex-start; }
.features-grid .feature-card:nth-child(5) .feature-icon { margin-bottom: 0; }
.features-grid .feature-card:nth-child(5) h3 { margin-bottom: 0; }
.features-grid .feature-card:nth-child(5) p { max-width: 480px; }

.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.features-grid .feature-card:nth-child(1) .feature-icon {
  width: 64px; height: 64px; font-size: 1.6rem;
  margin-bottom: 28px;
}
.feature-card h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: 10px; }
.features-grid .feature-card:nth-child(1) h3 { font-size: 1.55rem; margin-bottom: 14px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* Capability tags — give the large hero card's extra vertical room real
   content instead of empty space */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.feature-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 7px 13px;
  border-radius: 20px;
  white-space: nowrap;
}


/* ============================================================
   TELEGRAM CTA
   ============================================================ */
.telegram-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.telegram-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, var(--accent-soft), transparent 70%),
    linear-gradient(rgba(47,164,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,164,255,.05) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
}
.telegram-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.telegram-icon-big {
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 2.1rem;
  box-shadow: 0 0 60px -8px var(--accent-glow);
}
.telegram-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--text-primary);
  margin-bottom: 18px;
}
.telegram-sub { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 38px; line-height: 1.8; }
.telegram-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.telegram-note i { color: var(--accent); margin-right: 6px; }

/* ============================================================
   SOCIALS
   ============================================================ */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.social-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.social-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: #fff;
}
.telegram-icon { background: linear-gradient(135deg,#2fa4ff,#1877c9); }
.youtube-icon { background: linear-gradient(135deg,#ff4d4d,#c92a2a); }
.instagram-icon { background: linear-gradient(135deg,#e0995e,#c73f8e 55%,#6a3fc7); }

.social-info h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 4px; }
.social-info p { font-size: .82rem; color: var(--text-muted); }
.social-arrow {
  margin-left: auto;
  color: var(--text-dim);
  transition: transform .3s var(--ease), color .3s;
  flex-shrink: 0;
}
.social-card:hover .social-arrow { color: var(--accent); transform: translateX(4px); }

/* ============================================================
   TESTIMONIALS — styled as intercepted Telegram transmissions
   ============================================================ */
.testimonials-band { display: flex; flex-direction: column; }
.t-row { overflow: hidden; }
.t-track { display: flex; width: max-content; }
.t-track.row-a { animation: marquee-scroll 92s linear infinite; }
@media (hover: hover) {
  .t-row:hover .t-track { animation-play-state: paused; }
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  margin-right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.testimonial-meta strong { display: block; font-size: .92rem; color: var(--text-primary); font-weight: 600; }
.testimonial-meta span {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--text-dim);
  letter-spacing: .03em;
}
.testimonial-stars { margin-left: auto; color: var(--brass); font-size: .78rem; letter-spacing: 1px; }
.testimonial-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.t-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.t-channel-tag i { color: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.faq-open { border-color: var(--border-accent); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}
.faq-icon { color: var(--accent); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(135deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-answer-inner { overflow: hidden; }
.faq-answer.open { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 26px 24px; font-size: .92rem; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 90px;
  overflow: hidden;
  z-index: 2;
}
.footer-grid-overlay {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.footer-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .1em; color: var(--text-primary); }
.footer-logo img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent-border); }
.footer-slogan { font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); letter-spacing: .04em; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text-muted);
  transition: all .3s var(--ease);
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.footer-nav h4, .footer-contact h4, .footer-legal-col h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-nav ul, .footer-contact ul, .footer-legal-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a { font-size: .88rem; color: var(--text-muted); transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact a { display: flex; align-items: center; gap: 8px; }
.footer-legal-col a { font-size: .88rem; color: var(--text-muted); transition: color .3s; }
.footer-legal-col a:hover { color: var(--accent); }

.footer-age-badge { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.age-badge {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
}
.age-text { font-size: .74rem; color: var(--text-dim); }

.footer-responsible {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  flex-wrap: wrap;
}
.responsible-link { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); transition: color .3s; }
a.responsible-link:hover { color: var(--accent); }
.responsible-link i { color: var(--brass); font-size: .85rem; }
.responsible-sep { color: var(--text-dim); }

.footer-bottom { position: relative; z-index: 2; padding: 32px 0 28px; }
.footer-disclaimer {
  font-size: .76rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
}
.footer-disclaimer strong { color: var(--text-muted); }
.footer-bottom-links {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 18px;
  font-size: .82rem;
}
.footer-bottom-links a, .cookie-settings-btn { color: var(--text-muted); transition: color .3s; }
.footer-bottom-links a:hover, .cookie-settings-btn:hover { color: var(--accent); }
.cookie-settings-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; padding: 0; }
.footer-bottom-links span { color: var(--text-dim); }
.footer-copy { text-align: center; font-size: .78rem; color: var(--text-dim); }

/* ============================================================
   AGE GATE MODAL
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, .96);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-gate.hidden { display: none; }
.age-gate-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 52px 44px 44px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 100px -10px var(--accent-glow);
}
.age-gate-box::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 12px var(--accent);
}
.age-gate-logo {
  width: 76px; height: 76px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 24px var(--accent-glow);
}
.age-gate-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brass);
  margin: 0 auto 22px;
}
.age-gate-box h2 { font-size: 1.6rem; margin-bottom: 14px; }
.age-gate-box p { color: var(--text-muted); font-size: .92rem; line-height: 1.75; margin-bottom: 28px; }
.age-gate-box p strong { color: var(--text-primary); }
.age-gate-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.age-gate-buttons .btn { width: 100%; justify-content: center; }
.age-gate-note { font-size: .76rem !important; color: var(--text-dim) !important; margin-bottom: 0 !important; line-height: 1.7 !important; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,15,28,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-accent);
  z-index: 5000;
  padding: 22px 32px;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  box-shadow: 0 -10px 50px rgba(0,0,0,.5);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.cookie-banner-text { flex: 1; min-width: 260px; }
.cookie-banner-text strong { display: block; font-size: .95rem; color: var(--text-primary); margin-bottom: 6px; }
.cookie-banner-text strong i { color: var(--accent); margin-right: 6px; }
.cookie-banner-text p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-accept {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none;
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: background .3s, box-shadow .3s;
}
.btn-cookie-accept:hover { background: var(--accent-2); box-shadow: 0 0 20px var(--accent-glow); }
.btn-cookie-reject {
  background: transparent; border: 1px solid var(--border-2); color: var(--text-muted);
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .3s;
}
.btn-cookie-reject:hover { border-color: var(--text-muted); color: var(--text-primary); }
.btn-cookie-more { font-size: .82rem; color: var(--text-muted); text-decoration: underline; transition: color .3s; }
.btn-cookie-more:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s var(--ease);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; box-shadow: 0 0 24px var(--accent-glow); transform: translateY(-3px); }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal-hero { padding: 150px 0 60px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); text-align: center; }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 12px; }
.legal-hero p { color: var(--text-muted); font-size: .92rem; }

.legal-content { max-width: 820px; margin: 0 auto; padding: 76px 32px 110px; position: relative; z-index: 2; }
.legal-content h2 { font-size: 1.2rem; color: var(--accent); margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-accent); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: .93rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 15px; }
.legal-content ul { list-style: none; margin: 0 0 15px 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.legal-content ul li { font-size: .93rem; color: var(--text-muted); line-height: 1.75; padding-left: 22px; position: relative; }
.legal-content ul li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.legal-content strong { color: var(--text-primary); font-weight: 500; }
.legal-content a { color: var(--accent); text-decoration: underline; }

.legal-box { background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: var(--radius); padding: 22px 26px; margin: 20px 0; font-size: .89rem; color: var(--text-muted); line-height: 1.75; }
.legal-box strong { color: var(--accent); }

.legal-updated { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 4px; padding: 7px 15px; font-family: var(--font-mono); font-size: .74rem; color: var(--accent); margin-bottom: 34px; }

.cookie-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 26px; }
.cookie-table { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; font-size: .85rem; }
.cookie-table th { background: var(--bg-card); color: var(--text-primary); padding: 11px 15px; text-align: left; font-family: var(--font-body); font-weight: 600; border-bottom: 1px solid var(--border-accent); }
.cookie-table td { padding: 11px 15px; color: var(--text-muted); border-bottom: 1px solid var(--border); vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }

.warning-box { background: rgba(205,164,94,.05); border: 1px solid var(--brass-border); border-radius: var(--radius); padding: 22px 26px; margin: 20px 0; font-size: .92rem; color: var(--text-muted); line-height: 1.75; }
.warning-box strong { color: var(--brass); }

.legal-back { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border); }
.legal-back a { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.simple-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 26px 0; text-align: center; position: relative; z-index: 2; }
.simple-footer p { font-size: .8rem; color: var(--text-dim); }
.simple-footer a { color: var(--text-dim); transition: color .3s; }
.simple-footer a:hover { color: var(--accent); }

/* ============================================================
   LANGUAGE-SWITCH FOUC GUARD
   ============================================================ */
html:not(.i18n-ready) body { visibility: hidden; }

/* ============================================================
   RESPONSIVE — LAPTOP (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(190px, auto); }
  .features-grid .feature-card:nth-child(1) { grid-column: span 2; grid-row: span 1; flex-direction: row; align-items: center; gap: 24px; }
  .features-grid .feature-card:nth-child(1) .feature-icon { margin-bottom: 0; }
  .features-grid .feature-card:nth-child(1) h3 { font-size: 1.2rem; }
  .features-grid .feature-card:nth-child(2) { grid-column: span 2; }
  .features-grid .feature-card:nth-child(5) { grid-column: span 2; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 84px; }

  .lv-card { flex-direction: column; align-items: stretch; text-align: center; }
  .lv-thumb { width: 100%; }
  .lv-label { justify-content: center; }

  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5,8,15,.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.nav-cta) { display: block; padding: 15px 32px; border-bottom: 1px solid var(--border); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 14px 32px 4px; justify-content: center; }
  .lang-toggle {
  margin-left: auto; /* Posunie prepínač doprava k hamburgeru */
}

  .hero { grid-template-columns: 1fr; text-align: center; padding: 150px 24px 90px; gap: 60px; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-image-frame { width: 260px; height: 260px; }
  .hero-cta-group { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-tag { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { max-width: 420px; margin: 0 auto; height: 400px; }

  .features-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .features-grid .feature-card:nth-child(1),
  .features-grid .feature-card:nth-child(2),
  .features-grid .feature-card:nth-child(5) { grid-column: span 2; }
  .features-grid .feature-card:nth-child(1) { flex-direction: column; align-items: flex-start; }
  .features-grid .feature-card:nth-child(5) { flex-direction: column; align-items: flex-start; text-align: left; }

  .socials-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonial-card { width: 320px; }

  .numbers-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { flex-direction: column; align-items: center; gap: 8px; }
  .process-step { max-width: 380px; }
  .process-connector { flex-direction: row; margin-top: 0; transform: rotate(90deg); padding: 6px 0; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-responsible { gap: 10px 16px; font-size: .76rem; }
  .responsible-sep { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-pad: 64px; }

  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .section-title { font-size: 1.75rem; }
  .section-header { margin-bottom: 56px; }

  .latest-video { padding: 44px 0; }
  .lv-card { padding: 16px; gap: 18px; }
  .lv-title { font-size: 1.02rem; }

  .hero { padding: 130px 20px 70px; }
  .hero-title { font-size: 2.1rem; min-height: 0; }
  .hero-image-frame { width: 210px; height: 210px; }
  .hud-corner { width: 26px; height: 26px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-meta-divider { display: none; }
  .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card:nth-child(1),
  .features-grid .feature-card:nth-child(2),
  .features-grid .feature-card:nth-child(5) { grid-column: span 1; }

  .testimonials-band { gap: 14px; }
  .testimonial-card { width: 84vw; padding: 20px; }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .number-card { padding: 28px 16px; }
  .number-value, .number-plus { font-size: 1.9rem; }

  .about-card { font-size: .7rem; padding: 12px 16px; }
  .about-visual { height: 340px; }
  .about-logo-center { width: 150px; height: 150px; }

  .footer { padding-top: 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-disclaimer { text-align: left; }

  .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }

  .cookie-banner { padding: 18px 20px; }
  .cookie-banner-inner { flex-direction: column; gap: 16px; align-items: stretch; }
  .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn-cookie-more { text-align: center; }

  .age-gate-box { padding: 40px 24px; }

  .legal-hero { padding: 120px 0 50px; }
  .legal-content { padding: 52px 20px 84px; }
  .cookie-table { font-size: .76rem; min-width: 560px; }
  .cookie-table th, .cookie-table td { padding: 8px 10px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.8rem; }
  .lang-toggle button { padding: 6px 9px; font-size: .62rem; }
}

/* ============================================================
   PRELOADER — brand moment, ~2s, then dissolves to reveal the site
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .8s var(--ease-out);
}
.preloader::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(47,164,255,.10), transparent 62%);
}
.preloader-inner {
  position: relative;
  width: 148px; height: 148px;
  display: flex; align-items: center; justify-content: center;
}
.preloader-ring, .preloader-ring-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.preloader-ring { border-top-color: var(--accent); border-right-color: var(--accent); animation: preloader-spin 1.3s linear infinite; }
.preloader-ring-2 { inset: -16px; border-bottom-color: var(--brass); opacity: .6; animation: preloader-spin 2.1s linear infinite reverse; }
.preloader-logo-wrap {
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 50px var(--accent-glow), 0 0 0 1px var(--accent-border);
  animation: preloader-breathe 1.8s ease-in-out infinite;
}
.preloader-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.preloader-word {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .35em;
  color: var(--text-dim);
  white-space: nowrap;
}
.preloader-word span { color: var(--accent); }

@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.preloader.leaving {
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.06) rotateX(8deg);
  pointer-events: none;
}
.preloader.hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity .3s ease; }
  .preloader.leaving { transform: none; filter: none; }
  .preloader-ring, .preloader-ring-2, .preloader-logo-wrap { animation: none; }
}

/* ============================================================
   ABOUT — MOBILE FIX (prevents card/logo overlap on small screens)
   ============================================================ */
@media (max-width: 768px) {
  .about-visual {
    height: auto;
  }

  .about-card-stack {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;
  }

  .about-card {
    position: static;
    max-width: 92%;
    width: 100%;
    animation: none; /* avoid float animation shifting things on small screens */
  }

  .about-card-1 { order: 1; }
  .about-card-2 { order: 2; }

  .about-logo-center {
    position: static;
    transform: none;
    order: 3;
    margin: 8px auto;
  }

  .about-card-3 { order: 4; }
}