@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* =============================================
   CSS RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  /* Colors */
  --bg-deep:        #0e0618;
  --bg-dark:        #1D0B2B;
  --bg-medium:      #2a1040;
  --bg-surface:     #3B1454;
  --bg-strip:       #1e0a30;
  --primary:        #D400FF;
  --primary-glow:   rgba(212,0,255,0.4);
  --primary-soft:   rgba(212,0,255,0.15);
  --gold:           #FFD700;
  --gold-dark:      #c8a800;
  --gold-glow:      rgba(255,215,0,0.35);
  --text-primary:   #f0e6ff;
  --text-muted:     #b09cc0;
  --text-lilac:     #d4b8f0;
  --border-color:   rgba(212,0,255,0.25);
  --border-gold:    rgba(255,215,0,0.3);

  /* Fonts */
  --font-heading:  'Cinzel Decorative', cursive;
  --font-body:     'Exo 2', sans-serif;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-primary: 0 0 20px rgba(212,0,255,0.35);
  --shadow-gold:    0 0 16px rgba(255,215,0,0.4);
  --shadow-card:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-neon:    0 10px 30px rgba(212,0,255,0.4);

  /* Header */
  --header-h: 68px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,6,24,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
  transition: background 0.3s;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px var(--primary-glow);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
}

.nav__link {
  display: block;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-lilac);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  background: var(--primary-soft);
  color: var(--text-primary);
}

.nav__link--active {
  color: var(--primary);
  font-weight: 700;
}

.nav__group {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  display: none;
  box-shadow: var(--shadow-card);
  z-index: 200;
}

.nav__group:hover .nav__dropdown { display: block; }

.nav__dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--text-lilac);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav__dropdown a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.header__auth {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  margin-left: auto;
}

.menu-toggle:hover { background: var(--primary-soft); }

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; }

.header.nav-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.header.nav-open .menu-toggle::after  { transform: translateY(-7px) rotate(-45deg); }
.header.nav-open .menu-toggle span    { opacity: 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8800cc 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn--primary:hover { box-shadow: 0 8px 24px var(--primary-glow); }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary-soft);
  box-shadow: 0 0 12px var(--primary-glow);
}

.btn--cta {
  background: linear-gradient(135deg, var(--gold) 0%, #ffb300 100%);
  color: #0e0618;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn--cta:hover {
  box-shadow: 0 0 32px var(--gold-glow), var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--small {
  padding: 6px 14px;
  font-size: 0.8125rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1D0B2B 0%, #3B1454 50%, #1D0B2B 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212,0,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(255,215,0,0.08) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-lilac);
  margin-bottom: 28px;
}

.hero__bonus {
  background: rgba(30,10,48,0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-card), 0 0 40px var(--gold-glow);
  margin-bottom: 24px;
}

.hero__bonus-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero__bonus-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
  line-height: 1;
}

.hero__bonus-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =============================================
   CATEGORIES BAR
   ============================================= */
.categories-bar {
  background: var(--bg-surface);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.categories-bar__inner {
  display: flex;
  gap: 8px;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.cat-tile {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-medium);
  color: var(--text-lilac);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cat-tile:hover,
.cat-tile.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main { padding: 40px 20px 60px; }

.content-section {
  margin-bottom: 48px;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 16px;
  text-shadow: 0 0 14px var(--primary-glow);
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-lilac);
  margin-bottom: 10px;
  margin-top: 20px;
}

.content-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-section .lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-lilac);
}

.content-section ol,
.content-section ul {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.content-section ol {
  counter-reset: ol-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-section ol li {
  counter-increment: ol-counter;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.65;
}

.content-section ol li::before {
  content: counter(ol-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.content-section ul li {
  padding-left: 20px;
  position: relative;
  line-height: 1.65;
  margin-bottom: 8px;
}

.content-section ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 4px;
}

.content-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-section a:hover { color: var(--gold); }

/* =============================================
   FLOATING NEON STRIPS — MGN
   ============================================= */
.mgn-strips-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.mgn-strip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-strip);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mgn-strip-item.mgn-neon-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
  border-color: var(--primary);
}

.mgn-strip-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mgn-strip-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mgn-strip-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mgn-strip-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255,215,0,0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  display: inline-block;
}

/* =============================================
   BONUS CARDS
   ============================================= */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.bonus-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.bonus-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.bonus-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* =============================================
   TABLES
   ============================================= */
.table-wrap { overflow-x: auto; margin: 20px 0; }

.bonus-table,
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-strip);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bonus-table th,
.styled-table th {
  background: var(--bg-surface);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.bonus-table td,
.styled-table td {
  padding: 11px 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(212,0,255,0.08);
}

.bonus-table tr:hover td,
.styled-table tr:hover td {
  background: var(--primary-soft);
  color: var(--text-primary);
}

.bonus-table tr:last-child td,
.styled-table tr:last-child td {
  border-bottom: none;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }

.faq-list dt {
  border-left: 3px solid var(--primary);
  background: var(--bg-strip);
  padding: 12px 16px;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.faq-list dd {
  color: var(--text-muted);
  padding: 10px 16px 10px 20px;
  line-height: 1.7;
  font-size: 0.9rem;
}

.faq__item {
  background: var(--bg-strip);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  user-select: none;
}

.faq__question:hover { background: var(--primary-soft); }

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq__item.is-open .faq__question::after { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.is-open .faq__answer { max-height: 500px; }

.faq__answer p {
  padding: 0 20px 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
  margin: 0;
}

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.card__icon { font-size: 2rem; margin-bottom: 12px; }

.card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   TWO COLUMNS
   ============================================= */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 20px 0;
}

.two-cols--center { align-items: center; }

.two-cols__text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }

.two-cols__media {
  background: var(--bg-strip);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
}

.stat-item {
  background: var(--bg-strip);
  padding: 20px 16px;
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
  display: block;
  margin-bottom: 4px;
}

.stat-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   CTA BLOCK
   ============================================= */
.cta-block {
  background: linear-gradient(135deg, rgba(212,0,255,0.15) 0%, rgba(59,20,84,0.6) 50%, rgba(212,0,255,0.1) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 40px 24px;
  margin: 32px 0;
}

.cta-block h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   NUMBERED & STYLED LIST
   ============================================= */
.numbered-list { counter-reset: nl; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }

.numbered-list li {
  counter-increment: nl;
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  align-items: flex-start;
}

.numbered-list li::before {
  content: counter(nl);
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8800cc);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.styled-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }

.styled-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.65;
  align-items: flex-start;
}

.styled-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--primary); }

/* =============================================
   MODAL
   ============================================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
  padding: 20px;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-neon), var(--shadow-card);
  max-height: 80vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.modal__close:hover { color: var(--primary); background: var(--primary-soft); }

.modal__content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal__content h3 {
  font-size: 1rem;
  color: var(--text-lilac);
  margin: 16px 0 8px;
}

.modal__content p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), #8800cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow-primary);
  z-index: 99;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-3px); }

/* =============================================
   PLACEHOLDER IMG
   ============================================= */
.placeholder-img {
  aspect-ratio: 16/9;
  background: var(--bg-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
}

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
  text-align: left;
}

.footer__brand {
  flex: 0 0 220px;
}

.footer__brand .logo { font-size: 1rem; display: inline-block; margin-bottom: 10px; }

.footer__brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.footer__links-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-lilac);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer__links-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer__links-col ul a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links-col ul a:hover { color: var(--primary); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 8px;
}

.footer__bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: pointer;
}

.footer__bottom-links a:hover { color: var(--primary); }

.footer__lang { display: flex; gap: 8px; }
.footer__lang-link { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; }
.footer__lang-link.active { color: var(--primary); font-weight: 700; }

.footer__badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.footer__badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-medium);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0;
  text-align: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1080px) {
  .nav,
  .header__auth {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(14,6,24,0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    gap: 4px;
    backdrop-filter: blur(16px);
  }

  .header.nav-open .header__auth {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 200px);
    left: 0;
    right: 0;
    background: rgba(14,6,24,0.98);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
  }

  .nav__dropdown {
    position: static;
    display: none;
    margin-top: 4px;
    padding: 8px;
  }

  .nav__group:hover .nav__dropdown { display: block; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .two-cols    { grid-template-columns: 1fr; }
  .stats-bar   { grid-template-columns: repeat(2, 1fr); }
  .bonus-cards { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  :root { --header-h: 60px; }

  .hero { padding: 40px 16px; min-height: auto; }
  .hero__bonus { padding: 18px 20px; }

  .content-section h2 { font-size: 1.15rem; }
  .content-section p  { font-size: 0.9rem; }

  .btn--cta { width: 100%; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .mgn-strip-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mgn-strip-item .btn--cta { width: 100%; }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }
}
