/* Fonts — self-hosted from /assets/fonts */
@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/orbitron-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('/assets/fonts/exo2-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('/assets/fonts/exo2-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('/assets/fonts/exo2-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('/assets/fonts/exo2-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('/assets/fonts/exo2-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Exo 2', system-ui, sans-serif;

  /* --- Surfaces --- */
  --color-bg: #050a12;
  --color-surface: #0a1524;
  --color-surface-muted: #0f1c2e;
  --color-surface-subtle: #122033;
  --color-skeleton: #1a2a3d;
  --color-skeleton-strong: #243447;

  /* --- Text --- */
  --color-text: #eef5ff;
  --color-text-secondary: #c5d4e8;
  --color-text-muted: #9aafc4;
  --color-text-subtle: #7a92ab;
  --color-text-faint: #5e7690;
  --color-text-faintest: #4a6078;

  /* --- Lines --- */
  --color-border: #1e3a55;
  --color-border-strong: #00a3ff;
  --color-border-soft: #163049;
  --color-border-softer: #12283c;
  --color-border-input: #2a4a66;
  --color-border-muted: #35506a;

  /* --- Inverted (CTA, banners, badges) --- */
  --color-inverted-bg: #0072ff;
  --color-inverted-bg-hover: #00a3ff;
  --color-inverted-text: #ffffff;
  --color-contrast-bg: #000810;
  --color-contrast-text: #eef5ff;

  /* --- Accent (glow / highlights) --- */
  --color-accent: #00a3ff;
  --color-accent-bright: #4dcfff;
  --color-accent-deep: #0057cc;
  --color-accent-soft: rgba(0, 163, 255, 0.16);
  --color-accent-glow: rgba(0, 163, 255, 0.45);

  /* --- Chrome / offer surfaces --- */
  --color-header-bg: rgba(5, 10, 18, 0.72);
  --gradient-offer: linear-gradient(
    145deg,
    rgba(8, 22, 42, 0.94) 0%,
    rgba(0, 70, 140, 0.55) 48%,
    rgba(0, 170, 255, 0.28) 100%
  );
  --gradient-offer-top1: linear-gradient(
    145deg,
    rgba(6, 28, 58, 0.96) 0%,
    rgba(0, 90, 190, 0.62) 46%,
    rgba(0, 210, 255, 0.38) 100%
  );
  --gradient-offer-top2: linear-gradient(
    145deg,
    rgba(8, 24, 46, 0.95) 0%,
    rgba(0, 78, 160, 0.52) 50%,
    rgba(0, 180, 255, 0.3) 100%
  );
  --gradient-offer-top3: linear-gradient(
    145deg,
    rgba(8, 22, 42, 0.94) 0%,
    rgba(0, 68, 140, 0.48) 52%,
    rgba(0, 160, 240, 0.26) 100%
  );
  --shadow-offer: 0 10px 28px rgba(0, 20, 50, 0.45),
    0 0 0 1px rgba(0, 163, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-offer-top: 0 14px 36px rgba(0, 40, 90, 0.55),
    0 0 24px rgba(0, 163, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* --- Overlay --- */
  --color-overlay: rgba(0, 8, 16, 0.9);
  --color-overlay-soft: rgba(0, 8, 16, 0.65);

  /* --- Spinner --- */
  --color-spinner-track: #1e3a55;
  --color-spinner-head: #00a3ff;

  /* --- Layout --- */
  --layout-max-width: 1200px;
  --layout-padding-x: 1.25rem;
  --content-max-width: 900px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
}

.pageShell {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Site background ───────────────────────────────────── */
.siteBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.siteBgDesktop,
.siteBgMobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.siteBgDesktop {
  display: none;
}

.siteBgMobile {
  display: block;
}

@media (min-width: 769px) {
  .siteBgDesktop {
    display: block;
  }

  .siteBgMobile {
    display: none;
  }
}

/* ── Header ────────────────────────────────────────────── */
.header {
  position: relative;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-header-bg);
  backdrop-filter: blur(10px);
}

.headerInner {
  position: relative;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 12px var(--layout-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.headerHome {
  display: inline-flex;
  align-items: center;
  max-width: min(180px, 55vw);
  flex-shrink: 0;
}

.headerLogo {
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.headerDesktopNav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.headerLink {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-secondary);
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.headerLink:hover {
  color: var(--color-accent-bright);
  border-bottom-color: var(--color-accent);
}

.headerMenu {
  position: relative;
  margin-left: auto;
}

.headerBurger {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 8, 16, 0.35);
  cursor: pointer;
  box-sizing: border-box;
}

.headerBurger::-webkit-details-marker {
  display: none;
}

.headerBurgerLine {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--color-text);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  transform-origin: center;
}

.headerMenu[open] .headerBurger {
  border-color: var(--color-accent);
  box-shadow: 0 0 14px var(--color-accent-soft);
}

.headerMenu[open] .headerBurgerLine:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.headerMenu[open] .headerBurgerLine:nth-child(2) {
  opacity: 0;
}

.headerMenu[open] .headerBurgerLine:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.headerMobileNav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: min(16rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem;
  background:
    linear-gradient(
      145deg,
      #0a1524 0%,
      #0c2748 55%,
      #0a3a5c 100%
    );
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offer-top);
}

.headerMobileLink {
  display: block;
  padding: 0.75rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.headerMobileLink:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-bright);
}

@media (min-width: 769px) {
  .headerInner {
    padding: 14px var(--layout-padding-x);
  }

  .headerLogo {
    height: 48px;
  }

  .headerHome {
    max-width: 220px;
  }

  .headerDesktopNav {
    display: flex;
    margin-left: auto;
  }

  .headerMenu {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headerBurgerLine,
  .headerLink,
  .headerMobileLink {
    transition: none;
  }
}

/* ── Home page ─────────────────────────────────────────── */
.main {
  flex: 1;
}

.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  padding: 0.85rem var(--layout-padding-x) 0.65rem;
}

.heroInner {
  position: relative;
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.heroInner::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  width: min(100%, 18rem);
  height: 5.5rem;
  transform: translateY(-50%);
  background: radial-gradient(
    ellipse at left center,
    var(--color-accent-soft) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.heroEyebrow,
.heroTitle,
.heroLead {
  position: relative;
  z-index: 1;
}

.heroEyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  animation: heroIn 0.55s ease-out both;
}

.heroTitle {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.35rem, 5.5vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
  animation: heroIn 0.65s ease-out 0.08s both;
}

.heroLead {
  margin: 0;
  max-width: 36rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: pretty;
  animation: heroIn 0.7s ease-out 0.16s both;
}

@media (min-width: 769px) {
  .hero {
    padding: 1.75rem var(--layout-padding-x) 1.25rem;
  }

  .heroInner {
    gap: 0.7rem;
  }

  .heroEyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .heroLead {
    font-size: 1.05rem;
    line-height: 1.45;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroEyebrow,
  .heroTitle,
  .heroLead {
    animation: none;
  }
}

.infoStack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 2.5rem;
}

.infoSection {
  position: relative;
  padding: 2.25rem var(--layout-padding-x);
}

.infoSectionAlt {
  background: linear-gradient(
    180deg,
    rgba(0, 40, 90, 0.18) 0%,
    rgba(0, 8, 16, 0.05) 100%
  );
  border-block: 1px solid var(--color-border-soft);
}

.infoInner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.infoEyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
}

.infoTitle {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  text-wrap: balance;
}

.infoLead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

.infoBody {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.infoBody p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.infoPoints {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.infoPoint {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(0, 8, 16, 0.28);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.infoPointLabel {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.infoPointText {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.infoTips {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.infoTips li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  background: rgba(0, 8, 16, 0.28);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
}

.infoTips li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
}

@media (min-width: 769px) {
  .infoSection {
    padding: 2.75rem var(--layout-padding-x);
  }

  .infoPoints {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .infoPoint {
    border-left: none;
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 1.15rem 1rem 1.1rem;
  }

  .infoTips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

/* ── Offers / game cards ───────────────────────────────── */
.offersContainer {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-padding-x);
}

.promoSection {
  padding: 8px 0 28px;
}

.promoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.promoGridGame {
  gap: 28px;
  padding-top: 10px;
}

@media (min-width: 900px) {
  .promoGridGame {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }
}

.promoSectionEnd {
  width: 100%;
  height: 1px;
}

.promoCard {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--gradient-offer);
  box-shadow: var(--shadow-offer);
  overflow: visible;
  isolation: isolate;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.promoCard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 38%,
    transparent 62%,
    rgba(0, 200, 255, 0.1) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.promoCard:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-offer-top);
  transform: translateY(-2px);
}

.promoCardTop1 {
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--gradient-offer-top1);
  box-shadow: var(--shadow-offer-top);
}

.promoCardTop2 {
  border: 2px solid var(--color-accent);
  background: var(--gradient-offer-top2);
}

.promoCardTop3 {
  border: 2px solid var(--color-accent-deep);
  background: var(--gradient-offer-top3);
}

.badge {
  position: absolute;
  top: -10px;
  left: 16px;
  z-index: 3;
  background: var(--color-inverted-bg);
  color: var(--color-inverted-text);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px var(--color-accent-glow);
}

.cardLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ctaArea {
  grid-area: cta;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
  isolation: isolate;
  padding: 11px 16px;
  background: linear-gradient(
    120deg,
    var(--color-accent-deep) 0%,
    var(--color-inverted-bg) 45%,
    var(--color-accent) 100%
  );
  background-size: 180% 180%;
  color: var(--color-inverted-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(77, 207, 255, 0.35);
  box-shadow:
    0 0 18px var(--color-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: ctaIdle 2.8s ease-in-out infinite;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-position 0.45s ease,
    letter-spacing 0.28s ease;
}

.ctaArea::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.34) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 0;
}

.ctaArea::after {
  content: '→';
  position: relative;
  z-index: 1;
  display: inline-block;
  opacity: 0.85;
  transform: translateX(0);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.promoCard:hover .ctaArea {
  background-position: 100% 50%;
  letter-spacing: 0.06em;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 28px var(--color-accent-glow),
    0 8px 20px rgba(0, 40, 90, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: none;
}

.promoCard:hover .ctaArea::before {
  animation: ctaShine 0.75s ease-out;
}

.promoCard:hover .ctaArea::after {
  opacity: 1;
  transform: translateX(4px);
}

.promoCard:active .ctaArea {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 14px var(--color-accent-soft);
}

.promoCardGame {
  overflow: visible;
  border-radius: var(--radius-lg);
  margin-top: 14px;
}

.badgeGame {
  top: -12px;
  left: 14px;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 1.2;
}

.gameCard {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 12px 12px;
  pointer-events: none;
  text-align: left;
}

.gameMedia {
  width: 100%;
  min-height: 168px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  background: rgba(0, 8, 16, 0.55);
}

.gameCover {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
}

.gameBody {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.gameTitleArea {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
  width: 100%;
}

.gameName {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
}

.gameGenre {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-bright);
  letter-spacing: 0.02em;
}

.gameFeatures {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 100%;
}

.gameFeature {
  position: relative;
  margin: 0;
  padding-left: 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.gameFeature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  box-shadow: 0 0 8px var(--color-accent-glow);
}

.gameCta {
  width: 100%;
  margin-top: 0.15rem;
  min-height: 44px;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 769px) {
  .gameCard {
    grid-template-columns: minmax(210px, 44%) minmax(0, 1fr);
    align-items: stretch;
    gap: 0 16px;
    padding: 12px;
    min-height: 196px;
  }

  .gameMedia {
    min-height: 100%;
    height: 100%;
  }

  .gameCover {
    height: 100%;
    min-height: 172px;
  }

  .gameBody {
    justify-content: space-between;
    gap: 0.5rem;
    padding: 4px 2px 2px 0;
  }

  .gameFeatures {
    gap: 0.32rem;
  }

  .gameFeature {
    font-size: 0.88rem;
  }

  .gameCta {
    width: auto;
    min-width: 10rem;
    align-self: flex-start;
    padding-inline: 16px;
  }
}

@keyframes ctaIdle {
  from {
    box-shadow:
      0 0 14px var(--color-accent-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  to {
    box-shadow:
      0 0 26px var(--color-accent-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@keyframes ctaShine {
  from {
    transform: translateX(-130%);
  }

  to {
    transform: translateX(130%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promoCard {
    transition: none;
  }

  .promoCard:hover {
    transform: none;
  }

  .ctaArea {
    animation: none;
    transition: none;
  }

  .ctaArea::before,
  .ctaArea::after {
    display: none;
  }

  .promoCard:hover .ctaArea,
  .promoCard:active .ctaArea {
    transform: none;
    animation: none;
  }
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--color-text);
  background: var(--color-header-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
}

.footerInner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 2rem var(--layout-padding-x) 1.75rem;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  text-align: center;
}

.footerBrand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 34rem;
}

.footerLogoLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
}

.footerLogo {
  width: auto;
  height: 44px;
  max-width: 100%;
  object-fit: contain;
}

.footerDescription {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.footerNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.footerLink {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-secondary);
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.footerLink:hover {
  color: var(--color-accent-bright);
  border-bottom-color: var(--color-accent);
}

.footerCopy {
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--color-border-soft);
  width: min(100%, 34rem);
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

@media (min-width: 769px) {
  .footerInner {
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      'brand nav'
      'copy copy';
    align-items: start;
    justify-items: stretch;
    text-align: left;
    gap: 1.5rem 2rem;
    padding: 2.4rem var(--layout-padding-x) 2rem;
  }

  .footerBrand {
    grid-area: brand;
    align-items: flex-start;
    text-align: left;
  }

  .footerNav {
    grid-area: nav;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .footerCopy {
    grid-area: copy;
    width: 100%;
    text-align: center;
  }

  .footerLogo {
    height: 48px;
  }
}

/* ── Legal pages ───────────────────────────────────────── */
.legalPage {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 32px var(--layout-padding-x) 48px;
  color: var(--color-text);
}

.legalPage h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.legalPage h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.legalPage p,
.legalPage li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legalPage p {
  margin: 0 0 12px;
}

.legalUpdated {
  margin: 0 0 18px !important;
  font-size: 0.88rem !important;
  color: var(--color-text-faint) !important;
}

.legalContact {
  margin-top: 28px !important;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-soft);
}

.legalContact a {
  color: var(--color-accent-bright);
  text-decoration: underline;
}

/* ── 404 ───────────────────────────────────────────────── */
.interstitial {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.interstitialCard {
  max-width: 640px;
  text-align: center;
  border: 1px solid var(--color-border-softer);
  border-radius: 12px;
  padding: 24px;
  background: var(--color-surface);
}

.interstitialCode {
  display: block;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-faintest);
}

.interstitialTitle {
  margin: 0 0 12px;
}

.interstitialDescription {
  margin: 0 0 16px;
  color: var(--color-text-secondary);
}

.interstitialBack {
  display: inline-block;
  text-decoration: underline;
}
