/* ===== LUCKYBEAR CASINO — Design Tokens (Matched to reference) ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    7rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Color Palette — Matched to reference */
  --color-bg:           #050a14;
  --color-surface:      #0a0f1e;
  --color-surface-2:    #0d1526;
  --color-surface-3:    #111b2e;
  --color-border:       rgba(255,255,255,0.08);
  --color-border-light: rgba(255,255,255,0.12);
  --color-border-card:  rgba(30,60,120,0.3);

  --color-text:         #e8e8f0;
  --color-text-muted:   #8a8ea0;
  --color-text-faint:   #4a4e60;

  --color-cyan:         #00bfff;
  --color-cyan-hover:   #1de9ff;
  --color-cyan-glow:    rgba(0, 191, 255, 0.2);

  --color-neon:         #aaff00;
  --color-neon-hover:   #c4ff44;
  --color-neon-dark:    #88cc00;
  --color-neon-glow:    rgba(170, 255, 0, 0.25);

  --color-green:        #00e676;
  --color-red:          #ff3d71;
  --color-purple:       #7c4dff;
  --color-blue:         #448aff;
  --color-gold:         #ffd700;

  --gradient-hero: linear-gradient(180deg, #050a14 0%, #0a1628 40%, #0d1a30 60%, #050a14 100%);
  --gradient-card: linear-gradient(145deg, rgba(13,21,38,0.9), rgba(10,15,30,0.95));

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow-cyan: 0 0 30px rgba(0, 191, 255, 0.15);
  --shadow-glow-neon: 0 0 30px rgba(170, 255, 0, 0.15);
  --shadow-btn-neon: 0 4px 20px rgba(170, 255, 0, 0.3);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  transition: box-shadow 0.3s ease;
}
.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-lg);
  color: #fff;
}
.logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.logo .lucky { color: #fff; }
.logo .bear { color: var(--color-cyan); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.header-buttons {
  display: flex;
  gap: var(--space-3);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.btn-login:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn-register-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  background: var(--color-cyan);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.btn-register-header:hover {
  background: var(--color-cyan-hover);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 20, 0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav a {
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
}
.mobile-nav-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: #fff;
  font-size: 32px;
}

/* ===== CTA BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--color-neon);
  color: #000;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn-neon);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--color-neon-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(170, 255, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-secondary:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.btn-card:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(0,191,255,0.06);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: var(--space-16) 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(0, 191, 255, 0.06), transparent),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(170, 255, 0, 0.03), transparent);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: float-particle 8s infinite ease-in-out;
}
@keyframes float-particle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.3); }
  50% { opacity: 0.4; transform: translateY(-60px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero-logo-img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-6);
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.hero .subtitle {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: var(--space-6);
}
.hero p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-12);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  flex: 1;
  text-align: center;
  position: relative;
}
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
}
.hero-stat .number {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header .tag {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(0, 191, 255, 0.06);
  border: 1px solid rgba(0, 191, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
}
.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.feature-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 255, 0.2);
  box-shadow: var(--shadow-glow-cyan);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: var(--space-5);
}
.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-3);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== GAMES SHOWCASE ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-6);
}
.game-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 255, 0.2);
  box-shadow: var(--shadow-glow-cyan);
}
.game-card .game-emoji {
  font-size: 48px;
  margin-bottom: var(--space-4);
}
.game-card h3 {
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}
.game-card .game-type {
  font-size: var(--text-xs);
  color: var(--color-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.game-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}
.bonus-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.bonus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(170, 255, 0, 0.2);
  box-shadow: var(--shadow-glow-neon);
}
.bonus-card .badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(170, 255, 0, 0.08);
  border: 1px solid rgba(170, 255, 0, 0.2);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-neon);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.bonus-card .bonus-emoji {
  font-size: 40px;
  margin-bottom: var(--space-4);
}
.bonus-card h3 {
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}
.bonus-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

/* ===== BONUS BANNER ===== */
.bonus-banner {
  position: relative;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  overflow: hidden;
  text-align: center;
}
.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 191, 255, 0.04), transparent);
  pointer-events: none;
}
.bonus-banner .banner-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin: 0 auto var(--space-6);
}
.bonus-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-4);
}
.bonus-banner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin: 0 auto var(--space-8);
  max-width: 600px;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.step-card {
  counter-increment: step;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  position: relative;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-neon);
  color: #000;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-lg);
  border-radius: 50%;
  margin: 0 auto var(--space-5);
}
.step-card h3 {
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-3);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 auto;
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  counter-reset: adv;
}
.advantage-item {
  counter-increment: adv;
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
}
.advantage-item .adv-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-cyan);
  line-height: 1;
  min-width: 40px;
}
.advantage-item h3 {
  font-weight: 700;
  font-size: var(--text-base);
  color: #fff;
  margin-bottom: var(--space-1);
}
.advantage-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.review-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.review-stars {
  color: var(--color-gold);
  font-size: 18px;
  margin-bottom: var(--space-3);
}
.review-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.review-author {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ===== PROVIDERS ===== */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}
.provider-logo {
  padding: var(--space-3) var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.provider-logo:hover {
  border-color: rgba(0, 191, 255, 0.2);
  color: #fff;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  background: rgba(0, 191, 255, 0.15);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer-brand .logo {
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
}
.footer-col a:hover {
  color: var(--color-cyan);
}
.footer-providers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  margin-bottom: var(--space-8);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-bottom a {
  color: var(--color-text-faint);
}
.footer-bottom a:hover {
  color: var(--color-cyan);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-red);
  border-radius: var(--radius-sm);
  color: var(--color-red);
  font-weight: 900;
  font-size: var(--text-xs);
}

/* ===== TEXT CONTENT PAGES ===== */
.text-content { max-width: 800px; margin: 0 auto; }
.text-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
  margin: var(--space-10) 0 var(--space-4);
}
.text-content h3 {
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin: var(--space-8) 0 var(--space-3);
}
.text-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.text-content ul, .text-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.text-content li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2);
}
.text-content .highlight-box {
  background: rgba(0, 191, 255, 0.04);
  border: 1px solid rgba(0, 191, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}
.text-content .highlight-box h4 {
  color: var(--color-cyan);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.text-content .cta-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
  text-align: center;
}
.text-content .cta-inline h3 { margin: 0; color: var(--color-cyan); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-cyan); }
.breadcrumbs span { margin: 0 var(--space-2); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--gradient-hero);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(0, 191, 255, 0.05), transparent);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  position: relative;
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 640px;
  position: relative;
}

/* ===== POPUP ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.popup-overlay.active { display: flex; }
.popup-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.popup-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.popup-emoji { font-size: 48px; margin-bottom: var(--space-4); }
.popup-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-3);
}
.popup-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.promo-row {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.promo-code {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: monospace;
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  text-align: center;
}
.promo-copy {
  padding: var(--space-3) var(--space-5);
  background: var(--color-cyan);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.promo-copy:hover { background: var(--color-cyan-hover); }

.referral-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}
.referral-box h4 {
  font-size: var(--text-sm);
  color: #fff;
  margin-bottom: var(--space-3);
}
.referral-tiers {
  display: flex;
  gap: var(--space-2);
}
.referral-tier {
  flex: 1;
  padding: var(--space-3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}
.referral-tier.jackpot {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--color-gold);
}
.referral-tier strong {
  display: block;
  color: #fff;
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}
.referral-tier.jackpot strong { color: var(--color-gold); }

.social-share {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.social-btn {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
  text-align: center;
  text-transform: uppercase;
}
.social-btn.tg { background: #0088cc; }
.social-btn.vk { background: #4a76a8; }
.social-btn.wa { background: #25d366; }
.social-btn:hover { opacity: 0.9; }

.popup-cta {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-neon);
  color: #000;
  font-weight: 800;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn-neon);
}
.popup-cta:hover {
  background: var(--color-neon-hover);
  transform: translateY(-1px);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
}
.chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.chat-btn:hover { transform: scale(1.08); }
.chat-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-popup {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.chat-popup.active { display: block; }
.chat-popup-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.chat-popup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-popup-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
}
.chat-popup-status {
  font-size: var(--text-xs);
  color: var(--color-green);
}
.chat-popup-msg {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

/* ===== SOCIAL PROOF TOAST ===== */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 80;
}
.toast {
  display: none;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  max-width: 320px;
  align-items: center;
  gap: var(--space-3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: toast-in 0.5s ease;
}
.toast.active { display: flex; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.toast-icon img { width: 100%; height: 100%; object-fit: cover; }
.toast-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}
.toast-text strong { color: #fff; }
.toast-time {
  font-size: 10px;
  color: var(--color-text-faint);
  margin-top: 2px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav, .header-buttons { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { min-height: auto; padding: var(--space-12) 0; }
  .hero-logo-img { width: 120px; height: 120px; }
  .hero-stats { flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
  .hero-stat:not(:last-child)::after { display: none; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .popup-card { margin: var(--space-4); }
  .toast-container { left: var(--space-3); right: var(--space-3); }
  .toast { max-width: 100%; }
  .referral-tiers { flex-direction: column; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
}
