/* Vulkan Vegas Casino - Premium Light Theme CSS */

/* CSS Variables - Vulkan Vegas Official Brand Palette (Final) */
:root {

  /* === Основные цвета интерфейса === */
  --bg: #f4f7ff;               /* фоновый голубовато-белый */
  --surface: #e9eefb;          /* фон карточек/сайдбара */
  --surface-hover: #dfe6fa;    /* подсветка при наведении */
  --border-color: #cdd9f7;     /* деликатные разделительные линии */
  --text-main: #0a0a0f;        /* основной текст */
  --text-muted: #1f2c4b;       /* вторичный текст */
  --text-inverse: #ffffff;

  /* === Акценты === */
  --accent-blue: #1a6dff;      /* основной фирменный синий */
  --accent-light-blue: #2da6ff;/* яркий голубой для кнопок */
  --accent-purple: #7e49ff;    /* вторичный градиент */
  --accent-pink: #ff2d9a;      /* розовый акцент (CTA hover) */
  --accent-green: #14c45b;     /* используется в баннерах ($200k Pool) */
  --accent-gold: #ffd659;      /* подсветка меток типа 'TOP' */

  /* === Градиенты === */
  --grad-primary: linear-gradient(90deg, #1a6dff 0%, #2da6ff 100%);
  --grad-secondary: linear-gradient(90deg, #ff2d9a 0%, #7e49ff 100%);
  --grad-success: linear-gradient(90deg, #14c45b 0%, #2df87b 100%);

  /* === Кнопки === */
  --btn-bg: var(--grad-primary);
  --btn-bg-hover: var(--grad-secondary);
  --btn-text: #ffffff;
  --btn-shadow: 0 4px 16px rgba(26, 109, 255, 0.25);

  /* === Навигация / сайдбар === */
  --nav-bg: #e7edfb;
  --nav-hover: #d7e1fb;
  --nav-active: #1a6dff;
  --nav-icon: #1a6dff;
  --nav-text: #0b1533;
  --nav-text-active: #ffffff;

  /* === UI элементы === */
  --chip-bg: #ffffff;
  --chip-border: #cdd9f7;
  --chip-text: #1a6dff;
  --label-yellow: #ffeb3b;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);

  /* === Footer === */
  --footer-bg: #dbe4fa;
  --footer-text: #3d4a68;

  /* === Радиусы и переходы === */
  --radius: 12px;
  --transition: 0.2s ease-in-out;
  
  /* === Compatibility aliases (для обратной совместимости) === */
  --text: var(--text-main);
  --text-primary: var(--text-main);
  --text-secondary: var(--text-muted);
  --text-white: var(--text-inverse);
  --shadow-blue: var(--btn-shadow);
  --card-border: 1px solid var(--border-color);
  --border-primary: var(--border-color);
  --border-secondary: var(--border-color);
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --transition-fast: var(--transition);
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --radius-sm: 8px;
  --radius-md: var(--radius);
  --radius-lg: 16px;
  --radius-xl: 20px;
  --success: var(--accent-green);
  --warning: var(--accent-gold);
  --error: #ef4444;
  --info: var(--accent-blue);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: var(--text-main) !important;
  text-shadow: none;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: var(--text-main) !important;
  text-shadow: none;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  color: var(--text-main) !important;
  text-shadow: none;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: none;
}

a {
  color: var(--accent-1);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--neon-pink-hover);
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.header .container {
  max-width: none;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-dark {
  background: var(--bg-tertiary);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 136, 255, 0.02) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255, 20, 147, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
  position: relative;
  z-index: 1;
}

.section-header h2 {
  margin-bottom: var(--spacing-md);
  color: var(--text-main);
  text-shadow: none;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
  margin-right: var(--spacing-sm);
}

.language-switcher .language-toggle {
  background: var(--surface);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  min-width: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.language-switcher .language-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 109, 255, 0.1), transparent);
  transition: left 0.4s ease;
}

.language-switcher .language-toggle:hover::before {
  left: 100%;
}

.language-switcher .language-toggle:hover {
  border-color: var(--accent-1);
  background: var(--surface-2);
  box-shadow: 0 0 16px rgba(26, 109, 255, 0.2);
  transform: translateY(-1px);
}

.language-switcher .language-toggle.active {
  border-color: var(--accent-1);
  background: var(--grad-cta);
  color: var(--text-dark);
  box-shadow: var(--shadow-neon);
  transform: translateY(-1px);
}

.language-switcher .current-language {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.language-switcher .current-language .text {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.language-switcher .arrow {
  font-size: 9px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.language-switcher .arrow.up {
  transform: rotate(180deg);
  color: var(--accent-1);
}

.language-switcher .language-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  box-shadow: var(--shadow-md), 0 0 20px rgba(26, 109, 255, 0.1);
  z-index: 1000;
  max-height: 180px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(12px);
  animation: slideDownLanguage 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.language-switcher .language-dropdown.show {
  display: block;
}

@keyframes slideDownLanguage {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.language-switcher .language-option {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.language-switcher .language-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 109, 255, 0.08), transparent);
  transition: left 0.3s ease;
}

.language-switcher .language-option:hover::before {
  left: 100%;
}

.language-switcher .language-option:first-child {
  border-radius: 9px 9px 0 0;
}

.language-switcher .language-option:last-child {
  border-bottom: none;
  border-radius: 0 0 9px 9px;
}

.language-switcher .language-option:hover {
  background: rgba(26, 109, 255, 0.08);
  color: var(--accent-1);
  transform: translateX(3px);
}

.language-switcher .language-option.active {
  background: var(--grad-cta);
  color: var(--text-dark);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(26, 109, 255, 0.3);
  transform: translateX(2px);
}

.language-switcher .language-option.active::after {
  content: "✓";
  position: absolute;
  right: 10px;
  font-weight: bold;
  color: var(--text-dark);
  font-size: 11px;
  animation: checkmarkBounce 0.3s ease;
}

@keyframes checkmarkBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(10deg); }
}

.language-switcher .language-option .text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.language-switcher .language-dropdown::-webkit-scrollbar {
  width: 4px;
}

.language-switcher .language-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

.language-switcher .language-dropdown::-webkit-scrollbar-thumb {
  background: var(--accent-1);
  border-radius: 2px;
}

.language-switcher .language-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink-hover);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.header.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  position: relative;
  width: 100%;
}

.logo img {
  max-height: 50px;
  width: auto;
  height: auto;
  transition: var(--transition-fast);
}

.logo img:hover {
  opacity: 0.8;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  list-style: none;
  gap: var(--spacing-sm);
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--nav-text);
  font-weight: 600;
  padding: var(--spacing-sm) 0.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
  font-size: 0.95rem;
  text-shadow: none;
}

.nav a:hover,
.nav a.active {
  color: var(--nav-active);
  background: var(--nav-hover);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--nav-active);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
  color: var(--accent-1);
  transform: scale(1.1);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  backdrop-filter: blur(16px);
}

.mobile-nav.active {
  display: block;
  animation: slideDownMobile 0.3s ease;
}

@keyframes slideDownMobile {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav ul {
  list-style: none;
  padding: var(--spacing-md) 0;
}

.mobile-nav ul li {
  border-bottom: 1px solid var(--border-primary);
}

.mobile-nav ul li:last-child {
  border-bottom: none;
}

.mobile-nav ul li a {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--nav-text);
  font-weight: 600;
  transition: var(--transition-fast);
  text-shadow: none;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: var(--nav-hover);
  color: var(--nav-active);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: var(--btn-shadow);
  border: 2px solid transparent;
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--btn-bg-hover);
  box-shadow: 0 6px 20px rgba(26, 109, 255, 0.35);
  filter: brightness(1.05);
  color: var(--btn-text);
}

.btn-primary:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 8px rgba(26, 109, 255, 0.3);
  filter: brightness(0.95);
}

.btn-primary:focus {
  outline: none;
  box-shadow: var(--btn-shadow), 0 0 0 3px rgba(26, 109, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow);
}

.btn-outline:active {
  transform: translateY(0px) scale(0.98);
  background: var(--accent-blue);
  color: white;
}

.btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.15rem;
}

/* Hero Section */
.hero {
  background: var(--bg);
  padding: 130px 0 var(--spacing-xxl);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  opacity: 0.1;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(26, 109, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26, 109, 255, 0.05) 0%, transparent 50%);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(244, 247, 255, 0.8), rgba(233, 238, 251, 0.6));
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: var(--spacing-lg);
  color: var(--text-main);
  text-shadow: none;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-muted);
  line-height: 1.8;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xxl);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  margin-top: var(--spacing-xxl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--chip-bg);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--chip-border);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow);
}

.trust-icon {
  font-size: 1.75rem;
  filter: grayscale(0.3);
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.game-card {
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(26, 109, 255, 0.15);
}

.game-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: var(--shadow-soft);
  transition: all 0.1s ease;
}

.game-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 109, 255, 0.85), rgba(45, 166, 255, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.game-card:hover .game-image img {
  transform: scale(1.12);
}

.play-button {
  background: white;
  color: var(--accent-blue);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.9), 0 0 0 2px var(--accent-blue);
  transition: var(--transition-fast);
  border: 2px solid white;
}

.play-button:hover {
  transform: translateY(-3px) scale(1.05);
  background: white;
  color: var(--accent-blue);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.95), 0 0 0 3px var(--accent-blue);
  border-color: white;
}

.play-button:active {
  transform: translateY(-1px) scale(0.98);
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(26, 109, 255, 0.5);
  border-color: var(--accent-blue);
}

.game-info {
  padding: var(--spacing-lg);
}

.game-info h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.15rem;
}

.game-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-primary);
}

.provider {
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rtp {
  color: var(--text-muted);
  font-weight: 600;
}

/* Card Styles */
.card {
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 109, 255, 0.2);
}

.card:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: var(--shadow-soft);
  transition: all 0.1s ease;
}

.card-icon {
  font-size: 3.25rem;
  margin-bottom: var(--spacing-md);
  filter: grayscale(0.2);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

/* Promotion Grid */
.promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.promotion-card {
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
}

.promotion-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}

.promotion-card:hover::before {
  opacity: 0.3;
}

.promotion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.promotion-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: var(--shadow-soft);
  transition: all 0.1s ease;
}

.promotion-card.featured {
  border: 2px solid var(--accent-3);
  background: linear-gradient(135deg, var(--surface), rgba(255, 20, 147, 0.04));
  box-shadow: var(--shadow-pink);
}

.promotion-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--grad-cta);
  color: #ffffff;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-neon-pink);
}

.promotion-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: var(--spacing-md) 0;
  letter-spacing: -0.02em;
}

.promotion-details {
  margin: var(--spacing-md) 0;
  padding: var(--spacing-md);
  background: rgba(26, 109, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 109, 255, 0.1);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  font-size: 0.92rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item strong {
  color: var(--accent-1);
  font-weight: 700;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  filter: grayscale(0.15);
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Payment Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--surface);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.payment-method:hover {
  border-color: var(--accent-1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.payment-icon {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-sm);
}

.payment-method span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
  border-top: 2px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.6;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--text-main);
  margin-bottom: var(--spacing-md);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: none;
}

.footer-section p {
  color: var(--footer-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: var(--accent-1);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-weight: 600;
}

.social-link:hover {
  color: var(--accent-1);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-primary);
  padding-top: var(--spacing-lg);
}

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

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-1);
}

.licensing-info {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 50px;
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--btn-shadow);
  z-index: 999;
  display: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-cta:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--btn-bg-hover);
  box-shadow: 0 8px 32px rgba(26, 109, 255, 0.4);
  filter: brightness(1.05);
  color: var(--btn-text);
}

/* VIP Benefits */
.vip-benefits ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.vip-benefits ul li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

.vip-benefits ul li:last-child {
  border-bottom: none;
}

.vip-benefits ul li::before {
  content: '✓';
  color: var(--accent-1);
  font-weight: bold;
  margin-right: var(--spacing-sm);
}

/* Terms Content */
.terms-content {
  max-width: 850px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: var(--card-border);
}

.terms-section h3 {
  color: var(--accent-1);
  margin-bottom: var(--spacing-md);
}

.terms-section ul {
  list-style: none;
  padding: 0;
}

.terms-section ul li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

.terms-section ul li:last-child {
  border-bottom: none;
}

.terms-section ul li::before {
  content: '•';
  color: var(--accent-1);
  font-weight: bold;
  margin-right: var(--spacing-sm);
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-actions .btn-outline {
    display: none;
  }
  
  .header-actions .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
  }
  
  .logo img {
    max-height: 45px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-cta {
    display: block;
  }
  
  .header-actions .btn-primary {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    font-size: 0.92rem;
  }
  
  .logo img {
    max-height: 40px;
  }
  
  .header-content {
    justify-content: space-between;
    width: 100%;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .header .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .header-actions .btn {
    display: none !important;
  }
  
  .mobile-cta {
    display: block;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .logo img {
    max-height: 35px;
  }
  
  .mobile-menu-toggle {
    order: -1;
  }
  
  .header-actions {
    justify-content: flex-end;
  }
  
  .hero {
    padding: 110px 0 var(--spacing-xl);
    min-height: 65vh;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-indicators {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-item {
    width: 100%;
    max-width: 320px;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .game-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  body {
    padding-bottom: 90px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero h1 {
    font-size: 2.1rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .card {
    padding: var(--spacing-lg);
  }
  
  .btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.05rem;
  }
  
  .promotion-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-item {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .terms-section {
    padding: var(--spacing-md);
  }
  
  .logo img {
    max-height: 32px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.92rem;
  }
  
  .btn-large {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
  }
  
  .card {
    padding: var(--spacing-md);
  }
  
  .game-grid {
    gap: var(--spacing-md);
  }
  
  .trust-item {
    flex-direction: column;
    text-align: center;
  }
  
  .logo img {
    max-height: 30px;
  }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 55vh;
    padding: var(--spacing-xl) 0;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .mobile-cta {
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.05rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.7s ease-out;
}

@keyframes shimmer {
  0% {
    background-position: -300px 0;
  }
  100% {
    background-position: calc(300px + 100%) 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(26, 109, 255, 0.15), transparent);
  background-size: 300px 100%;
  animation: shimmer 2.5s infinite;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(26, 109, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(26, 109, 255, 0.6);
  }
}

.neon-pulse {
  animation: neonPulse 3s ease-in-out infinite;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
}

/* Print Styles */
@media print {
  .header,
  .mobile-cta,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    background: white;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .game-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ============================================
   Core Web Vitals Optimizations
   ============================================ */

/* CLS Prevention: Fixed aspect ratios for images */
.hero-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Prevent layout shift */
  aspect-ratio: 16 / 9;
}

.game-image {
  /* Ensure consistent sizing to prevent CLS */
  min-height: 220px;
  aspect-ratio: 16 / 9;
}

/* INP Optimization: Improve interaction responsiveness */
button, .btn, a.btn {
  /* Reduce input delay */
  touch-action: manipulation;
  will-change: transform;
  /* Improve click responsiveness */
  -webkit-tap-highlight-color: transparent;
}

/* Optimize animations for better INP */
@media (prefers-reduced-motion: no-preference) {
  .game-card, .card, .btn {
    /* Use GPU acceleration for smoother interactions */
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Content Visibility for better performance */
.section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* Optimize font loading */
@font-face {
  font-display: swap;
}

/* Reduce layout shifts from dynamic content */
.faq-answer {
  min-height: 1.5rem;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
  /* Reduce paint complexity on mobile */
  .section-dark::before {
    display: none;
  }
  
  /* Optimize images for mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve touch targets for better INP */
  .btn, button, a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================
   Slow Network Optimizations (Africa)
   ============================================ */

/* Reduce animations on slow connections */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Optimize image loading for slow networks */
img[loading="lazy"] {
  content-visibility: auto;
  contain-intrinsic-size: 300px 169px;
}

/* Reduce layout shifts from fonts */
body {
  font-display: swap;
}

/* Optimize game images for slow networks */
.game-image img {
  will-change: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Reduce repaints on scroll */
.game-grid {
  contain: layout style paint;
}

/* Optimize for 2G/3G networks */
@media (prefers-reduced-data: reduce) {
  .hero-visual {
    display: none;
  }
  
  .game-image img {
    display: none;
  }
  
  .game-image::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--surface);
  }
}
