/* =============================================================
   IC7 GAME — Global Reset + Shared Components
   ============================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--color-bg);
  color: var(--color-white-90);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; }
::selection { background: var(--color-red-500); color: #fff; }

/* ---------- LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-24); }
.section--tight { padding-block: var(--space-16); }
.bg-alt { background: var(--color-bg-2); }
.text-red { color: var(--color-red-500); }

/* Section heading block */
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.section-head__eyebrow {
  display: inline-block;
  color: var(--color-red-400);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.section-head h2 {
  font-size: var(--text-3xl);
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.section-head p { color: var(--color-white-65); margin-top: var(--space-3); font-size: var(--text-base); }

/* ---------- SLASH DIVIDER ---------- */
.slash-divider {
  height: 60px;
  background: linear-gradient(135deg, var(--color-bg) 49%, var(--color-bg-2) 51%);
}
.slash-divider--rev {
  background: linear-gradient(135deg, var(--color-bg-2) 49%, var(--color-bg) 51%);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--dur-base) var(--ease-out);
}
.btn--red { background: var(--gradient-red); color: #fff; border-radius: var(--radius-pill); }
.btn--red:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px) scale(1.02); }
.btn--white { background: #fff; color: var(--color-red-500); border-radius: var(--radius-pill); font-weight: 700; }
.btn--white:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
}
.btn--outline:hover { border-color: var(--color-red-500); color: var(--color-red-400); }
.btn--sm { padding: 8px 20px;  font-size: var(--text-sm); }
.btn--md { padding: 12px 28px; font-size: var(--text-base); }
.btn--lg { padding: 16px 36px; font-size: var(--text-lg); }
.btn--xl { padding: 20px 48px; font-size: var(--text-xl); }

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.site-nav.scrolled {
  background: rgba(10,10,12,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}
.site-nav__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
}
.site-nav__logo { display: flex; align-items: center; }
.site-nav__logo img { height: 44px; width: auto; transition: transform var(--dur-base) var(--ease-out); }
.site-nav__logo:hover img { transform: scale(1.04); }
.site-nav__links { display: flex; align-items: center; gap: var(--space-8); }
.site-nav__links a {
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-white-65);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: 500;
  padding: 4px 0;
  transition: color var(--dur-fast);
}
.site-nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--color-red-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.site-nav__links a:hover { color: var(--color-white); }
.site-nav__links a:hover::after,
.site-nav__links a.active::after { transform: scaleX(1); }
.site-nav__links a.active { color: var(--color-red-500); }
.site-nav__cta { display: flex; align-items: center; gap: var(--space-4); }
.site-nav__cta .btn { padding: 10px 24px; font-size: var(--text-sm); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav__logo img { height: 34px; }
  .site-nav__links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: var(--space-6);
    background: var(--color-bg-2);
    border-left: 1px solid var(--color-border-red);
    padding: var(--space-24) var(--space-8);
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    z-index: var(--z-nav);
  }
  body.nav-open .site-nav__links { transform: translateX(0); }
  .site-nav__links a { font-size: var(--text-lg); min-height: 44px; display: flex; align-items: center; }
  .site-nav__cta .btn { display: none; }
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-block: var(--space-20) var(--space-12);
}
.footer-brand__logo { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer-brand__tag {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-5);
}
.footer-social { display: flex; gap: var(--space-3); margin-bottom: var(--space-5); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-surface-2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base), transform var(--dur-base);
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a svg path { fill: var(--color-red-500); }
.footer-social a:hover { background: var(--color-red-500); transform: translateY(-3px); }
.footer-social a:hover svg path { fill: #fff; }
.footer-copy { font-size: var(--text-sm); color: var(--color-white-38); }
.footer-col h4 {
  font-size: var(--text-sm);
  color: var(--color-white);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul a { font-size: var(--text-sm); color: var(--color-white-65); transition: color var(--dur-fast); }
.footer-col ul a:hover { color: var(--color-red-400); }
.footer-download .btn { width: 100%; margin-bottom: var(--space-3); }
.footer-download__sub { font-size: var(--text-xs); color: var(--color-white-38); }
.footer-compliance {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-white-38);
  line-height: 1.7;
}
.footer-compliance .container { max-width: 960px; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-white-38);
}

@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- FLOATING TELEGRAM ---------- */
.tg-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: var(--z-modal);
  display: flex; align-items: center; gap: 8px;
  background: var(--color-red-500);
  color: #fff; text-decoration: none;
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(232,25,44,0.45);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.tg-float svg { position: relative; z-index: 1; }
.tg-float:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 32px rgba(232,25,44,0.55); }
.tg-float::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-red-500);
  animation: tg-pulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes tg-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0;   }
}
@media (max-width: 767px) {
  .tg-float__label { display: none; }
  .tg-float { padding: 14px; bottom: 20px; right: 20px; }
}

/* ---------- AGE GATE MODAL ---------- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: var(--z-toast);
  background: rgba(5,5,7,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: var(--space-6);
  animation: fadeIn var(--dur-base) var(--ease-out);
}
.modal-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-red);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  max-width: 460px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow-sm);
}
.modal-logo { height: 56px; width: auto; margin: 0 auto var(--space-5); }
.modal-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-red-glow-sm);
  border: 2px solid var(--color-red-500);
  color: var(--color-red-400);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
  margin: 0 auto var(--space-5);
}
.modal-heading { font-size: var(--text-2xl); color: var(--color-white); margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.modal-body { font-size: var(--text-sm); color: var(--color-white-65); margin-bottom: var(--space-8); }
.modal-card .btn { width: 100%; margin-bottom: var(--space-4); }
.modal-exit { display: inline-block; font-size: var(--text-sm); color: var(--color-white-38); transition: color var(--dur-fast); }
.modal-exit:hover { color: var(--color-white-65); }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--stagger > * { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal--stagger.revealed > * { opacity: 1; transform: translateY(0); }

/* ---------- GAME CARD (shared) ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
}
.game-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.game-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-glow); border-color: var(--color-border-red); }
.game-card__link { display: block; }
.game-card__thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-surface-3); }
.game-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.game-card:hover .game-card__thumb img { transform: scale(1.08); }
.game-card__overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur-base);
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--color-red-500); color: #fff;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide);
}
.game-card__body { padding: var(--space-4); }
.game-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-white); margin-bottom: 4px; line-height: 1.2; }
.game-card__cat { font-size: var(--text-xs); color: var(--color-red-400); text-transform: uppercase; letter-spacing: var(--tracking-wide); }

@media (max-width: 640px) { .games-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } }

/* ---------- STATS BAR ---------- */
.stats-bar { background: var(--color-surface); border-top: 1px solid var(--color-border-red); border-bottom: 1px solid var(--color-border); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: var(--space-10) var(--space-4); border-right: 1px solid var(--color-border); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; color: var(--color-red-500); line-height: 1; }
.stat__label { font-size: var(--text-sm); color: var(--color-white-65); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-top: var(--space-2); }
@media (max-width: 640px) { .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--color-border); }
  .stat:nth-child(2) { border-right: none; } }

/* ---------- PROVIDER MARQUEE ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--space-6); width: max-content; animation: marquee-scroll 26s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.provider-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--color-white-38);
  text-transform: uppercase;
  transition: color var(--dur-base), border-color var(--dur-base);
  white-space: nowrap;
}
.provider-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-red-500); opacity: 0.5; }
.provider-chip:hover { color: var(--color-white); border-color: var(--color-border-red); }

/* ---------- FEATURE CARD (shared) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-red-500);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-red-glow-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.feature-card__icon svg { width: 26px; height: 26px; stroke: var(--color-red-500); fill: none; }
.feature-card h3 { font-size: var(--text-xl); color: var(--color-white); margin-bottom: var(--space-3); }
.feature-card p { font-size: var(--text-sm); color: var(--color-white-65); }

/* ---------- COMPACT PAGE HEADER ---------- */
.page-header {
  position: relative;
  min-height: 280px;
  display: flex; align-items: center;
  padding-top: 72px;
  background:
    radial-gradient(circle at 70% 30%, rgba(232,25,44,0.18), transparent 55%),
    var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-header__inner { width: 100%; }
.page-header h1 { font-size: var(--text-4xl); color: var(--color-white); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.page-header p { color: var(--color-white-65); margin-top: var(--space-3); }
.breadcrumb { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-white-38); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.breadcrumb a:hover { color: var(--color-red-400); }
.breadcrumb span { color: var(--color-red-400); }

/* ---------- RESPONSIVE NOTICE STRIP ---------- */
.notice-strip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-white-38);
  line-height: 1.8;
}
.notice-strip strong { color: var(--color-white-65); }

/* ---------- STEP LIST (shared: home, how-to-play, bonuses, refer-earn) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); position: relative; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; text-align: center; padding: var(--space-6); }
.step__num { font-family: var(--font-display); font-size: var(--text-6xl); font-weight: 700; color: var(--color-red-glow); line-height: 1; }
.step h3 { font-size: var(--text-xl); color: var(--color-white); margin: var(--space-3) 0; text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.step p { font-size: var(--text-sm); color: var(--color-white-65); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 40px; right: -16px; width: 32px;
  border-top: 2px dashed var(--color-border-red);
}
@media (max-width: 767px) {
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- FAQ ACCORDION (shared) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--dur-base);
}
.faq-item--open { border-left: 3px solid var(--color-red-500); }
.faq-item__q {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-size: var(--text-lg); color: #fff; font-weight: 600;
}
.faq-item__chev { flex: none; transition: transform var(--dur-base) var(--ease-out); color: var(--color-red-500); }
.faq-item--open .faq-item__chev { transform: rotate(180deg); }
.faq-item__body { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-out); }
.faq-item--open .faq-item__body { max-height: 800px; }
.faq-item__body p { padding: 0 var(--space-6) var(--space-5); color: var(--color-white-65); font-size: var(--text-sm); line-height: 1.7; }
.faq-item__body p + p { padding-top: 0; }

/* ---------- INFO PAGE HERO (bonuses / how-to-play / refer-earn) ---------- */
.info-hero {
  position: relative;
  padding: 150px 0 70px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(232,25,44,0.18), transparent 55%), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.info-hero h1 { font-size: clamp(2.25rem, 6vw, var(--text-5xl)); color: #fff; text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.info-hero p { color: var(--color-white-65); font-size: var(--text-lg); margin: var(--space-4) auto 0; max-width: 620px; }
.info-hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-8); }

/* ---------- CHIP (shared: hero trust chips) ---------- */
.dl-chip {
  font-size: var(--text-xs); color: var(--color-white-65);
  background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 8px 16px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 6px;
}
.dl-chip::before { content: '✓'; color: var(--color-red-500); font-weight: 700; }

/* ---------- PROSE BLOCK (long-form informational copy) ---------- */
.prose { max-width: 780px; }
.prose.center { margin-inline: auto; text-align: left; }
.prose p { color: var(--color-white-65); font-size: var(--text-base); line-height: 1.75; margin-bottom: var(--space-5); }
.prose h3 { font-size: var(--text-xl); color: #fff; margin: var(--space-8) 0 var(--space-3); }
.prose ul, .prose ol { margin: 0 0 var(--space-5) var(--space-6); color: var(--color-white-65); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); line-height: 1.7; }
.prose strong { color: var(--color-white-90); }
.prose a { color: var(--color-red-400); }
.prose a:hover { text-decoration: underline; }

/* ---------- LEGAL DOC ---------- */
.legal-doc {
  max-width: 760px; margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
}
.legal-doc h2 {
  font-size: var(--text-xl);
  color: var(--color-white);
  margin: var(--space-8) 0 var(--space-3);
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-red-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: var(--color-white-65); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.legal-doc ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); color: var(--color-white-65); font-size: var(--text-sm); }
.legal-doc ul li { margin-bottom: var(--space-2); }
.legal-doc a { color: var(--color-red-400); }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc__updated { margin-top: var(--space-10); font-size: var(--text-xs); color: var(--color-white-38); font-style: italic; }
@media (max-width: 560px) { .legal-doc { padding: var(--space-8) var(--space-5); } }

/* ---------- 404 ---------- */
.err-page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-16) var(--space-6);
  background: radial-gradient(circle at 50% 35%, rgba(232,25,44,0.15), transparent 55%), var(--color-bg);
}
.err-page__code { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 10rem); font-weight: 700; color: var(--color-red-500); line-height: 1; text-shadow: var(--shadow-glow); }
.err-page h1 { font-size: var(--text-3xl); color: #fff; text-transform: uppercase; letter-spacing: var(--tracking-wide); margin: var(--space-4) 0; }
.err-page p { color: var(--color-white-65); max-width: 420px; margin-bottom: var(--space-8); }
.err-page__cta { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
.err-page__logo { height: 52px; margin-bottom: var(--space-8); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(232,25,44,0.0), var(--shadow-glow); }
  50%      { box-shadow: 0 0 60px rgba(232,25,44,0.55); }
}

/* ---------- RESPONSIVE TYPE ---------- */
@media (max-width: 767px) {
  .section { padding-block: var(--space-16); }
  .section-head h2 { font-size: var(--text-2xl); }
  .page-header h1 { font-size: var(--text-3xl); }
  .stat__num { font-size: var(--text-3xl); }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal.revealed, .reveal--stagger > * { opacity: 1 !important; transform: none !important; }
}
