﻿/* ============================================
   CASIBOM — Professional Dark Theme CSS
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --red: #d756e3;
  --red-dark: #7e3285;
  --red-light: #e88cf0;
  --red-glow: rgba(215, 86, 227, 0.35);
  --bg-primary: #0d0118;
  --bg-secondary: #120120;
  --bg-card: #1a0a2e;
  --bg-card-hover: #22093d;
  --bg-border: #3d1a4d;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --gold: #f6c90e;
  --green: #48bb78;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Bebas Neue', cursive;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red: 0 0 32px rgba(215, 86, 227, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION === */
.section {
  padding: 100px 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--bg-border);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn--xs  { padding: 6px 14px;  font-size: 12px; border-radius: 8px; }
.btn--sm  { padding: 10px 20px; font-size: 14px; }
.btn--md  { padding: 14px 28px; font-size: 15px; }
.btn--lg  { padding: 16px 36px; font-size: 16px; }
.btn--xl  { padding: 20px 52px; font-size: 18px; border-radius: var(--radius-lg); }

.pulse-btn {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50%       { box-shadow: 0 0 0 16px transparent; }
}

/* === HIGHLIGHT === */
.highlight {
  color: var(--red);
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(215, 86, 227,0.1);
  border: 1px solid rgba(215, 86, 227,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
  padding: 10px 0;
  margin-top: 68px;
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 40px;
  letter-spacing: 0.5px;
}

.ticker__item:nth-child(odd) {
  color: var(--red);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at 50% 60%, rgba(215, 86, 227,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, rgba(215, 86, 227,0.06) 0%, transparent 50%),
              var(--bg-primary);
}

.hero__bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--bg-border);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  background: var(--bg-card);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: 3px;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero__desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--red);
  color: var(--text-primary);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--bg-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 1px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(215, 86, 227,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-red);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--red-light);
  letter-spacing: 0.5px;
}

/* ============================================
   GAMES
   ============================================ */
.games {
  background: var(--bg-secondary);
}

.games-layout {
  display: flex;
  gap: 32px;
}

.games-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}

.games-nav__btn {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.games-nav__btn:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.games-nav__btn.active {
  color: var(--text-primary);
  background: var(--red);
  box-shadow: var(--shadow-red);
}

.games-content {
  flex: 1;
}

.games-cat {
  display: none;
}

.games-cat.active {
  display: block;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: block;
}

.game-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-red);
}

.game-card__img {
  height: 160px;
  position: relative;
  overflow: hidden;
}

/* Game card gradient backgrounds */
.game-card__img--bonanza    { background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b); }
.game-card__img--olympus    { background: linear-gradient(135deg, #1d4ed8, #7c3aed, #fbbf24); }
.game-card__img--doghouse   { background: linear-gradient(135deg, #064e3b, #065f46, #d97706); }
.game-card__img--roulette   { background: linear-gradient(135deg, #1e3a5f, #2d6a4f, #d756e3); }
.game-card__img--blackjack  { background: linear-gradient(135deg, #111, #2d3748, #d756e3); }
.game-card__img--baccarat   { background: linear-gradient(135deg, #44337a, #553c9a, #f6c90e); }
.game-card__img--futbol     { background: linear-gradient(135deg, #1a472a, #2d6a4f, #f6c90e); }
.game-card__img--basketball { background: linear-gradient(135deg, #7c2d12, #c2410c, #fbbf24); }
.game-card__img--esports    { background: linear-gradient(135deg, #1e1b4b, #3730a3, #818cf8); }
.game-card__img--aviator    { background: linear-gradient(135deg, #450a0a, #991b1b, #ef4444); }
.game-card__img--plinko     { background: linear-gradient(135deg, #1e3a8a, #1d4ed8, #60a5fa); }
.game-card__img--mines      { background: linear-gradient(135deg, #14532d, #166534, #4ade80); }
.game-card__img--poker      { background: linear-gradient(135deg, #2d1b00, #92400e, #fbbf24); }
.game-card__img--roulette2  { background: linear-gradient(135deg, #22093d, #3e1f1f, #d756e3); }
.game-card__img--dice       { background: linear-gradient(135deg, #0f172a, #1e3a8a, #60a5fa); }

.game-card__img::after {
  content: attr(class);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.game-card__img--bonanza::after   { content: '🍬'; }
.game-card__img--olympus::after   { content: '⚡'; }
.game-card__img--doghouse::after  { content: '🐕'; }
.game-card__img--roulette::after  { content: '🎰'; }
.game-card__img--blackjack::after { content: '🃏'; }
.game-card__img--baccarat::after  { content: '🀄'; }
.game-card__img--futbol::after    { content: '⚽'; }
.game-card__img--basketball::after{ content: '🏀'; }
.game-card__img--esports::after   { content: '🎮'; }
.game-card__img--aviator::after   { content: '✈️'; }
.game-card__img--plinko::after    { content: '🎯'; }
.game-card__img--mines::after     { content: '💣'; }
.game-card__img--poker::after     { content: '♠️'; }
.game-card__img--roulette2::after { content: '🎡'; }
.game-card__img--dice::after      { content: '🎲'; }

.game-card__info {
  padding: 18px 20px;
}

.game-card__info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.game-card__info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.game-card--more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 2px dashed var(--bg-border);
  background: transparent;
}

.game-card--more:hover {
  border-color: var(--red);
  background: rgba(215, 86, 227,0.04);
}

.game-card__more-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.more-count {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  letter-spacing: 2px;
}

.more-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================
   HOW TO
   ============================================ */
.howto {
  background: var(--bg-primary);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 52px;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(215, 86, 227,0.3));
  align-self: center;
  flex-shrink: 0;
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 40px;
  margin: 8px 0 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.howto__cta {
  text-align: center;
}

/* ============================================
   BONUSES
   ============================================ */
.bonuses {
  background: var(--bg-secondary);
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bonus-card:hover {
  border-color: rgba(215, 86, 227,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bonus-card--featured {
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(215, 86, 227,0.08) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-red);
  grid-column: span 1;
}

.bonus-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

.bonus-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.bonus-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 8px 0 12px;
}

.bonus-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.bonus-list {
  margin-bottom: 24px;
}

.bonus-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.bonus-list li::before {
  content: '';
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-slider {
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(50% - 12px);
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: rgba(215, 86, 227,0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-border);
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   ARTICLES
   ============================================ */
.articles {
  background: var(--bg-secondary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 24px;
}

.article-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  border-color: rgba(215, 86, 227,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.article-card__img {
  height: 200px;
}

.article-card--featured .article-card__img {
  height: 260px;
}

.article-card__img--main {
  background: linear-gradient(135deg, #1a0a0a, #3d0f0f, #d756e3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.article-card__img--main::after {
  content: '🎰';
}

.article-card__content {
  padding: 24px;
}

.article-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card h3 a:hover {
  color: var(--red);
}

.article-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.articles-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-primary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(215, 86, 227,0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--bg-border);
  padding-top: 16px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-secondary);
}

.cta-card {
  background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 40%, #1a0505 100%);
  border: 1px solid rgba(215, 86, 227,0.4);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(215, 86, 227,0.15);
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(215, 86, 227,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.cta-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.cta-disclaimer a {
  color: var(--red);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-border);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--bg-border);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 4px;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 600px;
  opacity: 0.7;
}

/* ============================================
   FLOATING CTA & BACK TO TOP
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(215, 86, 227,0.5);
  transition: var(--transition);
  z-index: 900;
  animation: pulse 2.5s infinite;
}

.floating-cta:hover {
  transform: scale(1.1);
  background: var(--red-dark);
}

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ============================================
   INNER PAGE HERO (for article pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(215, 86, 227,0.1) 0%, transparent 60%), var(--bg-primary);
  text-align: center;
  border-bottom: 1px solid var(--bg-border);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--red); }
.breadcrumb span   { color: var(--red); }

/* ============================================
   ARTICLE CONTENT
   ============================================ */
.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  margin: 48px 0 16px;
  color: var(--text-primary);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.article-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.article-content strong {
  color: var(--text-primary);
}

.article-content .info-box {
  background: var(--bg-card);
  border: 1px solid rgba(215, 86, 227,0.3);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.article-content .info-box p {
  margin: 0;
  font-size: 14px;
}

/* ============================================
   TABLE
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

.data-table th {
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--bg-border);
  color: var(--text-secondary);
}

.data-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.data-table tr:hover td {
  background: rgba(215, 86, 227,0.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .bonuses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) { border-right: none; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .games-layout {
    flex-direction: column;
  }

  .games-nav {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: auto;
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav__menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--bg-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link { padding: 12px 16px; }

  .nav__toggle { display: flex; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) { border-right: 1px solid var(--bg-border); }
  .stat-item:nth-child(even) { border-right: none; }

  .steps-grid {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    align-self: center;
    background: linear-gradient(180deg, var(--red), rgba(215, 86, 227,0.3));
  }

  .bonuses-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: calc(100% - 0px);
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    padding: 48px 20px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* Intersection Observer classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: var(--red);
  color: #fff;
}

/* ============================================
   MOBILE-FIRST ENHANCEMENTS
   Phone-optimised additions (≤ 480px)
   ============================================ */

/* Safe area insets for notched phones */
.header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
body    { padding-bottom: env(safe-area-inset-bottom); }

/* Touch targets — all interactive elements ≥ 44px */
.btn, .nav__link, .faq-question, .games-nav__btn,
.social-link, .footer-col a, .testimonials-btn {
  min-height: 44px;
}
.btn { display: inline-flex; align-items: center; justify-content: center; }

/* Prevent text size change on orientation switch */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Tap highlight */
* { -webkit-tap-highlight-color: rgba(215, 86, 227,0.2); }

/* ---- MOBILE NAV IMPROVEMENTS ---- */
@media (max-width: 768px) {
  .nav { height: 60px; }
  .ticker-wrap { margin-top: 60px; }

  /* Nav menu full-width slide down */
  .nav__menu {
    top: 60px;
    padding: 12px 16px 20px;
    gap: 2px;
  }
  .nav__menu .btn--sm {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
  }
}

/* ---- HERO MOBILE ---- */
@media (max-width: 480px) {
  .hero { padding: 90px 0 60px; min-height: auto; }
  .hero__title { font-size: 2.6rem; letter-spacing: 1px; }
  .hero__desc { font-size: 14px; }
  .hero__badge { font-size: 9px; letter-spacing: 1.5px; padding: 6px 14px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__tags { gap: 6px; }
  .tag { font-size: 11px; padding: 6px 12px; }
}

/* ---- STATS BAR MOBILE ---- */
@media (max-width: 480px) {
  .stats-bar { padding: 24px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-item { padding: 12px 6px; border-right: 1px solid var(--bg-border); }
  .stat-item:nth-child(3n) { border-right: none; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 9px; }
}

/* ---- FEATURES MOBILE ---- */
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { font-size: 28px; }
  .feature-card h3 { font-size: 16px; }
}

/* ---- GAMES MOBILE ---- */
@media (max-width: 768px) {
  .games-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 4px;
  }
  .games-nav::-webkit-scrollbar { display: none; }
  .games-nav__btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 13px;
  }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game-card__img { height: 120px; }
  .game-card__info { padding: 12px 14px; }
  .game-card__info h3 { font-size: 14px; }
  .game-card__info p { display: none; }
}

@media (max-width: 360px) {
  .games-grid { grid-template-columns: 1fr; }
  .game-card__img { height: 140px; }
  .game-card__info p { display: block; }
}

/* ---- STEPS MOBILE ---- */
@media (max-width: 480px) {
  .steps-grid { gap: 20px; }
  .step-card { padding: 28px 16px; }
  .step-icon { font-size: 32px; }
  .step-connector { height: 32px; }
}

/* ---- BONUSES MOBILE ---- */
@media (max-width: 480px) {
  .bonuses-grid { grid-template-columns: 1fr; gap: 12px; }
  .bonus-card { padding: 24px 20px; }
  .bonus-amount { font-size: 2rem; }
}

/* ---- TESTIMONIALS MOBILE ---- */
@media (max-width: 480px) {
  .testimonial-card { min-width: 100%; padding: 24px 20px; }
  .testimonial-card > p { font-size: 13px; }
}

/* ---- ARTICLES MOBILE ---- */
@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card--featured { grid-column: auto; grid-row: auto; }
}

/* ---- FAQ MOBILE ---- */
@media (max-width: 480px) {
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer p { padding: 0 18px 16px; font-size: 13px; }
}

/* ---- CTA MOBILE ---- */
@media (max-width: 480px) {
  .cta-card { padding: 40px 20px; border-radius: var(--radius); }
  .cta-card h2 { font-size: 2.2rem; }
  .cta-card p { font-size: 14px; }
  .cta-features { gap: 10px; font-size: 12px; flex-direction: column; align-items: center; }
  .btn--xl { padding: 16px 32px; font-size: 16px; width: 100%; }
}

/* ---- FOOTER MOBILE ---- */
@media (max-width: 480px) {
  .footer { padding: 48px 0 0; }
  .footer-top { gap: 24px; grid-template-columns: 1fr; }
  .footer-logo { font-size: 26px; }
  .footer-col h4 { font-size: 12px; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-bottom { gap: 8px; }
}

/* ---- FLOATING CTA MOBILE ---- */
@media (max-width: 480px) {
  .floating-cta { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .back-to-top { bottom: 84px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
}

/* ---- ARTICLE PAGES MOBILE ---- */
@media (max-width: 480px) {
  .page-hero { padding: 90px 0 48px; }
  .page-hero__title { font-size: 2rem; }
  .page-hero__desc { font-size: 14px; }
  .article-content { padding: 40px 16px; }
  .article-content h2 { font-size: 1.5rem; margin: 36px 0 12px; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 10px; }
  /* Horizontal scroll for tables on mobile */
  .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---- SECTION SPACING MOBILE ---- */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.9rem; }
  .section-desc { font-size: 14px; }
  .section-header { margin-bottom: 36px; }
}

/* ---- TICKER MOBILE ---- */
@media (max-width: 480px) {
  .ticker__item { font-size: 11px; padding: 0 24px; }
}

/* Large phone / small tablet */
@media (min-width: 481px) and (max-width: 767px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .bonuses-grid   { grid-template-columns: repeat(2, 1fr); }
  .articles-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(3, 1fr); }
}


/* === LOGO & ANJUA BADGE === */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}
.anjua-badge {
  display: inline-block;
  margin-top: 10px;
}
.anjua-badge img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.anjua-badge:hover img {
  opacity: 0.85;
}
.footer-brand .footer-logo {
  display: block;
}
@media (max-width: 480px) {
  .nav-logo-img { height: 30px; }
  .footer-logo-img { height: 34px; }
  .anjua-badge img { height: 48px; }
}

/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at 50% 40%, #1a0a2e 0%, #0d0118 60%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#splash-screen.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: splashFadeUp 0.8s ease both;
}
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.splash-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-logo {
  width: 90px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: splashLogoPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(215, 86, 227, 0.7));
}
@keyframes splashLogoPulse {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 18px rgba(215,86,227,0.6)); }
  50%       { transform: scale(1.08); filter: drop-shadow(0 0 36px rgba(215,86,227,1)); }
}
.splash-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: splashRingSpin linear infinite;
}
.splash-ring--1 {
  width: 110px; height: 110px;
  border-top-color: #d756e3;
  border-right-color: rgba(215,86,227,0.3);
  animation-duration: 1.6s;
}
.splash-ring--2 {
  width: 128px; height: 128px;
  border-bottom-color: #9b3fa8;
  border-left-color: rgba(155,63,168,0.3);
  animation-duration: 2.4s;
  animation-direction: reverse;
}
.splash-ring--3 {
  width: 144px; height: 144px;
  border-top-color: rgba(215,86,227,0.2);
  border-right-color: #d756e3;
  animation-duration: 3.2s;
}
@keyframes splashRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.splash-title {
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.splash-title span {
  background: linear-gradient(135deg, #d756e3, #7e3285);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.splash-sub {
  font-size: clamp(13px, 2.5vw, 16px);
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 300px;
}
.splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.splash-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d756e3;
  animation: splashDot 1.4s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes splashDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1.2); opacity: 1; }
}
.splash-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0;
  letter-spacing: 0.5px;
}
@media (max-width: 480px) {
  .splash-logo-wrap { width: 120px; height: 120px; }
  .splash-logo { width: 72px; }
  .splash-ring--1 { width: 94px; height: 94px; }
  .splash-ring--2 { width: 108px; height: 108px; }
  .splash-ring--3 { width: 122px; height: 122px; }
}
