/* DreamMoney Casino Styles */
:root {
  /* Professional casino color palette */
  --primary-dark: #0a0a0a; /* Deep black */
  --secondary-dark: #1a1a1a; /* Rich dark gray */
  --tertiary-dark: #2a2a2a; /* Medium dark gray */
  
  /* Gold accents - professional casino gold */
  --accent-gold: #d4af37; /* Classic casino gold */
  --accent-gold-light: #e6c052; /* Lighter gold for highlights */
  --accent-gold-dark: #b8860b; /* Darker gold for depth */
  --accent-gold-glow: rgba(212, 175, 55, 0.7); /* Gold glow effect */
  
  /* Complementary colors */
  --accent-blue: #00bfff; /* Bright blue */
  --accent-red: #dc143c; /* Crimson red */
  --accent-green: #32cd32; /* Lime green */
  --accent-purple: #9370db; /* Medium purple */
  
  /* Text colors */
  --text-light: #f8f9fa; /* Near white */
  --text-secondary: #aaaaaa; /* Light gray */
  --text-tertiary: #888888; /* Medium gray */
  
  /* Card and UI elements */
  --card-bg: #252525; /* Card background */
  --card-border: #333333; /* Card border */
  --card-highlight: rgba(212, 175, 55, 0.1); /* Subtle gold highlight */
  
  /* Game-specific colors */
  --roulette-red: #b22222; /* Roulette red */
  --roulette-black: #000000; /* Roulette black */
  --card-red: #d40000; /* Playing card red */
  --card-black: #000000; /* Playing card black */
  
  /* Slot machine elements */
  --slot-reel-bg: #0a0a0a; /* Slot reel background */
  --slot-reel-border: #d4af37; /* Slot reel border */
  --slot-symbol-color: #d4af37; /* Slot symbol color */
  
  /* Enhanced game-specific color schemes with photorealistic gradients */
  --slots-classic: linear-gradient(135deg, #8B0000, #2C0000, #4B0000);
  --slots-video: linear-gradient(135deg, #006400, #000000, #003300);
  --slots-jackpot: linear-gradient(135deg, #FF8C00, #8B4513, #D2691E);
  --slots-megaways: linear-gradient(135deg, #191970, #000080, #4169E1);
  --slots-multiline: linear-gradient(135deg, #4B0082, #800080, #9370DB);
  --table-european: linear-gradient(135deg, #228B22, #006400, #32CD32);
  --table-american: linear-gradient(135deg, #B22222, #8B0000, #DC143C);
  --table-blackjack: linear-gradient(135deg, #191970, #000080, #4169E1);
  --table-baccarat: linear-gradient(135deg, #8B008B, #4B0082, #9932CC);
  --table-holdem: linear-gradient(135deg, #008080, #006666, #20B2AA);
  --table-threecard: linear-gradient(135deg, #FF8C00, #FF4500, #FFA500);
  --table-pai-gow: linear-gradient(135deg, #4682B4, #4169E1, #6495ED);
  --table-caribbean: linear-gradient(135deg, #800080, #4B0082, #9932CC);
  --table-teen-patti: linear-gradient(135deg, #8B4513, #A0522D, #D2691E);
  --table-dragon-tiger: linear-gradient(135deg, #DC143C, #8B0000, #B22222);
  --poker-jacks: linear-gradient(135deg, #006400, #008000, #32CD32);
  --poker-deuces: linear-gradient(135deg, #000080, #0000CD, #4169E1);
  --specialty-keno: linear-gradient(135deg, #800080, #8B008B, #9932CC);
  --specialty-bingo: linear-gradient(135deg, #4B0082, #800080, #9370DB);
  --specialty-scratch: linear-gradient(135deg, #FF4500, #FF8C00, #FFA500);
  --fast-crash: linear-gradient(135deg, #2F4F4F, #008080, #20B2AA);
  --fast-dice: linear-gradient(135deg, #008000, #228B22, #32CD32);
  --fast-plinko: linear-gradient(135deg, #FF1493, #FF69B4, #FFB6C1);
  --fast-coin: linear-gradient(135deg, #DAA520, #B8860B, #F0E68C);
  --fast-wheel: linear-gradient(135deg, #FF0000, #DC143C, #B22222);
  
  /* Mobile-first responsive variables */
  --mobile-header-height: 60px;
  --mobile-footer-height: 60px;
  --mobile-landscape-width: 100vw;
  --mobile-landscape-height: 100vh;
  
  /* Animation timing variables */
  --animation-duration-fast: 0.3s;
  --animation-duration-normal: 0.5s;
  --animation-duration-slow: 0.8s;
  --animation-duration-slower: 1.2s;
  
  /* Easing functions */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  
  /* Shadow and glow effects */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.3);
  --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.5);
  --glow-gold: 0 0 15px rgba(212, 175, 55, 0.7);
  --glow-blue: 0 0 15px rgba(0, 191, 255, 0.7);
  --glow-red: 0 0 15px rgba(220, 20, 60, 0.7);
  
  /* Border radius values */
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 12px;
  --border-radius-xl: 16px;
  
  /* Spacing values */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
}

/* Mobile landscape support */
@media (orientation: landscape) and (max-height: 600px) {
  .landscape-optimized {
    height: 100vh;
    overflow-y: auto;
  }
  
  .landscape-full-height {
    height: calc(100vh - var(--mobile-header-height) - var(--mobile-footer-height));
  }
  
  .landscape-controls {
    position: fixed;
    bottom: var(--mobile-footer-height);
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    padding: 10px;
    z-index: 1000;
  }
}

/* Portrait mode optimizations */
@media (orientation: portrait) {
  .portrait-optimized {
    padding: 10px;
  }
  
  .portrait-full-width {
    width: 100%;
  }
  
  .portrait-stacked {
    flex-direction: column;
  }
}

/* Landscape mode optimizations for mobile devices */
@media (max-width: 992px) and (orientation: landscape) {
  .landscape-optimized-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .landscape-fullscreen {
    height: 100vh;
    overflow: hidden;
  }
  
  .landscape-game-container {
    height: calc(100vh - var(--mobile-header-height) - var(--mobile-footer-height));
    overflow-y: auto;
  }
  
  .landscape-controls-sticky {
    position: sticky;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    margin: 0 -15px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    border-color: var(--card-border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  
  .game-card:hover .card-img-top {
    transform: none;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .game-card:hover .card-title {
    color: var(--text-light);
    text-shadow: none;
    transform: none;
  }
  
  .play-game-btn:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-pills .nav-link:hover:not(.active) {
    transform: none;
    border: 2px solid transparent;
  }
  
  /* Larger touch targets for mobile */
  .play-game-btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .nav-pills .nav-link {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Realistic game animations and visual effects */
@keyframes cardFlip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

@keyframes reelSpin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1000px);
  }
}

@keyframes chipStack {
  0% {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes coinFlip {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes diceRoll {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(90deg) translateY(-20px);
  }
  50% {
    transform: rotate(180deg) translateY(0);
  }
  75% {
    transform: rotate(270deg) translateY(-10px);
  }
  100% {
    transform: rotate(360deg) translateY(0);
  }
}

@keyframes wheelSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1440deg); /* 4 full rotations */
  }
}

@keyframes particleExplosion {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes winCelebration {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(0, 255, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

@keyframes jackpotWin {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.9);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 25px rgba(255, 215, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

/* Bootstrap Grid System */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  /* Subtle animation for container entrance */
  animation: fadeIn var(--animation-duration-normal) var(--ease-in-out);
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .col-md-2,
  .col-md-3,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  padding-bottom: 60px; /* Space for mobile footer */
}

/* Debug: Make sure all sections are visible */
section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Header Styles */
.site-header {
  background: linear-gradient(90deg, var(--primary-dark) 0%, #1a1a1a 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  position: relative;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: var(--accent-gold);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.mobile-menu-btn:hover {
  background: var(--accent-gold-light);
}

/* Mobile Navigation Footer */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary-dark);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
}

.mobile-nav .nav-item {
  color: var(--text-light);
  padding: 8px 0;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-nav .nav-item.active,
.mobile-nav .nav-item:hover {
  color: var(--accent-gold);
}

.mobile-nav .nav-text {
  margin-top: 4px;
  font-size: 0.75rem;
}

/* Hero Banner Styles */
.hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.05);
  background-size: cover;
  background-position: center;
}

/* Banner images */
.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
}

.banner-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* Game Categories Banner */
.game-categories-banner {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

/* All Games Showcase */
.all-games-showcase {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.all-games-showcase h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(90deg, var(--accent-gold), #f8d96d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.all-games-showcase h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Featured Games Section */
.featured-games {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.featured-games h2,
.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(90deg, var(--accent-gold), #f8d96d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-bottom: 15px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 3px;
}

/* Enhanced Card Styles for Casino Look */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  transform-style: preserve-3d;
  perspective: 1000px;
  animation: cardEntrance 0.8s ease-out;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateY(10deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateY(0);
  }
}

.card:hover {
  transform: translateY(-12px) scale(1.03) rotateY(5deg);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
  z-index: 10;
}

.game-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.game-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card:hover .card-img-top {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
  transition: all 0.4s ease;
}

.game-card:hover .card-title {
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.9);
  transition: all 0.4s ease;
  transform: translateY(-2px);
}

.game-card .card-img-top {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.game-card .card-title {
  transition: all 0.4s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-gold);
  background: linear-gradient(45deg, #8B0000, #2C0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent-gold);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

/* Game-specific card image styles with photorealistic visual enhancements */
/* Game-specific card styles by category */
.card-img-top[data-game-type="slots"] {
  background: var(--slots-classic);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-game-type="slots"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.card-img-top[data-game-type="table"] {
  background: var(--table-european);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-game-type="table"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.card-img-top[data-game-type="poker"] {
  background: var(--poker-jacks);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-game-type="poker"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), transparent 65%);
  pointer-events: none;
}

.card-img-top[data-game-type="specialty"] {
  background: var(--specialty-keno);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-game-type="specialty"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.card-img-top[data-game-type="fast"] {
  background: var(--fast-crash);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-game-type="fast"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
}

/* Individual game-specific styles with enhanced visual representations */
.card-img-top[data-label="Classic Slots"] {
  background: var(--slots-classic);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Classic Slots"]::before {
  content: '🍒🍋🍊';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.card-img-top[data-label="Video Slots"] {
  background: var(--slots-video);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Video Slots"]::before {
  content: '⭐💎🔥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Progressive Jackpot Slots"] {
  background: var(--slots-jackpot);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Progressive Jackpot Slots"]::before {
  content: '💰🌟';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 20px gold;
}

.card-img-top[data-label="Megaways Slots"] {
  background: var(--slots-megaways);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Megaways Slots"]::before {
  content: '🔀🔄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.8;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.card-img-top[data-label="Multi-Line/Multi-Coin Slots"] {
  background: var(--slots-multiline);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Multi-Line/Multi-Coin Slots"]::before {
  content: '🔗💰';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.8;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.card-img-top[data-label="European Roulette"] {
  background: var(--table-european);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="European Roulette"]::before {
  content: '⭕0';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="American Roulette"] {
  background: var(--table-american);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="American Roulette"]::before {
  content: '⭕00';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Blackjack (21)"] {
  background: var(--table-blackjack);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Blackjack (21)"]::before {
  content: '🂠🂡';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Baccarat (Punto Banco)"] {
  background: var(--table-baccarat);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Baccarat (Punto Banco)"]::before {
  content: '🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Casino Hold'em"] {
  background: var(--table-holdem);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Casino Hold'em"]::before {
  content: '🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Three Card Poker"] {
  background: var(--table-threecard);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Three Card Poker"]::before {
  content: '🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Pai Gow Poker"] {
  background: var(--table-pai-gow);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Pai Gow Poker"]::before {
  content: '🂠🂠🂠🂠🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Caribbean Stud Poker"] {
  background: var(--table-caribbean);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Caribbean Stud Poker"]::before {
  content: '🂠🂠🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Teen Patti"] {
  background: var(--table-teen-patti);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Teen Patti"]::before {
  content: '🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Dragon Tiger"] {
  background: var(--table-dragon-tiger);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Dragon Tiger"]::before {
  content: '🐉🐯';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Jacks or Better"] {
  background: var(--poker-jacks);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Jacks or Better"]::before {
  content: '🂠🂠🂠🂠🂠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Deuces Wild"] {
  background: var(--poker-deuces);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Deuces Wild"]::before {
  content: '2️⃣2️⃣';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Keno"] {
  background: var(--specialty-keno);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Keno"]::before {
  content: '🔢80';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Bingo"] {
  background: var(--specialty-bingo);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Bingo"]::before {
  content: 'ⒷⒾⓃⒼⓄ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Scratch Cards"] {
  background: var(--specialty-scratch);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Scratch Cards"]::before {
  content: '刮刮乐';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Crash Game"] {
  background: var(--fast-crash);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Crash Game"]::before {
  content: '📈💥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Dice Roll"] {
  background: var(--fast-dice);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Dice Roll"]::before {
  content: '🎲⚅';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Plinko"] {
  background: var(--fast-plinko);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Plinko"]::before {
  content: '🟡🔵';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Coin Flip"] {
  background: var(--fast-coin);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Coin Flip"]::before {
  content: '🪙';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top[data-label="Money Wheel"] {
  background: var(--fast-wheel);
  position: relative;
  overflow: hidden;
}

.card-img-top[data-label="Money Wheel"]::before {
  content: '🎡';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.card-img-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-img-top::before {
  opacity: 1;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-light);
  text-align: center;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 3px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 15px;
  min-height: 45px;
  line-height: 1.5;
  font-weight: 500;
}

.game-description {
  font-style: italic;
  opacity: 0.8;
}

.play-game-btn {
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d);
  border: none;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 30px;
  width: 100%;
  transition: all 0.4s ease;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: auto;
}

.play-game-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: 0.6s;
}

.play-game-btn:hover::before {
  left: 100%;
}

.play-game-btn:hover {
  background: linear-gradient(45deg, #f8d96d, var(--accent-gold));
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.7);
}

.play-game-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Game Category Navigation */
.nav-pills .nav-link {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  margin: 0 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-pills .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-pills .nav-link:hover::before {
  opacity: 1;
}

.nav-pills .nav-link.active {
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border: 2px solid var(--accent-gold);
  transform: translateY(-2px);
}

.nav-pills .nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border: 2px solid rgba(212, 175, 55, 0.5);
}

/* Game Modal Styles */
.modal-content {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  color: var(--text-light);
  border: 2px solid var(--accent-gold);
}

.modal-header {
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding: 20px;
}

.modal-header.border-gold {
  border-bottom: 2px solid var(--accent-gold);
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  padding: 20px;
}

.modal-footer.border-gold {
  border-top: 2px solid var(--accent-gold);
}

.btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.game-placeholder {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 30px;
  border: 2px dashed rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-placeholder:hover::before {
  opacity: 1;
}

/* Enhanced game-specific simulation styles with photorealistic visual representations */
.game-simulation {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(212, 175, 55, 0.1);
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

/* Slots game simulations with enhanced visual effects */
.game-simulation.slots-classic {
  background: var(--slots-classic);
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.slots-classic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.slots-video {
  background: var(--slots-video);
  box-shadow: 0 0 30px rgba(0, 100, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.slots-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.game-simulation.slots-jackpot {
  background: var(--slots-jackpot);
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
  position: relative;
  overflow: hidden;
  animation: jackpotPulse 2s infinite;
}

@keyframes jackpotPulse {
  0% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.8); }
  50% { box-shadow: 0 0 50px gold, 0 0 80px rgba(255, 215, 0, 0.6); }
  100% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.8); }
}

.game-simulation.slots-megaways {
  background: var(--slots-megaways);
  box-shadow: 0 0 30px rgba(25, 25, 112, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.slots-megaways::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
  background-size: 15px 15px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.slots-multiline {
  background: var(--slots-multiline);
  box-shadow: 0 0 30px rgba(75, 0, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.slots-multiline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
  opacity: 0.4;
  pointer-events: none;
}

/* Table game simulations with enhanced visual effects */
.game-simulation.table-european {
  background: var(--table-european);
  box-shadow: 0 0 30px rgba(34, 139, 34, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-european::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-american {
  background: var(--table-american);
  box-shadow: 0 0 30px rgba(178, 34, 34, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-american::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-blackjack {
  background: var(--table-blackjack);
  box-shadow: 0 0 30px rgba(25, 25, 112, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-blackjack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 15px 15px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-baccarat {
  background: var(--table-baccarat);
  box-shadow: 0 0 30px rgba(139, 0, 139, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-baccarat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-holdem {
  background: var(--table-holdem);
  box-shadow: 0 0 30px rgba(0, 128, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-holdem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
  background-size: 12px 12px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-threecard {
  background: var(--table-threecard);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-threecard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-pai-gow {
  background: var(--table-pai-gow);
  box-shadow: 0 0 30px rgba(70, 130, 180, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-pai-gow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 18px 18px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-caribbean {
  background: var(--table-caribbean);
  box-shadow: 0 0 30px rgba(128, 0, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-caribbean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-teen-patti {
  background: var(--table-teen-patti);
  box-shadow: 0 0 30px rgba(139, 69, 19, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-teen-patti::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
  background-size: 14px 14px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.table-dragon-tiger {
  background: var(--table-dragon-tiger);
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.table-dragon-tiger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

/* Poker game simulations with enhanced visual effects */
.game-simulation.poker-jacks {
  background: var(--poker-jacks);
  box-shadow: 0 0 30px rgba(0, 100, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.poker-jacks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 16px 16px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.poker-deuces {
  background: var(--poker-deuces);
  box-shadow: 0 0 30px rgba(0, 0, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.poker-deuces::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

/* Specialty game simulations with enhanced visual effects */
.game-simulation.specialty-keno {
  background: var(--specialty-keno);
  box-shadow: 0 0 30px rgba(128, 0, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.specialty-keno::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
  background-size: 13px 13px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.specialty-bingo {
  background: var(--specialty-bingo);
  box-shadow: 0 0 30px rgba(75, 0, 128, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.specialty-bingo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.specialty-scratch {
  background: var(--specialty-scratch);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.specialty-scratch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
}

/* Fast game simulations with enhanced visual effects */
.game-simulation.fast-crash {
  background: var(--fast-crash);
  box-shadow: 0 0 30px rgba(47, 79, 79, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.fast-crash::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.fast-dice {
  background: var(--fast-dice);
  box-shadow: 0 0 30px rgba(0, 128, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.fast-dice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%);
  background-size: 15px 15px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.fast-plinko {
  background: var(--fast-plinko);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.fast-plinko::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.fast-coin {
  background: var(--fast-coin);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.fast-coin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 17px 17px;
  opacity: 0.3;
  pointer-events: none;
}

.game-simulation.fast-wheel {
  background: var(--fast-wheel);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.game-simulation.fast-wheel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.section-title {
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.bet-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.bet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.play-buttons {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.play-buttons::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.game-result {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.game-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.btn-outline-gold {
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-outline-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: 0.5s;
}

.btn-outline-gold:hover::before {
  left: 100%;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.quick-bets .btn {
  flex: 1;
  margin: 0 3px;
  font-size: 0.8rem;
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

.quick-bets .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.quick-bets .btn:hover::before {
  left: 100%;
}

/* Game Controls */
.game-controls {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 15px;
  height: 100%;
  border: 2px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.7), rgba(22, 33, 62, 0.7));
  backdrop-filter: blur(5px);
}

.game-controls::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.game-controls::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.game-controls .form-label {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 0 3px rgba(212, 175, 55, 0.5);
}

.balance-display {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: var(--accent-gold);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

/* Enhanced game element styles with photorealistic visual representations */
/* Slot reel elements with enhanced visual effects */
.slot-reel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
  margin: 10px;
  border: 3px solid var(--accent-gold);
  border-radius: 10px;
  background: var(--slot-reel-bg);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  position: relative;
  overflow: hidden;
  font-size: 2rem;
  font-weight: bold;
  color: var(--slot-symbol-color);
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
  transition: all 0.3s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.slot-reel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.slot-reel:hover::before {
  opacity: 1;
}

.slot-reel.spinning {
  animation: reelSpin 0.5s linear infinite;
}

@keyframes reelSpin {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}

/* Roulette wheel with enhanced visual effects */
.roulette-wheel {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, #8B4513, #A0522D);
  border: 5px solid var(--accent-gold);
  position: relative;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  overflow: hidden;
}

.roulette-wheel::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.roulette-wheel.spinning {
  animation: wheelSpin 3s cubic-bezier(0.2, 0.8, 0.8, 0.2) infinite;
}

@keyframes wheelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Card elements with enhanced visual effects */
.card-element {
  width: 80px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  margin: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-element::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  border-radius: 6px;
  pointer-events: none;
}

.card-element:hover {
  transform: translateY(-5px) rotate(2deg);
  box-shadow: 0 8px 15px rgba(212, 175, 55, 0.5);
}

.card-element.red {
  color: var(--card-red);
}

.card-element.black {
  color: var(--card-black);
}

.card-element .card-top, .card-element .card-bottom {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-element .card-center {
  font-size: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-element.flipping {
  animation: cardFlip 0.6s ease-in-out;
}

@keyframes cardFlip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

/* Dice elements with enhanced visual effects */
.dice-element {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 10px;
  border: 2px solid #333;
  position: relative;
  overflow: hidden;
}

.dice-element::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
  border-radius: 8px;
  pointer-events: none;
}

.dice-element.rolling {
  animation: diceRoll 1s ease-in-out;
}

@keyframes diceRoll {
  0% { transform: translateX(-20px) rotate(-20deg); }
  25% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(20px) rotate(20deg); }
  75% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-20px) rotate(-20deg); }
}

/* Coin elements with enhanced visual effects */
.coin-element {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFD700, #D4AF37);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 10px;
  border: 3px solid #333;
  position: relative;
  overflow: hidden;
}

.coin-element::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFEC8B, #D4AF37);
}

.coin-element.flipping {
  animation: coinFlip 1s ease-in-out;
}

@keyframes coinFlip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

/* Additional game-specific elements */
.jackpot-display {
  font-size: 1.8rem;
  font-weight: bold;
  color: gold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  animation: jackpotGlow 2s infinite;
}

@keyframes jackpotGlow {
  0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); }
  50% { text-shadow: 0 0 20px gold, 0 0 30px rgba(255, 215, 0, 0.6); }
  100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); }
}

.winning-animation {
  animation: winningPulse 1s ease-in-out infinite;
}

@keyframes winningPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.payline-highlight {
  position: absolute;
  background: rgba(255, 215, 0, 0.3);
  border: 2px solid gold;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  animation: paylineGlow 1.5s ease-in-out infinite;
}

@keyframes paylineGlow {
  0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
  50% { box-shadow: 0 0 20px gold, 0 0 30px rgba(255, 215, 0, 0.7); }
  100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
}

.game-result-display {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(212, 175, 55, 0.3);
  margin: 20px 0;
  text-align: center;
  transition: all 0.3s ease;
}

.game-result-display.winning {
  background: rgba(34, 139, 34, 0.3);
  border-color: #228B22;
  box-shadow: 0 0 20px rgba(34, 139, 34, 0.5);
  animation: pulse 1s ease-in-out;
}

.game-result-display.losing {
  background: rgba(178, 34, 34, 0.3);
  border-color: #B22222;
  box-shadow: 0 0 20px rgba(178, 34, 34, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes flip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(90deg); }
  100% { transform: rotateY(180deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Additional animations for enhanced visual effects */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px var(--accent-gold); }
  50% { box-shadow: 0 0 20px var(--accent-gold); }
  100% { box-shadow: 0 0 5px var(--accent-gold); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate3d {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  100% { transform: rotateY(360deg) rotateX(360deg); }
}

.game-animation {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.spin-animation {
  animation-name: spin;
}

.flip-animation {
  animation-name: flip;
}

.bounce-animation {
  animation-name: bounce;
}

.balance-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.form-label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control, .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-light);
  border-radius: 8px;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  color: var(--text-light);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.input-group-text {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
  font-weight: 600;
}

.btn-warning {
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d);
  border: none;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.btn-warning:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, #1a1a2e, #16213e);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-warning:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-warning:active, .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.alert-success {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  animation: glow 1s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

.alert-danger {
  background: linear-gradient(45deg, #dc3545, #e74c3c);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.alert-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

.result-icon {
  animation: bounce 1s ease-in-out;
}

.winning-amount {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 10px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.winning-result {
  animation: pulse 0.5s ease-in-out, bounce 1s ease-in-out;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: -50%; }
  100% { left: 100%; }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #d4af37, #b8860b, #d4af37);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Latest Winners */
.latest-winners {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.latest-winners h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(90deg, var(--accent-gold), #f8d96d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 60px 0 30px;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.game-description {
  font-style: italic;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .banner-title {
    font-size: 2.5rem;
  }
  
  .hero-banner {
    height: 450px;
  }
}

@media (max-width: 992px) {
  .hero-banner {
    height: 400px;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 350px;
    border-radius: 15px;
  }
  
  .banner-title {
    font-size: 1.8rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .col-md-2,
  .col-md-3,
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .site-footer {
    padding-bottom: 80px; /* Space for mobile nav */
  }
  
  .nav-pills .nav-link {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .game-card {
    margin-bottom: 20px;
  }
  
  .card-img-top {
    height: 160px;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .play-game-btn {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 300px;
    border-radius: 12px;
  }
  
  .banner-title {
    font-size: 1.5rem;
  }
  
  .banner-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .col-md-2,
  .col-md-3,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .mobile-nav .nav-item {
    padding: 6px 0;
  }
  
  .mobile-nav .nav-text {
    font-size: 0.7rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-text {
    font-size: 0.8rem;
  }
  
  .play-game-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  
  .game-card {
    margin-bottom: 15px;
  }
  
  .card-img-top {
    height: 140px;
  }
  
  .category-title {
    font-size: 1.8rem;
  }
  
  .games-grid {
    padding: 10px;
  }
}

/* Additional responsive adjustments for better layout */
@media (max-width: 992px) and (min-width: 768px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .hero-banner {
    height: 250px;
    border-radius: 10px;
  }
  
  .banner-title {
    font-size: 1.3rem;
  }
  
  .banner-subtitle {
    font-size: 0.9rem;
  }
  
  .card-img-top {
    height: 120px;
  }
  
  .card-title {
    font-size: 0.9rem;
  }
  
  .play-game-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
}

/* Game Card Enhancements */
.card-img-top {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--animation-duration-fast) var(--ease-in-out);
  /* Metallic shine effect */
  background-image: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.1) 0%, 
      transparent 30%, 
      rgba(0, 0, 0, 0.2) 100%);
  /* Hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.card-img-top .game-placeholder-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform var(--animation-duration-normal) var(--ease-in-out);
  /* Realistic material effect */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5)) brightness(1.05);
  /* Performance optimization */
  will-change: transform;
}

.card-img-top:hover .game-placeholder-img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.7)) brightness(1.2) contrast(1.1);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-align: center;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  position: relative;
  padding-bottom: 15px;
  /* Embossed effect */
  text-shadow: 
    0 1px 0 #ccc, 
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 3px rgba(0,0,0,.3),
    0 3px 5px rgba(0,0,0,.2),
    0 5px 10px rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.2),
    0 20px 20px rgba(0,0,0,.15);
  /* Entrance animation */
  animation: fadeIn var(--animation-duration-normal) var(--ease-in-out);
  /* Performance optimization */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.play-game-btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  width: 100%;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--animation-duration-fast) var(--ease-in-out);
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  /* Metallic button effect */
  background-image: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.2) 0%, 
      transparent 30%, 
      rgba(0, 0, 0, 0.3) 100%);
  /* 3D effect */
  transform: translateY(0);
  /* Entrance animation */
  animation: buttonEntrance var(--animation-duration-slow) var(--ease-out);
  /* Performance optimization */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.play-game-btn:hover {
  background: linear-gradient(45deg, #f8d96d, var(--accent-gold));
  transform: translateY(-3px);
  /* Enhanced hover effect */
  box-shadow: 
    0 10px 25px rgba(212, 175, 55, 0.6),
    inset 0 3px 3px rgba(255, 255, 255, 0.6),
    inset 0 -3px 3px rgba(0, 0, 0, 0.3);
}

.play-game-btn:active {
  transform: translateY(0);
  /* Pressed effect */
  box-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.2),
    inset 0 2px 2px rgba(0, 0, 0, 0.2),
    inset 0 -2px 2px rgba(255, 255, 255, 0.2);
}

.play-game-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
  /* Shine effect */
  filter: blur(5px);
}

.play-game-btn:hover::before {
  left: 100%;
  /* Enhanced shine effect */
  filter: blur(3px);
}

/* Additional game card animations */
@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
  .card-img-top {
    height: 150px;
  }
  
  .card-img-top .game-placeholder-img {
    max-width: 85%;
    max-height: 85%;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .play-game-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  /* Reduce animation complexity on mobile */
  .card-img-top,
  .card-title,
  .play-game-btn {
    transition: all 0.2s ease-out;
  }
  
  /* Disable heavy animations on low-end devices */
  @media (max-width: 480px) {
    .card-img-top .game-placeholder-img {
      transition: none;
    }
    
    .card-title,
    .play-game-btn {
      animation: none;
    }
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .col-xl-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-xl-2 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .col-xxl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

/* Game Categories Navigation Enhancements */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2c2c2c 100%) !important;
}

.category-pill {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: var(--text-light) !important;
  border-radius: 30px !important;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 10px 20px;
}

.category-pill:hover {
  background: rgba(212, 175, 55, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.category-pill.active {
  background: linear-gradient(45deg, var(--accent-gold), #f8d96d) !important;
  color: var(--primary-dark) !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border: 1px solid var(--accent-gold) !important;
  /* Active pulse animation */
  animation: glowPulse 2s infinite;
}

/* Games Grid Enhancements */
.games-grid {
  padding: 20px 0;
}

.category-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  /* Entrance animation */
  animation: fadeIn var(--animation-duration-normal) var(--ease-in-out);
  /* Gold text effect */
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 3px;
  /* Glow effect */
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Alert Enhancements */
.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  color: #fff;
  animation: fadeIn 0.5s ease-out;
  /* Performance optimization */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.alert-warning a {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: none;
}

.alert-warning a:hover {
  color: #f8d96d;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Performance-optimized animations */
@keyframes fadeInOptimized {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUpOptimized {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hardware-accelerated animations */
.hardware-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Game-specific animations */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateY(10deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
  }
}

/* Mobile-optimized card entrance */
@media (max-width: 768px) {
  @keyframes cardEntrance {
    0% {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes buttonPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  }
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
  /* Hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Performance-optimized slide in */
.slide-in-up-optimized {
  animation: slideInUpOptimized 0.4s ease-out;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95); /* More opaque for better performance */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out; /* Faster transition for better UX */
  /* Hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.loading-spinner {
  text-align: center;
  color: var(--accent-gold);
  /* Center alignment for mobile */
  width: 100%;
  max-width: 300px;
  padding: 20px;
}

.loading-spinner p {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  /* Mobile optimization */
  font-size: 1rem;
  margin-top: 15px;
}

.loading-spinner .fa-cog {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  /* Animation for spinner */
  animation: spin 1s linear infinite;
  font-size: 3rem;
  /* Mobile optimization */
  font-size: 2.5rem;
}

/* Mobile-specific loading optimizations */
@media (max-width: 768px) {
  .loading-overlay {
    background: rgba(10, 10, 10, 0.98); /* Even more opaque for mobile */
  }
  
  .loading-spinner {
    padding: 15px;
  }
  
  .loading-spinner p {
    font-size: 0.9rem;
  }
  
  .loading-spinner .fa-cog {
    font-size: 2rem;
  }
}

/* Spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide loading overlay when page is loaded */
body.loaded #loadingOverlay {
  opacity: 0;
  pointer-events: none;
  /* Smooth transition out */
  transition: opacity 0.3s ease-out;
}

/* Progressive loading enhancements */
.progressive-load {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.progressive-load.loaded {
  opacity: 1;
}

/* Lazy loading placeholders */
.lazy-placeholder {
  background: linear-gradient(90deg, var(--secondary-dark), var(--tertiary-dark), var(--secondary-dark));
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius-medium);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Critical path CSS optimization */
.critical-css {
  /* Styles that should be loaded immediately */
}

.non-critical-css {
  /* Styles that can be loaded asynchronously */
}