/* ============================================================
   RIZZ CASINO — Neon lounge identity (distinct from Aerobet)
   Black + magenta + violet + electric blue (support only)
   Premium nightlife / cyber neon / velvet darkness
   ============================================================ */

:root {
  --bg: #050308;
  --bg-alt: #0c0812;
  --panel: #120d1a;
  --panel-alt: #1a1425;
  --text: #f4f2f8;
  --muted: #9d94b0;
  --primary: #4f6bf7;
  --primary-hover: #3d5ce8;
  --accent: #ff0086;
  --accent-2: #b24bf3;
  --accent-3: rgba(255, 0, 134, 0.25);
  --border: rgba(178, 75, 243, 0.18);
  --glow: 0 0 20px var(--accent-3);
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 7rem;
  --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-size-xs: 0.7rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: clamp(1.35rem, 3.5vw, 1.75rem);
  --font-size-3xl: clamp(1.6rem, 4vw, 2.25rem);
  --font-size-4xl: clamp(2rem, 5vw, 2.75rem);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.35);
  --transition: 0.25s ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--space-md); font-weight: 700; line-height: 1.2; color: var(--text); }
p { margin: 0 0 var(--space-md); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-md); }

/* ---- Buttons: neon lounge, градиенты и свечение в стиле сайта ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Основная кнопка: градиент magenta → violet, неоновое свечение */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border: 1px solid rgba(255, 0, 134, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 16px rgba(255, 0, 134, 0.35),
    0 0 24px rgba(178, 75, 243, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 4px 24px rgba(255, 0, 134, 0.45),
    0 0 32px rgba(178, 75, 243, 0.25);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 2px 12px rgba(255, 0, 134, 0.3);
}

/* Вторичная: контур в стиле неона, заливка при наведении */
.btn-secondary {
  background: rgba(18, 13, 26, 0.8);
  color: var(--text);
  border: 1px solid rgba(178, 75, 243, 0.35);
  box-shadow: 0 0 12px rgba(178, 75, 243, 0.08);
}
.btn-secondary:hover {
  border-color: var(--accent-2);
  color: #fff;
  background: rgba(178, 75, 243, 0.12);
  box-shadow: 0 0 20px rgba(178, 75, 243, 0.2);
}

/* Призрачная: минимализм, акцент по наведению */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: rgba(255, 0, 134, 0.4);
  box-shadow: 0 0 16px var(--accent-3);
}

.btn-lg, .btn-hero { padding: 0.85rem 1.75rem; font-size: var(--font-size-base); letter-spacing: 0.05em; }
.btn-sm { padding: 0.45rem 1rem; font-size: var(--font-size-xs); }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header: slim, editorial top-bar ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 3, 8, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(5, 3, 8, 0.95);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem var(--space-lg);
}
.brand {
  display: flex;
  align-items: center;
  color: var(--text);
}
.brand:hover { color: var(--text); opacity: 0.95; }
.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: var(--space-xl); }
.nav-link {
  position: relative;
  color: var(--muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-actions { display: none; gap: var(--space-sm); }
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
  transform-origin: center center;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg);
}
.mobile-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-nav .nav-link { display: block; padding: var(--space-md) 0; border-bottom: 1px solid var(--border); font-size: var(--font-size-base); }
.mobile-actions { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-lg); }
@media (min-width: 768px) {
  .main-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Section shell ---- */
.section-shell { padding: var(--space-4xl) var(--space-lg); content-visibility: auto; }
.section-head { max-width: 720px; margin: 0 auto var(--space-3xl); text-align: center; }
.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--text);
}
.section-intro {
  color: var(--muted);
  font-size: var(--font-size-base);
  line-height: 1.75;
}
@media (min-width: 1024px) { .section-shell { padding: var(--space-5xl) var(--space-xl); } }

/* ---- Hero: cinematic stage, central focus, side CTA stack ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  overflow: hidden;
}
.hero-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  padding: var(--space-xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,3,8,0.7) 0%, rgba(5,3,8,0.85) 40%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.hero-brand {
  margin-bottom: var(--space-lg);
}
.hero-brand img {
  height: 42px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 24px var(--accent-3));
}
.hero-kicker {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 0, 134, 0.4);
  border-radius: var(--radius-full);
}
.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--space-md);
  color: var(--text);
}
.hero-text {
  font-size: var(--font-size-lg);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}
.hero-points {
  margin-bottom: var(--space-xl);
}
.hero-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--font-size-sm);
  color: var(--muted);
}
.hero-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-3);
  flex-shrink: 0;
}
.hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero-cta-stack .btn { min-width: 220px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}
.badge {
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.hero-side-card {
  position: absolute;
  right: var(--space-xl);
  bottom: 15%;
  z-index: 2;
  padding: var(--space-md) var(--space-lg);
  background: rgba(18, 13, 26, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.float-label { font-size: var(--font-size-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.float-value { font-size: var(--font-size-xl); font-weight: 700; color: var(--accent); }
@media (min-width: 768px) {
  .hero-stage { padding: var(--space-2xl); }
  .hero-cta-stack { flex-direction: row; justify-content: center; }
  .hero-side-card { right: var(--space-2xl); bottom: 20%; }
}
@media (max-width: 767px) {
  .hero-side-card { display: none; }
}

/* ---- Highlights: floating capsules / horizontal tiles ---- */
.highlights { background: var(--bg-alt); }
.highlights-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}
.highlight-capsule {
  flex: 1 1 280px;
  max-width: 360px;
  padding: var(--space-xl);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
}
.highlight-capsule:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 134, 0.3);
  box-shadow: var(--glow);
}
.highlight-heading {
  font-size: var(--font-size-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.highlight-copy {
  font-size: var(--font-size-sm);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- Games: gallery / poster aesthetic ---- */
.games { background: var(--bg); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  max-width: 1200px;
  margin: 0 auto var(--space-2xl);
}
.filter-chip {
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.filter-chip:hover { color: var(--text); border-color: var(--accent-2); }
.filter-chip.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.filter-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.games-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
.game-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 134, 0.25);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(178, 75, 243, 0.1);
}
.game-card.hidden { display: none; }
/* Превью под формат картинок 513×767 — без обрезки */
.game-thumb {
  position: relative;
  aspect-ratio: 513 / 767;
  overflow: hidden;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s var(--ease-out);
}
.game-card:hover .game-thumb img { transform: scale(1.03); }
.game-body { padding: var(--space-md); }
.game-title { font-size: var(--font-size-sm); font-weight: 600; margin-bottom: var(--space-2xs); }
.game-meta { font-size: var(--font-size-xs); color: var(--muted); margin-bottom: var(--space-sm); }
.game-action { width: 100%; }

/* Mobile: games as horizontal carousel */
@media (max-width: 767px) {
  .games-carousel-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    padding-bottom: var(--space-sm);
    scrollbar-gutter: stable;
  }
  .games-carousel-wrap::-webkit-scrollbar { height: 6px; }
  .games-carousel-wrap::-webkit-scrollbar-track { background: var(--panel); border-radius: 3px; }
  .games-carousel-wrap::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 3px; }
  .games-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-lg);
    width: max-content;
    max-width: none;
    margin: 0;
  }
  .games-grid .game-card {
    flex: 0 0 64vw;
    max-width: 260px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

@media (min-width: 480px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .games-carousel-wrap { overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .games-grid { display: grid; width: 100%; max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); }
  .games-grid .game-card { flex: none; max-width: none; }
}
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .games-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---- Promotions: bigger visual banners, magenta identity, staggered ---- */
.promotions { background: var(--bg-alt); }
.promo-grid {
  display: grid;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}
.promo-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
}
.promo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 134, 0.3);
  box-shadow: var(--glow);
}
.promo-card:nth-child(odd) .promo-media { order: 0; }
.promo-card:nth-child(even) .promo-media { order: 1; }
.promo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px var(--accent-3);
}
.promo-badge--loyalty { background: var(--accent-2); }
.promo-badge--hebdo { background: var(--primary); }
.promo-badge--crazy { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); }
.promo-content { padding: var(--space-xl); }
.promo-title { font-size: var(--font-size-xl); font-weight: 700; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.promo-copy { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.65; margin-bottom: var(--space-sm); }
.promo-meta { font-size: var(--font-size-xs); color: var(--accent-2); font-style: italic; margin-bottom: var(--space-md); }
.promo-action { width: 100%; }
@media (min-width: 768px) {
  .promo-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
  .promo-card:nth-child(even) { direction: rtl; }
  .promo-card:nth-child(even) > * { direction: ltr; }
  .promo-media { aspect-ratio: auto; min-height: 220px; }
  .promo-action { width: auto; }
}

/* ---- Loyalty: баннер на всю карточку, текст поверх ---- */
.vip { background: var(--bg); }
.vip-banner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto var(--space-4xl);
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vip-banner-bg {
  position: absolute;
  inset: 0;
}
.vip-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.vip-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 3, 8, 0.75) 0%, rgba(5, 3, 8, 0.4) 50%, rgba(5, 3, 8, 0.2) 100%);
  pointer-events: none;
}
.vip-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  min-height: 280px;
}
.vip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg) var(--space-2xl);
  margin-bottom: var(--space-lg);
}
.vip-stat {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.vip-copy .btn { align-self: flex-start; }
.vip-levels {
  display: grid;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}
.vip-card {
  padding: var(--space-xl);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
}
.vip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.vip-card--pink:hover { border-color: rgba(255, 0, 134, 0.4); box-shadow: 0 0 24px var(--accent-3); }
.vip-card--blue:hover { border-color: rgba(79, 107, 247, 0.4); box-shadow: 0 0 24px rgba(79, 107, 247, 0.15); }
.vip-card--green:hover { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 0 24px rgba(16, 185, 129, 0.12); }
.vip-tier { margin-bottom: var(--space-sm); }
.vip-tier-num { display: block; font-size: var(--font-size-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2xs); }
.vip-tier-name { font-size: var(--font-size-base); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.vip-threshold { font-size: var(--font-size-sm); font-weight: 600; margin-bottom: var(--space-sm); color: var(--muted); }
.vip-cashback { font-size: var(--font-size-2xl); font-weight: 700; margin-bottom: var(--space-2xs); color: var(--accent); }
.vip-cashback span { display: block; font-size: var(--font-size-xs); font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.vip-note { font-size: var(--font-size-xs); color: var(--muted); margin: 0; }
@media (min-width: 640px) { .vip-levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .vip-banner { min-height: 360px; }
  .vip-copy { min-height: 360px; padding: var(--space-4xl); }
  .vip-levels { grid-template-columns: repeat(5, 1fr); }
}

/* ---- Trust strip ---- */
.trust-strip { background: var(--bg-alt); }
.trust-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
.trust-card {
  padding: var(--space-xl);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}
.trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 75, 243, 0.35);
}
.trust-icon { margin-bottom: var(--space-md); }
.trust-title { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-sm); }
.trust-copy { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.6; margin: 0; }
@media (min-width: 480px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- FAQ: calmer, premium ---- */
.faq { background: var(--bg); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-trigger:hover { color: var(--accent); }
.faq-trigger:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }
.faq-icon { flex-shrink: 0; color: var(--muted); transition: transform var(--transition); }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-panel { padding-bottom: var(--space-lg); }
.faq-panel p { color: var(--muted); font-size: var(--font-size-sm); line-height: 1.75; margin: 0; }

/* ---- SEO: polished reading ---- */
.seo-text { background: var(--bg-alt); }
.seo-shell { max-width: 720px; margin: 0 auto; }
.seo-lead { font-size: var(--font-size-base); color: var(--muted); line-height: 1.8; margin-bottom: var(--space-xl); }
.seo-subtitle { font-size: var(--font-size-lg); font-weight: 700; margin-top: var(--space-2xl); margin-bottom: var(--space-sm); color: var(--text); }
.seo-copy { color: var(--muted); font-size: var(--font-size-sm); line-height: 1.8; }
.seo-table-wrap { overflow-x: auto; margin: var(--space-xl) 0; -webkit-overflow-scrolling: touch; }
.seo-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.seo-table th, .seo-table td { padding: var(--space-sm) var(--space-md); text-align: left; border-bottom: 1px solid var(--border); }
.seo-table th { background: var(--panel-alt); color: var(--text); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.seo-table td { color: var(--muted); font-size: var(--font-size-sm); }
.seo-table tbody tr:last-child td { border-bottom: none; }

/* Мобильная версия: таблицы целиком без горизонтального скролла, уменьшенный шрифт и масштаб */
@media (max-width: 767px) {
  .seo-table-wrap {
    overflow-x: visible;
    margin: var(--space-lg) 0;
    max-width: 100%;
  }
  .seo-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 0.8125em;
  }
  .seo-table th,
  .seo-table td {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .seo-table th { font-size: 0.65rem; letter-spacing: 0.03em; }
}

.seo-note { padding: var(--space-lg); background: var(--panel); border-left: 3px solid var(--accent-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: var(--font-size-sm); font-style: italic; margin: var(--space-xl) 0 0; }

/* ---- Footer: darker, wider, minimal ---- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-4xl) var(--space-lg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-2xl);
}
.footer-brand .brand { margin-bottom: var(--space-md); }
.footer-logo, .footer-brand .brand-logo {
  height: 32px;
  width: auto;
  opacity: 0.9;
}
.footer-tagline { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.7; max-width: 400px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); }
.footer-links a { font-size: var(--font-size-sm); color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-support { font-size: var(--font-size-sm); color: var(--muted); margin: 0; }
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.footer-logo-item {
  padding: var(--space-2xs) var(--space-sm);
  font-size: 0.65rem;
  color: var(--muted);
  background: var(--panel);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.footer-meta { padding-top: var(--space-xl); border-top: 1px solid var(--border); }
.footer-meta p { font-size: var(--font-size-xs); color: var(--muted); margin-bottom: var(--space-2xs); }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto; grid-template-rows: auto auto auto auto; }
  .footer-links { justify-self: end; }
  .footer-support { grid-column: 1; }
  .footer-logos { grid-column: 1 / -1; }
  .footer-meta { grid-column: 1 / -1; }
}

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
