@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800;900&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 50%, rgba(168,85,247,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 85%, rgba(255,255,255,0.4) 0%, transparent 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ========== DESIGN TOKENS — MilkyWay Purple Theme (Real Brand Colors) ========== */
:root {
  /* Backgrounds — rich deep purple matching real MilkyWay Casino */
  --bg-primary: #2e0a52;
  --bg-secondary: #3a0d68;
  --bg-card: rgba(255, 255, 255, 0.07);
  --bg-card-hover: rgba(255, 255, 255, 0.13);
  --bg-sidebar: #240845;
  --bg-header: rgba(36, 8, 69, 0.97);

  /* Primary — MilkyWay golden-yellow (buttons, CTA, highlights) */
  --color-primary: #f5c518;
  --color-primary-hover: #ffd740;
  /* Accent green — "No Wager", positive badges, play buttons */
  --color-accent: #00c853;
  --color-accent-hover: #00e676;
  /* Purple accent — links, active states, decorative */
  --color-accent-alt: #a855f7;
  --color-accent-alt-hover: #c084fc;
  /* Text */
  --color-text: #ffffff;
  --color-muted: #c4b5fd;
  --color-muted-light: #ddd6fe;
  --color-border: rgba(168, 85, 247, 0.30);

  /* Gradients */
  --gradient-hero: linear-gradient(145deg, #1e0535 0%, #3d1068 35%, #2e0a52 65%, #1a0a3e 100%);
  --gradient-accent: linear-gradient(135deg, #f5c518 0%, #ff8c00 50%, #a855f7 100%);
  --gradient-card: linear-gradient(180deg, rgba(168,85,247,0.14) 0%, rgba(168,85,247,0.04) 100%);
  --gradient-sidebar: linear-gradient(180deg, #2d0955 0%, #240845 50%, #1a0535 100%);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;

  --sidebar-width: 240px;
  --header-height: 64px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 28px rgba(168, 85, 247, 0.40);
  --shadow-glow-gold: 0 0 28px rgba(245, 197, 24, 0.45);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

/* ========== LAYOUT ========== */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--gradient-sidebar);
  border-right: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: var(--spacing-md) 0;
}

.main-content {
  flex: 1;
  min-width: 0;          /* prevent flex child from overflowing */
  overflow-x: hidden;    /* clip any content wider than container */
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content-area {
  padding: var(--spacing-lg) var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
}

/* ========== SIDEBAR ========== */
.sidebar-logo {
  padding: 0 var(--spacing-md) var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-sm);
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
}

.sidebar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sidebar-nav {
  flex: 1;
  padding: var(--spacing-xs) 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--spacing-md);
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--color-text);
  background: rgba(168, 85, 247, 0.18);
  border-left-color: var(--color-primary);
}

.sidebar-nav a .nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-nav .nav-badge {
  margin-left: auto;
  background: var(--color-primary);
  color: #1a0a2e;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--spacing-sm) var(--spacing-md);
}

.sidebar-cashback {
  padding: var(--spacing-sm) var(--spacing-md);
  margin: 0 var(--spacing-sm);
  background: rgba(156, 39, 176, 0.12);
  border: 1px solid rgba(156, 39, 176, 0.25);
  border-radius: var(--radius);
  text-align: center;
}

.sidebar-cashback .cashback-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sidebar-cashback .cashback-timer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}

.sidebar-bottom {
  padding: var(--spacing-sm) var(--spacing-md);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.sidebar-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  margin-bottom: var(--spacing-xs);
}

.sidebar-lang:hover {
  background: var(--bg-card-hover);
}

.sidebar-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #0088cc, #00aaff);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.sidebar-telegram:hover {
  opacity: 0.9;
}

/* ========== HEADER SEARCH BUTTON ========== */
.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  transition: all 0.2s;
}

.header-search-btn:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

/* ========== HEADER NAV BADGE ========== */
.header-nav .nav-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ========== HEADER (top bar for mobile + desktop top) ========== */
.site-header {
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 var(--spacing-md);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.header-logo {
  display: none;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.header-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

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

.header-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-text);
  background: rgba(168, 85, 247, 0.15);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c518, #ffd740);
  color: #2e0a52;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd740, #ffe566);
  box-shadow: 0 6px 28px rgba(245, 197, 24, 0.65);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-muted);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-blue {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.40);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.55);
}

/* ========== HERO ========== */
.hero {
  background: var(--gradient-hero);
  background-image:
    var(--gradient-hero),
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 20%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 80%, rgba(245,197,24,0.4) 0%, transparent 100%);
  padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-bottom: 1px solid rgba(168, 85, 247, 0.30);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Hero: two-column layout on desktop — text+usp left, slider right */
.hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: auto auto;
  gap: var(--spacing-md) var(--spacing-xl);
  align-items: start;
}

.hero-text {
  grid-column: 1;
  grid-row: 1;
}

.hero-slider-col {
  grid-column: 2;
  grid-row: 1 / 3;  /* spans both rows on desktop */
}

/* USP row: on desktop sits below hero-text (left column), on mobile below slider */
.hero-usp-row {
  grid-column: 1;
  grid-row: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ddd6fe;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: var(--spacing-xs);
  background: linear-gradient(135deg, #f5c518 0%, #ffd740 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(245, 197, 24, 0.5));
}

.hero-sub-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(0, 200, 83, 0.18);
  border: 1px solid rgba(0, 200, 83, 0.40);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00e676;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.03em;
}

.hero-slogan {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.hero-cta {
  margin-bottom: var(--spacing-lg);
}

.hero-usp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-usp li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-muted-light);
}

.hero-usp li .usp-icon {
  width: 22px;
  height: 22px;
  background: rgba(0, 200, 83, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
}

.section-title .section-icon {
  font-size: 1.4rem;
}

.section-link {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--color-primary-hover);
}

.section-link::after {
  content: '→';
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-top: 0;
  box-shadow: 0 8px 40px rgba(156,39,176,0.3);
}

.hero-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.hero-slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(26,10,46,0.7);
  border: 1px solid rgba(156,39,176,0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.hero-slider-btn:hover { background: rgba(168,85,247,0.7); }
.hero-slider-btn.prev { left: 10px; }
.hero-slider-btn.next { right: 10px; }

/* ========== GAME CARDS GRID ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--spacing-sm);
}

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.50);
  box-shadow: var(--shadow-glow), 0 8px 24px rgba(0,0,0,0.5);
}

.game-card-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.game-card-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 8px;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-overlay .btn {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.game-card-info {
  padding: 10px 12px;
}

.game-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-provider {
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.game-card .new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-accent-alt);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

/* Quick Games — larger cards */
.games-grid--quick {
  grid-template-columns: repeat(4, 1fr);
}

.games-grid--quick .game-card-thumb {
  aspect-ratio: 16 / 9;
}

/* Game thumbnail color variants */
.thumb-bg-1 { background: linear-gradient(135deg, #1a237e, #283593); }
.thumb-bg-2 { background: linear-gradient(135deg, #4a148c, #6a1b9a); }
.thumb-bg-3 { background: linear-gradient(135deg, #b71c1c, #c62828); }
.thumb-bg-4 { background: linear-gradient(135deg, #e65100, #f57c00); }
.thumb-bg-5 { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.thumb-bg-6 { background: linear-gradient(135deg, #006064, #00838f); }
.thumb-bg-7 { background: linear-gradient(135deg, #880e4f, #ad1457); }
.thumb-bg-8 { background: linear-gradient(135deg, #311b92, #4527a0); }

/* ========== PROVIDERS BAR ========== */
.providers-bar {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.providers-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.provider-logo {
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.provider-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--color-text);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* ========== SEO CONTENT ========== */
.seo-content {
  padding: var(--spacing-2xl) 0;
}

.seo-content h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.seo-content h2 {
  font-size: 1.5rem;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--color-border);
}

.seo-content h3 {
  font-size: 1.2rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--color-muted-light);
}

.seo-content p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-muted-light);
  line-height: 1.8;
}

.seo-content strong {
  color: var(--color-text);
}

.seo-content ul, .seo-content ol {
  margin: var(--spacing-sm) 0;
  padding-left: var(--spacing-md);
}

.seo-content ul {
  list-style: disc;
}

.seo-content ol {
  list-style: decimal;
}

.seo-content li {
  color: var(--color-muted-light);
  margin-bottom: 6px;
  line-height: 1.7;
}

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

.seo-content a:hover {
  color: var(--color-primary-hover);
}

/* TOC */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.toc-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.toc ol {
  list-style: decimal;
  padding-left: var(--spacing-md);
}

.toc li {
  margin-bottom: 4px;
}

.toc a {
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* SEO Content Images with captions */
.seo-content .content-img-wrap,
.content-img-wrap {
  margin: var(--spacing-lg) auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  max-width: 720px;
}

.seo-content .content-img-wrap img,
.content-img-wrap img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.seo-content .content-img-caption,
.content-img-caption {
  background: rgba(168, 85, 247, 0.12);
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
}

/* Info Table */
.info-table {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: var(--spacing-md) 0;
}

.info-table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.info-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  width: 220px;
}

.info-table td:last-child {
  color: var(--color-muted-light);
}

.screenshot-placeholder {
  border: 2px dashed var(--color-muted);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: var(--spacing-lg) 0;
  background: rgba(255, 255, 255, 0.02);
}

/* ========== BONUS TABLE ========== */
.bonus-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--spacing-md) 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 85, 247, 0.30);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.bonus-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.bonus-table thead tr {
  background: linear-gradient(135deg, rgba(168,85,247,0.35) 0%, rgba(109,40,217,0.35) 100%);
}

.bonus-table thead th {
  padding: 14px 18px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #e9d5ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(168,85,247,0.5);
  white-space: nowrap;
}

.bonus-table tbody tr {
  background: rgba(255,255,255,0.03);
  transition: background 0.2s;
}

.bonus-table tbody tr:nth-child(even) {
  background: rgba(168,85,247,0.07);
}

.bonus-table tbody tr:hover {
  background: rgba(168,85,247,0.14);
}

.bonus-table tbody td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(168,85,247,0.15);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

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

/* First column — deposit amount */
.bonus-table tbody td:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c4b5fd;
}

/* Bonus value column */
.bonus-table .bonus-val {
  color: #f5c518;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

/* Free spins column */
.bonus-table .fs-val {
  color: #00e676;
}

/* Total value column */
.bonus-table .total-val {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto var(--spacing-xl);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

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

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

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

.footer-support-info {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.footer-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-provider-tag {
  font-size: 0.7rem;
  color: var(--color-muted);
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  max-width: 1400px;
  margin: var(--spacing-lg) auto 0;
}

.footer-responsible {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent-alt);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent-alt);
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Footer Logo */
.footer-logo-row {
  display: flex;
  justify-content: center;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-logo-link .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Comparison Table */
.comparison-table td:first-child {
  width: auto;
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table tr:first-child td {
  background: rgba(30, 144, 255, 0.08);
  font-weight: 700;
  color: var(--color-text);
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 80;
  padding: var(--spacing-md);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:hover {
  color: var(--color-text);
}

/* ========== HORIZONTAL SCROLL (mobile games) ========== */
.games-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.games-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1199px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .header-logo {
    display: flex;
  }

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .content-area {
    padding: var(--spacing-md) var(--spacing-md);
  }

  .hero {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  /* Tablet: smaller text column */
  .hero-inner {
    grid-template-columns: 260px 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-slide img {
    height: 260px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .header-right .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .header-right .btn-ghost {
    display: none;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
  }

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

  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  /* Hero: stack vertically on mobile */
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .hero-text {
    width: 100%;
    order: 1;
  }

  .hero-slider-col {
    width: 100%;
    order: 2;
  }

  .hero-usp-row {
    width: 100%;
    order: 3;
  }

  /* Slider compact on mobile */
  .hero-slide img {
    height: 200px;
    object-fit: cover;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  /* SEO images: smaller on mobile */
  .seo-content .content-img-wrap,
  .content-img-wrap {
    max-width: 100%;
  }

  .seo-content .content-img-wrap img,
  .content-img-wrap img {
    max-height: none;
    object-fit: contain;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .content-area {
    padding: var(--spacing-sm);
  }

  .site-footer {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-md);
  }

  .section-header {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }

  .providers-grid {
    gap: var(--spacing-xs);
  }

  .provider-logo {
    padding: 8px 14px;
    font-size: 0.7rem;
  }

  .info-table td:first-child {
    width: auto;
  }

  .info-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
    display: block;
  }

  .info-table tr {
    display: flex;
    flex-direction: column;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-slide img {
    height: 170px;
  }

  .btn-lg {
    width: 100%;
    text-align: center;
  }

  .seo-content .content-img-wrap img,
  .content-img-wrap img {
    max-height: none;
    object-fit: contain;
  }
}

/* ========== GAME CARD IMAGES ========== */
.game-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-thumb {
  position: relative;
}
