/* ============================================
   OnlineCasinoHub.us - Premium Casino Theme
   Inspired by modern casino platforms
   ============================================ */

/* --- Geo-Restriction --- */
html.geo-checking body { opacity: 0; pointer-events: none; }
html.geo-blocked body { margin: 0; background: #0e0a2a; }
.geo-block-overlay {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1040, #0e0a2a);
  color: #f0f0f5; font-family: 'Inter', sans-serif; text-align: center;
  padding: 2rem;
}
.geo-block-card {
  max-width: 520px; padding: 3rem 2.5rem;
  background: rgba(30, 20, 70, 0.7); border: 1px solid rgba(100, 80, 180, 0.3);
  border-radius: 1.25rem; backdrop-filter: blur(16px);
}
.geo-block-icon { font-size: 4rem; margin-bottom: 1rem; }
.geo-block-card h1 { font-size: 1.75rem; margin: 0 0 .75rem; color: #f5c518; }
.geo-block-card p { font-size: 1.1rem; line-height: 1.6; margin: 0 0 .5rem; color: #b8b8d4; }
.geo-block-sub { font-size: .9rem !important; color: #8a8aab !important; margin-top: 1rem !important; }

/* --- CSS Variables --- */
:root {
  --primary: #1a1040;
  --primary-light: #2d1b69;
  --primary-dark: #0e0a2a;
  --accent: #f5c518;
  --accent-light: #ffe066;
  --accent-dark: #d4a307;
  --red: #e63946;
  --red-glow: rgba(230, 57, 70, 0.5);
  --green: #2ec866;
  --blue: #4a7dff;
  --purple: #8b5cf6;
  --cyan: #06d6a0;
  --white: #f0f0f5;
  --gray: #8a8aab;
  --gray-light: #b8b8d4;
  --card-bg: rgba(30, 20, 70, 0.6);
  --card-border: rgba(100, 80, 180, 0.3);
  --card-hover: rgba(100, 80, 180, 0.5);
  --nav-bg: rgba(14, 10, 42, 0.97);
  --gradient-hero: linear-gradient(135deg, #2d1b69 0%, #1a1040 40%, #0e0a2a 100%);
  --gradient-accent: linear-gradient(135deg, #f5c518 0%, #ffe066 50%, #d4a307 100%);
  --gradient-card: linear-gradient(160deg, rgba(45, 27, 105, 0.7) 0%, rgba(14, 10, 42, 0.9) 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6, #6d28d9);
  --gradient-banner: linear-gradient(135deg, #3b1f8e 0%, #1a1040 50%, #0e0a2a 100%);
  --shadow-accent: 0 0 20px rgba(245, 197, 24, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-purple: 0 0 30px rgba(139, 92, 246, 0.2);
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1320px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--primary-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* --- Animated Blurry Background Lights --- */
.bg-lights {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-lights::before,
.bg-lights::after,
.bg-light-1,
.bg-light-2,
.bg-light-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: opacity, transform;
}

/* Purple orb — top left */
.bg-lights::before {
  content: '';
  width: 600px;
  height: 600px;
  top: -10%;
  left: -5%;
  background: rgba(139, 92, 246, 0.12);
  animation: bgGlow1 8s ease-in-out infinite alternate;
}

/* Gold orb — right */
.bg-lights::after {
  content: '';
  width: 500px;
  height: 500px;
  top: 30%;
  right: -8%;
  background: rgba(245, 197, 24, 0.07);
  animation: bgGlow2 10s ease-in-out infinite alternate;
}

/* Pink-red orb — bottom left */
.bg-light-1 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  left: 10%;
  background: rgba(230, 57, 70, 0.06);
  animation: bgGlow3 12s ease-in-out infinite alternate;
}

/* Cyan orb — center */
.bg-light-2 {
  width: 400px;
  height: 400px;
  top: 55%;
  left: 40%;
  background: rgba(6, 214, 160, 0.05);
  animation: bgGlow4 9s ease-in-out infinite alternate;
}

/* Deep purple orb — bottom right */
.bg-light-3 {
  width: 650px;
  height: 650px;
  bottom: -15%;
  right: 5%;
  background: rgba(109, 40, 217, 0.08);
  animation: bgGlow5 11s ease-in-out infinite alternate;
}

@keyframes bgGlow1 {
  0%   { opacity: 0.3; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.7; transform: translate(40px, 30px) scale(1.15); }
}
@keyframes bgGlow2 {
  0%   { opacity: 0.2; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.6; transform: translate(-30px, 20px) scale(1.1); }
}
@keyframes bgGlow3 {
  0%   { opacity: 0.2; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.55; transform: translate(25px, -35px) scale(1.2); }
}
@keyframes bgGlow4 {
  0%   { opacity: 0.15; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.5; transform: translate(-20px, -25px) scale(1.1); }
}
@keyframes bgGlow5 {
  0%   { opacity: 0.25; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.6; transform: translate(-35px, 20px) scale(1.15); }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; color: var(--gray-light); }

ul, ol { margin-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; color: var(--gray-light); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .logo img {
  display: block;
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
}

.nav-links li { margin: 0; position: relative; }

.nav-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(139, 92, 246, 0.15);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(245, 197, 24, 0.1);
}

/* --- Nav Dropdown --- */
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle .nav-arrow {
  font-size: 0.55rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-dropdown-parent:hover .nav-arrow,
.nav-dropdown-parent.open .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 520px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(14, 10, 42, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.1);
  z-index: 1001;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: rgba(14, 10, 42, 0.98);
  border-left: 1px solid var(--card-border);
  border-top: 1px solid var(--card-border);
}

.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: rgba(139, 92, 246, 0.12);
  transform: translateX(4px);
}

.nav-dropdown-item .dd-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.nav-dropdown-item .dd-logo {
  padding: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-item .dd-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.nav-dropdown-item .dd-text {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-item .dd-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.nav-dropdown-item .dd-desc {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.3;
}

.nav-dropdown-item:hover .dd-name {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  position: relative; /* needed for z-index to take effect */
  z-index: 1002;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.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(7px, -6px);
}

/* --- Hero Banner Slider --- */
.hero {
  position: relative;
  padding-top: 70px;
  background: var(--primary-dark);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/banner-hero.png') center top / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 10, 36, 0.45) 0%, rgba(13, 10, 36, 0.7) 50%, rgba(13, 10, 36, 0.95) 85%, var(--primary-dark) 100%);
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 24px auto;
  max-width: var(--max-width);
  background: rgba(13, 10, 36, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  padding: 50px 60px;
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
}

.hero-slide-1 {
  background: linear-gradient(135deg, rgba(59, 31, 142, 0.6) 0%, rgba(109, 40, 217, 0.5) 40%, rgba(236, 72, 153, 0.4) 100%);
}

.hero-slide-2 {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.6) 0%, rgba(5, 150, 105, 0.5) 40%, rgba(52, 211, 153, 0.4) 100%);
}

.hero-slide-3 {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.6) 0%, rgba(217, 119, 6, 0.5) 40%, rgba(251, 191, 36, 0.4) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
}

.hero-slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-slide-content h2 .highlight-box {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 2px 16px;
  border-radius: 8px;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.hero-slide-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-slide-image {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 450px;
  z-index: 1;
}

.hero-slide-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

/* Slider Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 8px;
}

.slider-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(139, 92, 246, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--blue);
  width: 48px;
}

/* --- Category Tabs --- */
.category-tabs {
  display: flex;
  gap: 6px;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  font-family: var(--font-body);
}

.category-tab:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #fff;
  border-color: var(--purple);
}

.category-tab.active {
  background: var(--gradient-purple);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

.category-tab .tab-icon {
  font-size: 1.2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-gold, .btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 15px var(--red-glow);
}

.btn-gold:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--red-glow);
  color: #fff;
  background: #d32f3f;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-neon {
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
  border-color: var(--card-hover);
}

/* --- Featured Games Section --- */
.games-section {
  background: var(--primary-dark);
  padding-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--white);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

/* Games Carousel Header */
.games-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.games-carousel-header h2 {
  font-size: 1.6rem;
  margin: 0;
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--card-border);
  color: var(--gray-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* Games Scroll Row */
.games-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.games-scroll::-webkit-scrollbar { display: none; }

/* --- Game Cards (Carousel style) --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2), 0 0 20px rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.3);
}

/* Compact carousel cards */
.game-card-compact {
  min-width: 200px;
  max-width: 200px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.game-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
  border-color: var(--purple);
}

.game-card-compact .game-card-image {
  height: 220px;
  position: relative;
}

.game-card-compact .game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-compact .game-card-body {
  padding: 12px 14px;
}

.game-card-compact .game-card-body h3 {
  font-size: 0.85rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-compact .game-card-body .dev-name {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
}

.game-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-image.logo-panel,
.trending-card-img.logo-panel {
  padding: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 197, 24, 0.22), transparent 26%),
    radial-gradient(circle at 75% 80%, rgba(34, 211, 238, 0.16), transparent 28%),
    linear-gradient(135deg, #17123a 0%, #241447 52%, #090b1a 100%);
}

.game-card-image.logo-panel img.game-logo-img,
.game-card-compact .game-card-image.logo-panel img.game-logo-img,
.trending-card-img.logo-panel img.game-logo-img {
  width: min(72%, 170px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.game-card-compact .game-card-image.logo-panel img.game-logo-img {
  width: min(76%, 150px);
}

.trending-card-img.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.trending-card-img.logo-panel img.game-logo-img {
  width: 100px;
}

.game-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card-body {
  padding: 22px;
}

.game-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--white);
}

.game-card-body p {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--gray);
}

.game-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.game-card-tags span {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-card-footer .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.game-card-rating {
  color: var(--accent);
  font-size: 0.9rem;
}

.game-card-rating span {
  color: var(--gray);
  margin-left: 5px;
}

/* --- Stats Strip --- */
.stats-strip {
  background: linear-gradient(135deg, #2d1b69 0%, #1a1040 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(139, 92, 246, 0.25);
}

/* --- Trust Cards --- */
.trust-section {
  background: var(--primary-dark);
  padding: 64px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.trust-card-accent {
  height: 3px;
}

.trust-accent-green { background: var(--green); }
.trust-accent-blue { background: var(--blue); }
.trust-accent-purple { background: var(--purple); }

.trust-card-inner {
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
}

.trust-text h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.trust-text p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* --- Screenshots / Gallery --- */
.screenshots-section {
  background: var(--primary-dark);
  overflow: hidden;
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

.screenshot-item {
  min-width: 280px;
  max-width: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--card-border);
  scroll-snap-align: start;
  transition: var(--transition);
  flex-shrink: 0;
}

.screenshot-item:hover {
  border-color: var(--purple);
  transform: scale(1.02);
}

.screenshot-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  background: var(--primary);
}

/* --- Features Section --- */
.features-section {
  background: var(--primary-dark);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.feature-card {
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 1.55rem;
  color: var(--accent);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card p {
  margin: 0;
  color: var(--gray-light);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* --- How-To Timeline Layout --- */
.howto-section {
  background: var(--primary);
  padding: 80px 0;
}

.howto-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.howto-left .section-tag {
  margin-bottom: 12px;
  display: inline-block;
}

.howto-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.howto-left p {
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 380px;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), rgba(139, 92, 246, 0.15));
  border-radius: 1px;
}

.timeline-step {
  position: relative;
  margin-bottom: 36px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -36px;
  top: 2px;
  width: 30px;
  height: 30px;
  background: var(--gradient-purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}

.timeline-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--white);
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* --- Promo Strip --- */
.promo-strip {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, var(--primary-dark) 100%);
  padding: 0;
  border-top: 1px solid rgba(230, 57, 70, 0.2);
  border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

/* --- Withdraw Section --- */
.withdraw-section {
  background: var(--primary-dark);
  padding: 80px 0;
}

.withdraw-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.withdraw-left .section-tag {
  margin-bottom: 12px;
  display: inline-block;
}

.withdraw-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.withdraw-left p {
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 380px;
}

.withdraw-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.withdraw-email-label {
  font-size: 0.82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.withdraw-email-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-all;
}

.withdraw-email-link:hover {
  color: var(--accent-light);
}

.withdraw-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.withdraw-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.withdraw-card:hover {
  border-color: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.withdraw-card-accent {
  height: 3px;
}

.withdraw-accent-orange { background: linear-gradient(90deg, #f7931a, #f5c518); }
.withdraw-accent-blue { background: linear-gradient(90deg, #0070ba, #00b4d8); }

.withdraw-card-inner {
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.withdraw-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 12px;
}

.withdraw-text h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.withdraw-text p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.promo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.promo-strip-text h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.promo-strip-text p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
}

.btn-gold {
  background: var(--gradient-accent);
  color: #1a1040;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold:hover {
  color: #1a1040;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* --- FAQ Split Layout --- */
.faq-section {
  background: var(--primary);
  padding: 80px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.faq-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.faq-left p {
  color: var(--gray);
  margin-bottom: 24px;
}

.faq-contact {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.faq-contact:hover {
  color: var(--accent);
}

.faq-list {
  width: 100%;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  padding: 18px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--purple);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Blog Magazine Layout --- */
.blog-section {
  background: var(--primary-dark);
  padding: 80px 0;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.blog-header h2 {
  margin: 0;
}

.blog-view-all {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.blog-view-all:hover {
  color: var(--accent);
}

.blog-magazine {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.blog-featured {
  border-radius: 16px;
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.blog-featured:hover {
  border-color: var(--card-hover);
  box-shadow: var(--shadow-purple);
}

.blog-featured-image {
  height: 260px;
  overflow: hidden;
  background: var(--primary);
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-featured:hover .blog-featured-image img {
  transform: scale(1.04);
}

.blog-featured-body {
  padding: 24px;
}

.blog-featured-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.blog-featured-body h3 a {
  color: var(--white);
}

.blog-featured-body h3 a:hover {
  color: var(--accent);
}

.blog-featured-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.blog-tag {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--gray);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.88rem;
}

.read-more:hover {
  gap: 10px;
  color: var(--accent);
}

/* Blog side stack */
.blog-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-side-card {
  display: flex;
  gap: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  flex: 1;
}

.blog-side-card:hover {
  border-color: var(--card-hover);
}

.blog-side-image {
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--primary);
}

.blog-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-side-body {
  padding: 18px 18px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.blog-side-body h4 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
}

.blog-side-body h4 a {
  color: var(--white);
}

.blog-side-body h4 a:hover {
  color: var(--accent);
}

.blog-side-body .blog-card-meta {
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  border-top: 1px solid var(--card-border);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-brand .logo img,
.footer-logo img {
  display: block;
  height: 58px;
  width: auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 18px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

.footer-bottom a {
  color: var(--gray);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- Game Page Specific --- */
.game-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.game-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

/* Subtle dot pattern overlay */
.game-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.game-hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.game-hero-text {
  position: relative;
}

.game-hero-text .section-tag {
  margin-bottom: 14px;
}

.game-hero-text h1 {
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.game-hero-text p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

.game-hero-image {
  text-align: center;
  position: relative;
}

/* Glow ring behind the image */
.game-hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  height: 85%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.game-hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-purple), 0 20px 60px rgba(0,0,0,0.4);
  max-width: 100%;
  position: relative;
  z-index: 1;
}

/* Meta stat pills */
.game-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.game-meta-item {
  text-align: center;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 80px;
  transition: var(--transition);
}

.game-meta-item:hover {
  border-color: var(--accent);
  background: rgba(245,197,24,0.06);
  transform: translateY(-2px);
}

.game-meta-item .value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.game-meta-item .label {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hero button group — left-aligned on desktop */
.game-hero-text .btn-group {
  justify-content: flex-start;
}

.game-hero-text .play-store-badge {
  margin-top: 6px;
}

/* Hero marketing elements */
.hero-bonus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(245,197,24,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.4;
}

.hero-bonus strong {
  font-size: 1.1rem;
  color: var(--accent-light);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-light);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1rem;
  animation: urgencyPulse 2.5s ease-in-out infinite;
}

.hero-urgency .urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { border-color: rgba(230,57,70,0.2); }
  50% { border-color: rgba(230,57,70,0.45); }
}

/* --- Content Section --- */
.content-section {
  background: var(--primary);
}

.content-section .content-body {
  max-width: 100%;
  margin: 0;
}

.content-body h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--card-border);
  font-size: 1.15rem;
}

.content-body h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.content-body p {
  font-size: 0.82rem;
  line-height: 1.65;
}

.content-body ul, .content-body ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-body li {
  line-height: 1.8;
}

/* --- Promo Banner --- */
.promo-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, var(--primary-dark) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

/* --- Withdraw Banner (Game Pages) --- */
.withdraw-banner {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 30px 0 40px;
}

.withdraw-banner h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.withdraw-banner p {
  font-size: 0.92rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.7;
}

.withdraw-banner a {
  color: var(--accent);
  font-weight: 600;
}

.withdraw-banner a:hover {
  color: var(--accent-light);
}

.promo-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.promo-banner p {
  margin-bottom: 20px;
}

/* --- Image Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-grid img {
  border-radius: 12px;
  border: 1px solid var(--card-border);
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--primary);
  transition: var(--transition);
}

.gallery-grid img:hover {
  border-color: var(--purple);
  transform: scale(1.02);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--gray);
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--accent);
}

/* --- Star Rating --- */
.stars {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* --- Disclaimer --- */
.disclaimer {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- Social Casino Badge — Small/Subtle --- */
.social-casino-badge {
  font-size: 0.68rem;
  color: var(--gray);
  margin-top: 14px;
  letter-spacing: 0.3px;
  opacity: 0.55;
}

/* ============================================
   GAME PAGE COLOR THEMES
   Each page gets a unique casino-themed palette
   ============================================ */

/* Juwa 777 — Royal Gold & Deep Crimson */
body.theme-juwa {
  --page-accent: #f5c518;
  --page-accent-light: #ffe066;
  --page-glow: rgba(245, 197, 24, 0.15);
  --page-gradient: linear-gradient(135deg, #3b1a0a 0%, #7a2d11 30%, #1a1040 100%);
  --page-card-accent: rgba(245, 197, 24, 0.08);
}
body.theme-juwa .game-hero { background: linear-gradient(135deg, #2a0f00 0%, #6b2510 30%, #1a1040 70%, #0e0a2a 100%); }
body.theme-juwa .section-tag { --accent-dark: #d4a307; --accent-light: #ffe066; --accent: #f5c518; }
body.theme-juwa .btn-gold { background: linear-gradient(135deg, #e63946, #f5c518); color: #1a1040; }
body.theme-juwa .feature-icon { background: rgba(245, 197, 24, 0.12); }
body.theme-juwa .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(245, 197, 24, 0.08) 0%, transparent 60%); }

/* Game Vault — Emerald & Gold (Treasure Vault) */
body.theme-gamevault {
  --page-accent: #2ec866;
  --page-accent-light: #5eead4;
  --page-glow: rgba(46, 200, 102, 0.15);
  --page-gradient: linear-gradient(135deg, #052e16 0%, #065f46 30%, #0e0a2a 100%);
  --page-card-accent: rgba(46, 200, 102, 0.08);
}
body.theme-gamevault .game-hero { background: linear-gradient(135deg, #021a0b 0%, #064e3b 30%, #0f172a 70%, #0e0a2a 100%); }
body.theme-gamevault .section-tag { --accent-dark: #059669; --accent-light: #5eead4; --accent: #2ec866; }
body.theme-gamevault .btn-gold { background: linear-gradient(135deg, #059669, #2ec866); color: #021a0b; }
body.theme-gamevault .feature-icon { background: rgba(46, 200, 102, 0.12); }
body.theme-gamevault .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(46, 200, 102, 0.08) 0%, transparent 60%); }
body.theme-gamevault .game-hero-image img { box-shadow: 0 0 40px rgba(46, 200, 102, 0.2); }

/* Modo Slots — Purple & Teal (Modern Slots) */
body.theme-modo {
  --page-accent: #a78bfa;
  --page-accent-light: #c4b5fd;
  --page-glow: rgba(167, 139, 250, 0.15);
  --page-gradient: linear-gradient(135deg, #1e1065 0%, #312e81 30%, #0e0a2a 100%);
  --page-card-accent: rgba(167, 139, 250, 0.08);
}
body.theme-modo .game-hero { background: linear-gradient(135deg, #1e1065 0%, #3b0764 30%, #0c0a1e 70%, #0e0a2a 100%); }
body.theme-modo .section-tag { --accent-dark: #7c3aed; --accent-light: #c4b5fd; --accent: #a78bfa; }
body.theme-modo .btn-gold { background: linear-gradient(135deg, #7c3aed, #06d6a0); color: #fff; }
body.theme-modo .feature-icon { background: rgba(167, 139, 250, 0.12); }
body.theme-modo .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(6, 214, 160, 0.06) 0%, transparent 60%); }
body.theme-modo .game-hero-image img { box-shadow: 0 0 40px rgba(167, 139, 250, 0.2); }

/* Wow Vegas — Neon Pink & Electric Gold (Vegas Strip) */
body.theme-wowvegas {
  --page-accent: #ec4899;
  --page-accent-light: #f9a8d4;
  --page-glow: rgba(236, 72, 153, 0.15);
  --page-gradient: linear-gradient(135deg, #4a0028 0%, #831843 30%, #0e0a2a 100%);
  --page-card-accent: rgba(236, 72, 153, 0.08);
}
body.theme-wowvegas .game-hero { background: linear-gradient(135deg, #2e0016 0%, #9d174d 25%, #1a1040 70%, #0e0a2a 100%); }
body.theme-wowvegas .section-tag { --accent-dark: #db2777; --accent-light: #f9a8d4; --accent: #ec4899; }
body.theme-wowvegas .btn-gold { background: linear-gradient(135deg, #ec4899, #f5c518); color: #1a1040; }
body.theme-wowvegas .feature-icon { background: rgba(236, 72, 153, 0.12); }
body.theme-wowvegas .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 60%); }
body.theme-wowvegas .game-hero-image img { box-shadow: 0 0 40px rgba(236, 72, 153, 0.2); }

/* Bubble For Cash — Ocean Blue & Sunny Yellow (Playful) */
body.theme-bubble {
  --page-accent: #38bdf8;
  --page-accent-light: #7dd3fc;
  --page-glow: rgba(56, 189, 248, 0.15);
  --page-gradient: linear-gradient(135deg, #0c2d48 0%, #0369a1 30%, #0e0a2a 100%);
  --page-card-accent: rgba(56, 189, 248, 0.08);
}
body.theme-bubble .game-hero { background: linear-gradient(135deg, #082f49 0%, #0c4a6e 30%, #0f172a 70%, #0e0a2a 100%); }
body.theme-bubble .section-tag { --accent-dark: #0284c7; --accent-light: #7dd3fc; --accent: #38bdf8; }
body.theme-bubble .btn-gold { background: linear-gradient(135deg, #0284c7, #fbbf24); color: #082f49; }
body.theme-bubble .feature-icon { background: rgba(56, 189, 248, 0.12); }
body.theme-bubble .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%); }
body.theme-bubble .game-hero-image img { box-shadow: 0 0 40px rgba(56, 189, 248, 0.2); }

/* 8 Ball Strike — Felt Green & Dark Wood (Pool Table) */
body.theme-pool {
  --page-accent: #22c55e;
  --page-accent-light: #86efac;
  --page-glow: rgba(34, 197, 94, 0.15);
  --page-gradient: linear-gradient(135deg, #14260e 0%, #15803d 30%, #0e0a2a 100%);
  --page-card-accent: rgba(34, 197, 94, 0.08);
}
body.theme-pool .game-hero { background: linear-gradient(135deg, #0a1f05 0%, #14532d 30%, #1a1040 70%, #0e0a2a 100%); }
body.theme-pool .section-tag { --accent-dark: #16a34a; --accent-light: #86efac; --accent: #22c55e; }
body.theme-pool .btn-gold { background: linear-gradient(135deg, #16a34a, #22c55e); color: #0a1f05; }
body.theme-pool .feature-icon { background: rgba(34, 197, 94, 0.12); }
body.theme-pool .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 60%); }
body.theme-pool .game-hero-image img { box-shadow: 0 0 40px rgba(34, 197, 94, 0.2); }

/* Jackpot Nights — Deep Navy & Neon Amber (Nightlife) */
body.theme-jackpotnights {
  --page-accent: #fbbf24;
  --page-accent-light: #fde68a;
  --page-glow: rgba(251, 191, 36, 0.15);
  --page-gradient: linear-gradient(135deg, #0c1445 0%, #1e3a5f 30%, #0e0a2a 100%);
  --page-card-accent: rgba(251, 191, 36, 0.08);
}
body.theme-jackpotnights .game-hero { background: linear-gradient(135deg, #030617 0%, #1e1b4b 30%, #172554 60%, #0e0a2a 100%); }
body.theme-jackpotnights .section-tag { --accent-dark: #d97706; --accent-light: #fde68a; --accent: #fbbf24; }
body.theme-jackpotnights .btn-gold { background: linear-gradient(135deg, #d97706, #fbbf24); color: #030617; }
body.theme-jackpotnights .feature-icon { background: rgba(251, 191, 36, 0.12); }
body.theme-jackpotnights .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 60%); }
body.theme-jackpotnights .game-hero-image img { box-shadow: 0 0 40px rgba(251, 191, 36, 0.2); }

/* Bovada Casino — Classic Red & Black (Casino Floor) */
body.theme-bovada {
  --page-accent: #ef4444;
  --page-accent-light: #fca5a5;
  --page-glow: rgba(239, 68, 68, 0.15);
  --page-gradient: linear-gradient(135deg, #2a0a0a 0%, #7f1d1d 30%, #0e0a2a 100%);
  --page-card-accent: rgba(239, 68, 68, 0.08);
}
body.theme-bovada .game-hero { background: linear-gradient(135deg, #1c0505 0%, #7f1d1d 25%, #1a1040 70%, #0e0a2a 100%); }
body.theme-bovada .section-tag { --accent-dark: #dc2626; --accent-light: #fca5a5; --accent: #ef4444; }
body.theme-bovada .btn-gold { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
body.theme-bovada .feature-icon { background: rgba(239, 68, 68, 0.12); }
body.theme-bovada .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%); }
body.theme-bovada .game-hero-image img { box-shadow: 0 0 40px rgba(239, 68, 68, 0.2); }

/* New review pages — reusable generated game artwork */
body.theme-funzpoints .game-hero { background: linear-gradient(135deg, #3a0d05 0%, #7c2d12 28%, #451a03 58%, #0e0a2a 100%); }
body.theme-funzpoints .section-tag { --accent-dark: #ea580c; --accent-light: #fed7aa; --accent: #fb923c; }
body.theme-funzpoints .btn-gold { background: linear-gradient(135deg, #ea580c, #f5c518); color: #1a1040; }
body.theme-funzpoints .feature-icon { background: rgba(251, 146, 60, 0.12); }
body.theme-funzpoints .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.1) 0%, transparent 60%); }

body.theme-milkiway .game-hero { background: linear-gradient(135deg, #08111f 0%, #312e81 32%, #701a75 64%, #0e0a2a 100%); }
body.theme-milkiway .section-tag { --accent-dark: #7c3aed; --accent-light: #bae6fd; --accent: #38bdf8; }
body.theme-milkiway .btn-gold { background: linear-gradient(135deg, #38bdf8, #f5c518); color: #08111f; }
body.theme-milkiway .feature-icon { background: rgba(56, 189, 248, 0.12); }
body.theme-milkiway .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(186, 230, 253, 0.1) 0%, transparent 60%); }

body.theme-mahjong .game-hero { background: linear-gradient(135deg, #052e2b 0%, #0f766e 30%, #164e63 62%, #0e0a2a 100%); }
body.theme-mahjong .section-tag { --accent-dark: #0d9488; --accent-light: #99f6e4; --accent: #2dd4bf; }
body.theme-mahjong .btn-gold { background: linear-gradient(135deg, #0d9488, #f5c518); color: #052e2b; }
body.theme-mahjong .feature-icon { background: rgba(45, 212, 191, 0.12); }
body.theme-mahjong .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.1) 0%, transparent 60%); }

body.theme-poolpayday .game-hero { background: linear-gradient(135deg, #071f0f 0%, #166534 30%, #064e3b 62%, #0e0a2a 100%); }
body.theme-poolpayday .section-tag { --accent-dark: #16a34a; --accent-light: #bbf7d0; --accent: #4ade80; }
body.theme-poolpayday .btn-gold { background: linear-gradient(135deg, #16a34a, #f5c518); color: #071f0f; }
body.theme-poolpayday .feature-icon { background: rgba(74, 222, 128, 0.12); }
body.theme-poolpayday .game-hero::before { background: radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.1) 0%, transparent 60%); }

.game-art {
  position: relative;
  display: flex;
  min-height: 220px;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, #2d1b69, #0e0a2a);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.game-hero-image .game-art {
  min-height: 400px;
  border-radius: 20px;
}

.game-art::before,
.game-art::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.game-art::before {
  width: 180px;
  height: 180px;
  right: -46px;
  top: -42px;
  background: rgba(245,197,24,0.22);
  filter: blur(2px);
}

.game-art::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -90px;
  background: rgba(255,255,255,0.08);
}

.game-art-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(68%, 320px);
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  background: rgba(14,10,42,0.45);
  box-shadow: inset 0 0 36px rgba(255,255,255,0.06), 0 18px 50px rgba(0,0,0,0.25);
}

.game-art-symbol {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.game-art-title {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 6px 22px rgba(0,0,0,0.55);
}

.game-art-sub {
  display: block;
  margin-top: 5px;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.game-art-funzpoints { background: radial-gradient(circle at 25% 20%, #fed7aa 0%, transparent 22%), linear-gradient(135deg, #7c2d12 0%, #fb923c 45%, #451a03 100%); }
.game-art-milkiway { background: radial-gradient(circle at 30% 25%, #e0f2fe 0%, transparent 18%), linear-gradient(135deg, #312e81 0%, #7c3aed 42%, #0f172a 100%); }
.game-art-mahjong { background: radial-gradient(circle at 28% 22%, #ccfbf1 0%, transparent 20%), linear-gradient(135deg, #0f766e 0%, #115e59 45%, #042f2e 100%); }
.game-art-poolpayday { background: radial-gradient(circle at 32% 25%, #bbf7d0 0%, transparent 20%), linear-gradient(135deg, #14532d 0%, #16a34a 46%, #052e16 100%); }

.game-card-image .game-art,
.trending-card-img .game-art {
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.game-card-image .game-art-mark,
.trending-card-img .game-art-mark {
  width: min(54%, 150px);
  border-radius: 18px;
}

.game-card-image .game-art-symbol,
.trending-card-img .game-art-symbol {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Scale-in animation --- */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Blur-in animation --- */
.blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* --- Luxury floating animation for hero images --- */
@keyframes luxuryFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(0.5deg); }
  75% { transform: translateY(8px) rotate(-0.5deg); }
}

.game-hero-image img {
  border-radius: 20px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  animation: luxuryFloat 6s ease-in-out infinite;
}

/* --- Gold sparkle on hover --- */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.game-card::after {
  content: '✦';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.game-card:hover::after {
  animation: sparkle 0.8s ease forwards;
}

/* --- Neon pulse for featured items --- */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(139, 92, 246, 0.1), 0 0 10px rgba(139, 92, 246, 0.05); }
  50% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.3), 0 0 30px rgba(139, 92, 246, 0.1); }
}

.feature-card:hover {
  animation: neonPulse 2s ease-in-out infinite;
}

/* --- Gradient text reveal --- */
@keyframes gradientReveal {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.game-hero-text h1 {
  background: linear-gradient(90deg, var(--white) 0%, var(--accent) 50%, var(--white) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientReveal 6s linear infinite;
  -webkit-text-fill-color: transparent;
}

/* --- Luxury border sweep --- */
@keyframes borderSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.screenshot-item {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--primary-dark), var(--primary-dark)), linear-gradient(135deg, var(--card-border), rgba(245, 197, 24, 0.3), var(--card-border), rgba(139, 92, 246, 0.3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 300%;
}

.screenshot-item:hover {
  animation: borderSweep 3s ease infinite;
}

/* --- Card tilt on hover (3D) --- */
.promo-card, .trust-card, .feature-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.promo-card:hover {
  transform: perspective(600px) rotateY(-2deg) rotateX(2deg) translateY(-6px);
}

.trust-card:hover {
  transform: perspective(600px) rotateY(2deg) translateY(-4px);
}

/* --- Stagger children animation --- */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(n+9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* --- Coin Rain Canvas --- */
.coin-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  pointer-events: none;
}

/* --- Floating Particle Canvas --- */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- Gold Shimmer Keyframes --- */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245,197,24,0.08); }
  50%      { box-shadow: 0 0 35px rgba(245,197,24,0.18); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(245,197,24,0.15); }
  50%      { border-color: rgba(245,197,24,0.35); }
}

/* --- Gold shimmer on section tags --- */
.section-tag {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light), var(--accent), var(--accent-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
}

/* --- Luxury glow on stat numbers --- */
.stat-number {
  text-shadow: 0 0 20px rgba(245,197,24,0.3), 0 0 40px rgba(245,197,24,0.1);
}

/* --- Premium gold border pulse on featured cards --- */
.blog-featured,
.trust-card:first-child,
.withdraw-card:first-child {
  animation: subtlePulse 4s ease-in-out infinite;
}

/* --- Gold accent line glow on hero slider --- */
.hero-slider {
  border-color: rgba(245,197,24,0.12);
  animation: borderGlow 4s ease-in-out infinite;
}

/* --- Luxury divider between sections --- */
.stats-strip::after,
.trust-section::after,
.howto-section::after,
.withdraw-section::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--gradient-accent);
  margin: 0 auto;
  position: relative;
  bottom: -40px;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(245,197,24,0.3);
}

/* --- Gold shimmer on CTA buttons --- */
.btn-gold {
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: none;
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

@media (max-width: 768px) {
  .navbar .logo img {
    height: 44px;
  }

  .footer-brand .logo img,
  .footer-logo img {
    height: 50px;
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .game-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .game-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .game-hero-image {
    max-width: 420px;
    margin: 0 auto;
  }

  .game-hero-image img {
    animation: none;
  }

  .game-hero-image::before {
    display: none;
  }

  .game-meta {
    justify-content: center;
  }

  .game-hero-text .btn-group {
    justify-content: center;
  }

  .game-hero-text .play-store-badge {
    margin: 6px auto 0;
  }

  .btn-group {
    justify-content: center;
  }

  .hero-slide {
    min-height: 320px;
    padding: 40px 36px;
  }

  .hero-slide-content {
    max-width: 70%;
  }

  .hero-slide-image {
    width: 30%;
    opacity: 0.5;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .howto-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .howto-left {
    text-align: center;
  }

  .howto-left p {
    max-width: 100%;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-left {
    text-align: center;
  }

  .withdraw-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .withdraw-left {
    text-align: center;
  }

  .withdraw-left p {
    max-width: 100%;
  }

  .blog-magazine {
    grid-template-columns: 1fr;
  }

  .nav-dropdown {
    min-width: 420px;
  }
}

@media (max-width: 768px) {
  /* --- Mobile Nav --- */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: rgba(14, 10, 42, 0.99);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border);
    padding: 80px 24px 24px;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    display: block;
    border-radius: 10px;
  }

  /* Mobile dropdown — stacked vertically */
  .nav-dropdown-parent .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    min-width: 100%;
    background: rgba(30, 20, 70, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px;
    margin-top: 6px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0;
  }

  .nav-dropdown::before { display: none; }

  .nav-dropdown-parent.open .nav-dropdown {
    max-height: min(70vh, 720px);
    overflow-y: auto;
    padding: 10px;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .nav-dropdown-item {
    padding: 6px 8px;
    gap: 6px;
    flex-direction: row;
    align-items: center;
  }

  .nav-dropdown-item .dd-text {
    flex-direction: row;
    align-items: center;
  }

  .nav-dropdown-item .dd-desc {
    display: none;
  }

  .nav-dropdown-item .dd-name {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .nav-dropdown-item .dd-icon {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  /* Mobile nav overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

  .hero-slide {
    min-height: 280px;
    padding: 30px 24px;
  }

  .hero-slide-content {
    max-width: 100%;
  }

  .hero-slide-content h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .hero-slide-image {
    display: none;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .category-tabs {
    gap: 6px;
    padding: 12px 0;
  }

  .category-tab {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  section {
    padding: 60px 0;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-side-stack {
    flex-direction: row;
  }

  .blog-side-card {
    flex-direction: column;
  }

  .blog-side-image {
    width: 100%;
    height: 120px;
  }

  .blog-side-body {
    padding: 14px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-links-group {
    justify-content: center;
    text-align: center;
    gap: 32px;
  }

  .stat-divider {
    display: none;
  }

  .stats-row {
    gap: 24px;
  }

  .promo-strip-inner {
    justify-content: center;
    text-align: center;
  }

  .game-hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 36px;
  }

  .game-hero::after {
    display: none;
  }

  .game-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .game-hero-text p {
    font-size: 0.95rem;
  }

  .game-meta-item {
    padding: 10px 14px;
    min-width: 70px;
  }

  .game-meta-item .value {
    font-size: 1.15rem;
  }

  .play-store-badge {
    margin: 0 auto;
  }

  .game-card-compact {
    min-width: 170px;
    max-width: 170px;
  }

  .game-card-compact .game-card-image {
    height: 180px;
  }

  .screenshots-scroll {
    gap: 14px;
    padding: 16px 0;
  }

  .screenshot-item {
    min-width: 220px;
    max-width: 220px;
  }

  .screenshot-item img {
    height: 380px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .responsible-gaming-bar {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .responsible-gaming-bar .rg-links {
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .promos-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .game-hero-text h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    animation: none;
    -webkit-text-fill-color: var(--white);
    background: none;
    line-height: 1.25;
  }

  .game-hero-content {
    gap: 30px;
  }

  .game-hero-image {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }

  .game-meta {
    gap: 15px;
  }

  .promo-banner {
    padding: 25px 20px;
  }

  .glass-card {
    padding: 20px;
  }

  .hero-slide {
    min-height: 240px;
    padding: 24px 18px;
  }

  .hero-slider {
    border-radius: 14px;
  }

  .game-card-compact {
    min-width: 150px;
    max-width: 150px;
  }

  .blog-side-stack {
    flex-direction: column;
  }

  .stats-row {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }

  .game-meta-item .value {
    font-size: 1.2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .content-body h2 {
    font-size: 1.3rem;
  }

  .content-body h3 {
    font-size: 1.1rem;
  }

  .faq-question {
    font-size: 0.92rem;
    padding: 14px 18px;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-purple { color: var(--purple); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- Placeholder Image Styles --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  min-height: 200px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient-purple);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-purple);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 1px solid var(--card-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  font-size: 0.9rem;
  color: var(--gray-light);
  backdrop-filter: blur(12px);
}

.cookie-consent button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-consent button:hover {
  background: #d32f3f;
}

/* --- Age Gate Overlay --- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 6, 26, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.age-gate-box {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px 44px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(139,92,246,0.15);
}

.age-gate-box .age-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

.age-gate-box h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.age-gate-box p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.age-gate-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.age-gate-buttons .btn-age-yes {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.age-gate-buttons .btn-age-yes:hover {
  background: #25a854;
  transform: translateY(-2px);
}

.age-gate-buttons .btn-age-no {
  background: rgba(230,57,70,0.15);
  color: var(--red);
  border: 1px solid rgba(230,57,70,0.3);
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.age-gate-buttons .btn-age-no:hover {
  background: rgba(230,57,70,0.25);
}

.age-gate-box .age-legal {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 20px;
  line-height: 1.5;
}

.age-gate-box .age-legal a {
  color: var(--purple);
}

/* --- Responsible Gaming Floating Bar --- */
.responsible-gaming-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: linear-gradient(135deg, rgba(14,10,42,0.98), rgba(30,20,70,0.98));
  border-top: 1px solid rgba(245,197,24,0.2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-light);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.responsible-gaming-bar.hidden {
  transform: translateY(100%);
}

.responsible-gaming-bar .rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.2);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.78rem;
  white-space: nowrap;
}

.responsible-gaming-bar .rg-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.responsible-gaming-bar .rg-links a {
  color: var(--gray-light);
  font-size: 0.78rem;
  text-decoration: underline;
  text-decoration-color: rgba(138,138,171,0.3);
}

.responsible-gaming-bar .rg-links a:hover {
  color: var(--accent);
}

.responsible-gaming-bar .rg-close {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--gray);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.responsible-gaming-bar .rg-close:hover {
  color: var(--red);
  border-color: var(--red);
}

/* --- Google Play Badge --- */
.play-store-badge {
  display: inline-block;
  transition: var(--transition);
}

.play-store-badge:hover {
  transform: scale(1.04);
}

.play-store-badge img {
  height: 52px;
  width: auto;
}

/* --- App Video Section --- */
.app-video-section {
  background: var(--primary);
  padding: 60px 0;
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--card-border);
  background: var(--primary-dark);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition);
}

.video-wrapper:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 40px rgba(139,92,246,0.2);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45,27,105,0.9), rgba(14,10,42,0.95));
  z-index: 2;
  gap: 12px;
}

.video-placeholder .play-icon {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
  transition: var(--transition);
}

.video-wrapper:hover .play-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 30px var(--red-glow);
}

.video-placeholder span {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- User Reviews Section --- */
.reviews-section {
  background: var(--primary-dark);
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author {
  flex: 1;
}

.review-author strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.review-author span {
  font-size: 0.78rem;
  color: var(--gray);
}

.review-stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.review-text {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--gray);
}

.review-source .verified {
  color: var(--green);
  font-weight: 600;
}

/* --- Rating Summary Box --- */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 36px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.rating-big {
  text-align: center;
}

.rating-big .rating-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-heading);
}

.rating-big .rating-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 4px;
}

.rating-big .rating-count {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

.rating-bars {
  flex: 1;
  min-width: 200px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rating-bar-row .bar-label {
  font-size: 0.78rem;
  color: var(--gray-light);
  width: 14px;
  text-align: right;
}

.rating-bar-row .bar-track {
  flex: 1;
  height: 8px;
  background: rgba(139,92,246,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-row .bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.rating-bar-row .bar-pct {
  font-size: 0.75rem;
  color: var(--gray);
  width: 32px;
}

/* --- Legal Banner (sitewide) --- */
.legal-banner {
  background: linear-gradient(135deg, rgba(230,57,70,0.06), rgba(139,92,246,0.06));
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 30px 0;
}

.legal-banner h3 {
  color: var(--red);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.legal-banner ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

.legal-banner ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--gray-light);
}

.legal-banner ul li::before {
  content: '\\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- Social Casino Disclaimer Badge --- */
.social-casino-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,200,102,0.1);
  border: 1px solid rgba(46,200,102,0.25);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin: 16px 0;
}

/* --- Features Checklist (for game pages) --- */
.features-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.features-checklist .check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--gray-light);
  transition: var(--transition);
}

.features-checklist .check-item:hover {
  border-color: var(--card-hover);
}

.features-checklist .check-icon {
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================
   DASHBOARD TOP BAR — Gamified header
   ============================================ */
.dashboard-bar {
  background: linear-gradient(135deg, rgba(45,27,105,0.95), rgba(14,10,42,0.98));
  border-bottom: 1px solid rgba(245,197,24,0.12);
  padding: 5px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

/* When dashboard-bar exists, push navbar & content down */
body:has(.dashboard-bar) .navbar {
  top: 30px;
}

body:has(.dashboard-bar) .live-ticker {
  padding-top: 90px;
}

body:has(.dashboard-bar) .hero {
  padding-top: 20px;
}

.dashboard-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.dash-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-light);
  white-space: nowrap;
}

.dash-item .dash-icon {
  font-size: 1.1rem;
}

.dash-item .dash-value {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
}

.dash-item .dash-value.text-green { color: var(--green); }
.dash-item .dash-value.text-purple { color: var(--purple); }
.dash-item .dash-value.text-cyan { color: var(--cyan); }

.dash-divider {
  width: 1px;
  height: 20px;
  background: rgba(139,92,246,0.2);
}

/* ============================================
   LIVE STATS TICKER — Real-time feel
   ============================================ */
.live-ticker {
  background: linear-gradient(90deg, rgba(14,10,42,0.98), rgba(30,20,70,0.95), rgba(14,10,42,0.98));
  border-bottom: 1px solid rgba(139,92,246,0.1);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

.live-ticker::before,
.live-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.live-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(14,10,42,1), transparent);
}

.live-ticker::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(14,10,42,1));
}

.ticker-track {
  margin-top: 18px;
  display: flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray-light);
  flex-shrink: 0;
}

.ticker-item .ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.ticker-item .ticker-dot.gold { background: var(--accent); }
.ticker-item .ticker-dot.red { background: var(--red); }
.ticker-item .ticker-dot.purple { background: var(--purple); }

.ticker-item strong {
  color: var(--accent);
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================
   JACKPOT COUNTER — Growing ticker
   ============================================ */
.jackpot-banner {
  background: linear-gradient(135deg, #3b1f8e 0%, #6d28d9 40%, #ec4899 80%, #f5c518 100%);
  padding: 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jackpot-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: jackpotShine 3s ease-in-out infinite;
}

@keyframes jackpotShine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.jackpot-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.jackpot-amount {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  font-family: var(--font-heading);
  text-shadow: 0 4px 30px rgba(245,197,24,0.5), 0 0 60px rgba(245,197,24,0.2);
  letter-spacing: 2px;
}

.jackpot-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============================================
   TRENDING GAMES — Netflix-style scroll
   ============================================ */
.trending-section {
  background: var(--primary-dark);
  padding: 60px 0;
  overflow: hidden;
}

.trending-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.trending-header h2 {
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending-header h2 .fire-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(230,57,70,0.15);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.2); }
  50%      { box-shadow: 0 0 12px 4px rgba(230,57,70,0.15); }
}

.trending-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.trending-scroll::-webkit-scrollbar { display: none; }

.trending-card {
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-decoration: none;
}

.trending-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(139,92,246,0.3), 0 0 24px rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.3);
}

.trending-card-img {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: var(--primary);
}

.trending-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trending-card:hover .trending-card-img img {
  transform: scale(1.1);
}

.trending-card-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(245,197,24,0.3);
}

.trending-card-live {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
}

.trending-card-live .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.trending-card-body {
  padding: 16px;
}

.trending-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--white);
}

.trending-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray);
}

.trending-card-meta .trending-rating {
  color: var(--accent);
  font-weight: 600;
}

.trending-card-meta .trending-players {
  color: var(--green);
}

/* ============================================
   PROMOTIONS — Bonus cards
   ============================================ */
.promos-section {
  background: var(--primary);
  padding: 80px 0;
  overflow: hidden;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.promo-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.promo-card-1 {
  background: linear-gradient(135deg, #6d28d9 0%, #ec4899 100%);
  border-color: rgba(236,72,153,0.3);
}

.promo-card-2 {
  background: linear-gradient(135deg, #065f46 0%, #34d399 100%);
  border-color: rgba(52,211,153,0.3);
}

.promo-card-3 {
  background: linear-gradient(135deg, #92400e 0%, #fbbf24 100%);
  border-color: rgba(251,191,36,0.3);
}

.promo-card .promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 14px;
}

.promo-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.promo-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.promo-card .promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.promo-card .promo-cta:hover {
  background: rgba(255,255,255,0.35);
  color: #fff;
}

.promo-card .promo-timer {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ============================================
   TOP CATEGORIES — Icon grid
   ============================================ */
.categories-section {
  background: var(--primary-dark);
  padding: 60px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-6px);
  background: rgba(139,92,246,0.12);
  border-color: var(--purple);
  box-shadow: 0 12px 36px rgba(139,92,246,0.2);
}

.category-card .cat-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .cat-icon {
  transform: scale(1.15) rotate(-5deg);
}

.category-card .cat-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.category-card .cat-count {
  font-size: 0.72rem;
  color: var(--gray);
}

/* ============================================
   PLATFORM REVIEWS — Homepage testimonials
   ============================================ */
.platform-reviews-section {
  background: var(--primary);
  padding: 80px 0;
}

/* ============================================
   RECENT WINS — Scrolling feed
   ============================================ */
.recent-wins {
  background: var(--primary);
  padding: 40px 0;
  overflow: hidden;
}

.wins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.wins-header h3 {
  font-size: 1.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wins-header .live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,200,102,0.12);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wins-header .live-tag .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.wins-feed {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.wins-feed::-webkit-scrollbar { display: none; }

.win-card {
  min-width: 240px;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition);
}

.win-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(245,197,24,0.1);
}

.win-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.win-info {
  flex: 1;
  min-width: 0;
}

.win-info .win-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-info .win-game {
  font-size: 0.72rem;
  color: var(--gray);
}

.win-amount {
  font-weight: 800;
  color: var(--accent);
  font-size: 0.95rem;
  font-family: var(--font-heading);
  white-space: nowrap;
}

/* ============================================
   PLATFORMS SECTION — Android/iOS/Web
   ============================================ */
.platforms-section {
  background: var(--primary-dark);
  padding: 60px 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.platform-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.platform-card .plat-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
}
.platform-card .plat-icon svg {
  display: block;
}

.platform-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.platform-card .plat-badge {
  display: inline-block;
  background: rgba(46,200,102,0.1);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 12px;
}

/* ============================================
   FOOTER CTA — Final conversion push
   ============================================ */
.footer-cta {
  background: linear-gradient(135deg, #3b1f8e 0%, #6d28d9 40%, #ec4899 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}

.footer-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}

.footer-cta p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 24px;
  position: relative;
}

.footer-cta .btn {
  position: relative;
}

/* ============================================
   ENHANCED GAME CARD HOVER — Alive effect
   ============================================ */
.game-card {
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(245,197,24,0.06), transparent, rgba(139,92,246,0.06), transparent);
  animation: cardRotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.game-card:hover::before {
  opacity: 1;
}

@keyframes cardRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.game-card .game-card-image,
.game-card .game-card-body {
  position: relative;
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 16px 48px rgba(139,92,246,0.25),
    0 0 0 1px rgba(245,197,24,0.2),
    inset 0 0 40px rgba(139,92,246,0.03);
  border-color: rgba(245,197,24,0.3);
}

.game-card-badge {
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.3); }
  50%      { box-shadow: 0 0 12px 2px rgba(230,57,70,0.2); }
}

/* Game card RTP / players overlay on hover */
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.game-card:hover .game-card-overlay {
  transform: translateY(0);
}

.game-card-overlay span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-card-overlay .overlay-rtp { color: var(--green); font-weight: 600; }
.game-card-overlay .overlay-players { color: var(--cyan); }

/* ============================================
   COMPACT CARD ENHANCED HOVER
   ============================================ */
.game-card-compact {
  position: relative;
}

.game-card-compact::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(245,197,24,0.3), rgba(139,92,246,0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(4px);
}

.game-card-compact:hover::after {
  opacity: 1;
}

.game-card-compact:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(139,92,246,0.3);
  border-color: rgba(245,197,24,0.3);
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */
/* Button ripple */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

/* Button click scale */
.btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.08s ease;
}

/* Smooth section reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading skeleton pulse */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

.skeleton {
  background: linear-gradient(90deg, var(--card-bg) 25%, rgba(139,92,246,0.08) 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: 8px;
}

/* Stagger animation for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* Neon glow text */
.neon-text {
  text-shadow: 0 0 10px rgba(139,92,246,0.5), 0 0 30px rgba(139,92,246,0.3), 0 0 60px rgba(139,92,246,0.1);
}

/* Count-up number animation helper */
.count-up {
  display: inline-block;
}

/* ============================================
   HERO SLIDE 4 + 5
   ============================================ */
.hero-slide-4 {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.6) 0%, rgba(59, 130, 246, 0.5) 40%, rgba(6, 214, 160, 0.4) 100%);
}

.hero-slide-5 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.6) 0%, rgba(244, 63, 94, 0.5) 40%, rgba(245, 197, 24, 0.4) 100%);
}

/* --- Responsive for new components --- */
@media (max-width: 992px) {
  .platforms-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .responsible-gaming-bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .responsible-gaming-bar .rg-links {
    gap: 8px;
  }

  .age-gate-box {
    padding: 36px 28px;
  }

  .rating-summary {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .video-wrapper {
    border-radius: 14px;
  }

  /* Hide dashboard bar on mobile — items wrap and push navbar down */
  .dashboard-bar {
    display: none;
  }

  /* Reset navbar and ticker offsets now that dashboard bar is gone */
  body:has(.dashboard-bar) .navbar {
    top: 0;
  }

  body:has(.dashboard-bar) .live-ticker {
    padding-top: 80px; /* clear navbar-only height (~72px) */
  }

  body:has(.dashboard-bar) .hero {
    padding-top: 70px; /* restore base hero padding */
  }

  .trending-card {
    min-width: 220px;
    max-width: 220px;
  }

  .promos-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .age-gate-buttons {
    flex-direction: column;
  }

  .age-gate-buttons .btn-age-yes,
  .age-gate-buttons .btn-age-no {
    width: 100%;
  }

  .play-store-badge img {
    height: 44px;
  }

  .features-checklist {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-card {
    min-width: 200px;
    max-width: 200px;
  }

  .win-card {
    min-width: 200px;
  }

  .jackpot-amount {
    font-size: 2.2rem;
  }
}

/* ============================================
   PAGE LOADER — Casino coin-drop theme
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(45,27,105,0.95) 0%, rgba(14,10,42,0.99) 70%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Logo pulse */
.loader-logo {
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
  animation: loaderLogoPulse 1.6s ease-in-out infinite;
}

.loader-logo img {
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(245,197,24,0.4));
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%      { transform: scale(1.06); filter: brightness(1.15); }
}

/* Spinner ring */
.loader-spinner {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
}

.loader-spinner::before,
.loader-spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid transparent;
}

.loader-spinner::before {
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  animation: loaderSpin 0.8s linear infinite;
}

.loader-spinner::after {
  inset: 7px;
  border-bottom-color: var(--purple);
  border-left-color: var(--purple);
  animation: loaderSpin 1.2s linear infinite reverse;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* Loading text */
.loader-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  z-index: 2;
}

/* ---- Falling coins ---- */
.loader-coins {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.loader-coin {
  position: absolute;
  top: -48px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffe066 0%, #f5c518 50%, #d4a307 100%);
  box-shadow:
    inset -3px -4px 6px rgba(0,0,0,0.25),
    inset 2px 2px 3px rgba(255,255,255,0.4),
    0 0 12px rgba(245,197,24,0.35);
  animation: coinFall linear infinite;
  opacity: 0;
}

/* Dollar sign on each coin */
.loader-coin::after {
  content: '$';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: rgba(180,130,0,0.7);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

/* Stagger 10 coins across the screen */
.loader-coin:nth-child(1)  { left: 5%;  animation-duration: 2.2s; animation-delay: 0s;    width: 32px; height: 32px; }
.loader-coin:nth-child(2)  { left: 15%; animation-duration: 2.6s; animation-delay: 0.2s;  width: 38px; height: 38px; }
.loader-coin:nth-child(3)  { left: 28%; animation-duration: 2.0s; animation-delay: 0.45s; }
.loader-coin:nth-child(4)  { left: 40%; animation-duration: 2.8s; animation-delay: 0.15s; width: 30px; height: 30px; }
.loader-coin:nth-child(5)  { left: 52%; animation-duration: 2.3s; animation-delay: 0.6s;  width: 44px; height: 44px; }
.loader-coin:nth-child(6)  { left: 63%; animation-duration: 2.5s; animation-delay: 0.3s;  width: 34px; height: 34px; }
.loader-coin:nth-child(7)  { left: 74%; animation-duration: 2.1s; animation-delay: 0.5s; }
.loader-coin:nth-child(8)  { left: 83%; animation-duration: 2.7s; animation-delay: 0.1s;  width: 32px; height: 32px; }
.loader-coin:nth-child(9)  { left: 91%; animation-duration: 1.9s; animation-delay: 0.35s; width: 28px; height: 28px; }
.loader-coin:nth-child(10) { left: 35%; animation-duration: 2.4s; animation-delay: 0.65s; width: 36px; height: 36px; }

@keyframes coinFall {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.85; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

/* Loader mobile adjustments */
@media (max-width: 768px) {
  .loader-logo img {
    height: 70px;
  }
  .loader-spinner {
    width: 56px;
    height: 56px;
  }
  .loader-coin {
    width: 28px !important;
    height: 28px !important;
  }
  .loader-coin::after {
    font-size: 13px;
  }
  .loader-text {
    font-size: 0.85rem;
  }
}

/* --- Mobile Navigation Polish --- */
@media (max-width: 768px) {
  .navbar {
    background: rgba(10, 7, 31, 0.96);
    backdrop-filter: blur(18px);
  }

  .navbar .container {
    min-height: 68px;
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }

  .navbar .logo img {
    height: 42px;
    max-width: min(58vw, 190px);
    object-fit: contain;
  }

  .hamburger {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(245, 197, 24, 0.22);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  }

  .hamburger span {
    width: 22px;
    height: 2px;
  }

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

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

  .nav-links {
    width: min(92vw, 430px);
    max-width: none;
    height: 100dvh;
    padding: calc(76px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 20% 8%, rgba(245, 197, 24, 0.12), transparent 28%),
      linear-gradient(180deg, rgba(18, 11, 48, 0.99), rgba(8, 8, 24, 0.99));
    box-shadow: -22px 0 60px rgba(0, 0, 0, 0.45);
  }

  .nav-links > li > a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 0.98rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-links > li + li {
    margin-top: 8px;
  }

  .nav-dropdown-parent .nav-dropdown {
    margin: 8px 0 2px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.09);
  }

  .nav-dropdown-parent.open .nav-dropdown {
    max-height: min(68dvh, 620px);
    padding: 8px;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-dropdown-item {
    min-height: 54px;
    padding: 8px 10px;
    gap: 10px;
    border-radius: 12px;
    background: rgba(8, 8, 24, 0.35);
  }

  .nav-dropdown-item:hover,
  .nav-dropdown-item:focus-visible {
    transform: none;
    background: rgba(139, 92, 246, 0.18);
  }

  .nav-dropdown-item .dd-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .nav-dropdown-item .dd-logo img {
    border-radius: 8px;
  }

  .nav-dropdown-item .dd-text {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-item .dd-name {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-dropdown-item .dd-desc {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .nav-overlay {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 380px) {
  .navbar .logo img {
    height: 38px;
    max-width: 54vw;
  }

  .nav-links {
    width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-dropdown-item .dd-name {
    font-size: 0.84rem;
  }

  .nav-dropdown-item .dd-desc {
    font-size: 0.68rem;
  }
}
