/*---------------------------------------------------------------------
    Modern UI/UX Improvements for Casino Eldorado
    Focus: Accessibility, Performance, Modern Design
---------------------------------------------------------------------*/

/* CSS Custom Properties for consistent theming */
:root {
  --primary-color: #d4af37;
  --primary-dark: #b8941f;
  --primary-light: #f5e47b;
  --secondary-color: #1b0905;
  --accent-color: #ff6b35;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --background-dark: #1b0905;
  --background-light: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --border-radius-large: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Poppins', sans-serif;
}

/* Reset and base improvements */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improved Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 9, 5, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  flex: 1;
  min-width: 300px;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: var(--transition);
}

.cookie-link:hover {
  color: var(--primary-light);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 8px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept {
  background: var(--primary-color);
  color: var(--text-primary);
}

.btn-cookie-accept:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Enhanced Hero Section */
.enhanced-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.2) saturate(1.1);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23d4af37" opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="%23f5e47b" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="4s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="%23d4af37" opacity="0.3"><animate attributeName="opacity" values="0.3;0.9;0.3" dur="5s" repeatCount="indefinite"/></circle><circle cx="40" cy="50" r="0.8" fill="%23ff6b35" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="6s" repeatCount="indefinite"/></circle></svg>') repeat;
  z-index: -2;
  animation: particleFloat 25s linear infinite;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 9, 5, 0.95) 0%,
    rgba(27, 9, 5, 0.8) 25%,
    rgba(27, 9, 5, 0.6) 50%,
    rgba(27, 9, 5, 0.85) 100%
  );
  z-index: -1;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

/* Welcome Badge */
.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
}

.badge-icon {
  font-size: 18px;
}

.badge-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

/* Main Hero Content */
.hero-main-content {
  color: var(--text-light);
  animation: fadeInUp 1s ease-out;
}

.hero-main-title {
  font-family: var(--font-family-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.title-highlight {
  background: linear-gradient(135deg, #ff6b35, #ffa726);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1em;
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-description {
  font-size: 0.35em;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-bottom: 40px;
  line-height: 1.4;
}

.subtitle-main {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 10px;
}

.subtitle-bonus {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1em;
}

/* Hero Features */
.hero-features {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 20px;
}

.feature-text {
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
}

/* CTA Section */
.hero-cta-section {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-primary {
  background: linear-gradient(135deg, #ff6b35, #ffa726);
  color: var(--text-light);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  position: relative;
  border: 2px solid transparent;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
  background: linear-gradient(135deg, #ffa726, #ff6b35);
}

.cta-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-text {
  font-weight: 700;
}

.cta-bonus {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.trust-icon {
  font-size: 16px;
  color: var(--primary-color);
}

.trust-text {
  font-weight: 500;
}

/* Floating Bonus Card */
.floating-bonus-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 175, 55, 0.4);
  max-width: 320px;
  animation: float 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.floating-bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ffa726, #d4af37);
  animation: shimmer 3s linear infinite;
}

.bonus-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bonus-card-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
}

.bonus-card-badge {
  background: var(--accent-color);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.bonus-card-content {
  margin-bottom: 20px;
}

.bonus-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bonus-item:last-child {
  border-bottom: none;
  font-weight: 700;
}

.bonus-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.bonus-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
}

.bonus-value.highlight {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 800;
}

.bonus-claim-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  padding: 12px;
  border-radius: var(--border-radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.bonus-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

.scroll-arrow span {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.arrow-down {
  font-size: 24px;
  animation: arrowBounce 1.5s infinite;
}

/* Animations */
@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(120deg); }
  66% { transform: translateY(-25px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes titleGlow {
  0% { 
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
  }
  100% { 
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.8);
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.6));
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Enhanced Mobile Responsiveness */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .hero-content-wrapper {
    gap: 60px;
  }
  
  .floating-bonus-card {
    max-width: 280px;
  }
  
  .games-container {
    padding: 0 15px;
  }
  
  .enhanced-games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .floating-bonus-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-main-title {
    text-align: center;
  }
  
  /* Header improvements for tablets */
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .games-section-header .header-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .header-stats {
    justify-content: center;
  }
  
  .games-controls {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .games-search {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .enhanced-hero-section {
    padding-top: 70px;
  }
  
  .hero-content-wrapper {
    gap: 40px;
    min-height: calc(100vh - 140px);
  }
  
  .hero-main-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .hero-features {
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .feature-item {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .hero-cta-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 320px;
    padding: 18px 35px;
    font-size: 16px;
  }
  
  .trust-indicators {
    justify-content: center;
    gap: 20px;
  }
  
  .floating-bonus-card {
    max-width: 100%;
    padding: 25px;
  }
  
  /* Enhanced mobile header */
  .modern-header {
    padding: 10px 0;
  }
  
  .header-content {
    padding: 0 15px;
  }
  
  .auth-buttons {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-light);
    margin: 2px 0;
    transition: var(--transition);
  }
  
  /* Games section mobile improvements */
  .enhanced-games-section {
    padding: 80px 0;
  }
  
  .games-container {
    padding: 0 15px;
  }
  
  .enhanced-games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .games-filter {
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .games-filter::-webkit-scrollbar {
    display: none;
  }
  
  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  /* Cookie banner mobile */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .enhanced-hero-section {
    padding-top: 65px;
  }
  
  .hero-container {
    padding: 0 15px;
  }
  
  .welcome-badge {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .hero-main-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }
  
  .hero-features {
    flex-direction: column;
    gap: 12px;
  }
  
  .feature-item {
    justify-content: center;
    padding: 12px 20px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 16px 30px;
    font-size: 15px;
    min-width: 200px;
  }
  
  .floating-bonus-card {
    padding: 20px;
  }
  
  /* Ultra-mobile optimizations */
  .logo-text {
    font-size: 18px;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .section-badge {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .header-stats {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .stat-item {
    min-width: 80px;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .enhanced-game-card {
    margin: 0 5px;
  }
  
  .game-info {
    padding: 20px;
  }
  
  .game-title {
    font-size: 1.1rem;
  }
  
  /* Sidebar mobile improvements */
  #sidebar {
    width: 280px;
  }
  
  #sidebar ul li a {
    padding: 15px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  #sidebar ul li a i {
    width: 20px;
    text-align: center;
  }
  
  #dismiss {
    padding: 15px 20px;
    text-align: right;
  }
  
  #dismiss i {
    font-size: 18px;
    cursor: pointer;
    color: var(--text-light);
  }
}

/* Modern Icon System */
.nav-icon,
.btn-icon,
.feature-icon,
.trust-icon,
.badge-icon,
.filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-icon {
  font-size: 18px;
  margin-right: 8px;
  color: var(--primary-color);
}

.btn-icon {
  font-size: 16px;
  margin-right: 8px;
}

.feature-icon,
.trust-icon {
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 10px;
}

.badge-icon {
  font-size: 16px;
  color: var(--primary-color);
  margin-right: 8px;
}

.filter-icon {
  font-size: 16px;
  margin-right: 8px;
}

/* Icon hover effects */
.nav-link:hover .nav-icon,
.filter-btn:hover .filter-icon,
.btn-play:hover .btn-icon,
.btn-demo:hover .btn-icon {
  transform: scale(1.1);
}

/* Favorite button icon styling */
.favorite-btn i {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.favorite-btn:hover i,
.favorite-btn.active i {
  color: #ff4757;
  transform: scale(1.2);
}

/* Search button icon */
.search-btn i {
  font-size: 14px;
  color: var(--text-primary);
}

/* Modern Button Styles */
.btn-primary,
.btn-secondary {
  padding: 16px 32px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Enhanced Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text-light);
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Enhanced Sidebar Styling */
#sidebar {
  background: linear-gradient(135deg, rgba(27, 9, 5, 0.98), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

#sidebar ul li a {
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  border-radius: 0;
  margin: 2px 12px;
  border-radius: var(--border-radius);
}

#sidebar ul li a:hover,
#sidebar ul li.active a {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-color);
  transform: translateX(8px);
}

#sidebar ul li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

#dismiss {
  padding: 20px 24px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#dismiss i {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  padding: 8px;
  border-radius: 50%;
}

#dismiss i:hover {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.2);
}

/* Enhanced Games Section */
.enhanced-games-section {
  padding: 120px 0;
  background: var(--background-dark);
  position: relative;
  overflow: hidden;
}

.enhanced-games-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.games-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Games Section Header */
.games-section-header {
  margin-bottom: 80px;
}

.games-section-header .header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.header-main {
  text-align: left;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.header-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-family: var(--font-family-heading);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Enhanced Games Controls */
.games-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  gap: 30px;
  flex-wrap: wrap;
}

.games-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 14px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn::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: left 0.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-primary);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.filter-icon {
  font-size: 16px;
}

.filter-text {
  font-weight: 600;
}

.filter-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.filter-btn.active .filter-count {
  background: rgba(0, 0, 0, 0.3);
}

/* Games Search */
.games-search {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 300px;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-size: 14px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-btn {
  position: absolute;
  right: 8px;
  background: var(--primary-color);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.search-btn:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

/* Enhanced Games Grid */
.enhanced-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.enhanced-game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
}

.enhanced-game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.game-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.game-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.enhanced-game-card:hover .game-image-wrapper img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(27, 9, 5, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.enhanced-game-card:hover .game-overlay {
  opacity: 1;
}

.game-actions {
  display: flex;
  gap: 15px;
}

.btn-play,
.btn-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.btn-play.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  box-shadow: var(--shadow-medium);
}

.btn-play.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-play.primary:hover::before {
  left: 100%;
}

.btn-play.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-demo.secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-demo.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.game-quick-info {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.rtp,
.volatility {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.game-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 15px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

.game-badge.new {
  background: linear-gradient(135deg, var(--accent-color), #ff8c42);
  color: var(--text-light);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.game-badge.popular {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  color: var(--text-light);
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

.game-badge.jackpot {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: jackpotPulse 1.5s infinite;
}

.jackpot-amount {
  position: absolute;
  top: 50px;
  right: 15px;
  background: rgba(212, 175, 55, 0.9);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(10px);
  animation: jackpotCounter 3s infinite;
}

.game-favorite {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

.favorite-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.favorite-btn.active {
  background: rgba(255, 107, 53, 0.8);
  animation: heartBeat 1s infinite;
}

.game-info {
  padding: 25px;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  line-height: 1.3;
}

.game-provider {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  transition: var(--transition);
}

.star.filled {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.star.half {
  background: linear-gradient(90deg, var(--primary-color) 50%, rgba(255, 255, 255, 0.3) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
}

.rating-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.game-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(10px);
}

/* Animations */
@keyframes jackpotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
  }
}

@keyframes jackpotCounter {
  0%, 90% { transform: scale(1); }
  95% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Load More Button */
.section-footer {
  text-align: center;
}

.btn-load-more {
  padding: 16px 40px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-load-more:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .games-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .filter-btn {
    flex-shrink: 0;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .game-card {
    margin: 0 10px;
  }
}

/* Modal Styles */
.game-modal-overlay,
.bonus-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.game-modal,
.bonus-modal {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  animation: slideInUp 0.3s ease-out;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.modal-content {
  padding: 30px;
}

.game-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.game-option {
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-primary);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.game-option:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.bonus-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bonus-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.bonus-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.bonus-info h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bonus-info p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Game Loading Overlay */
.game-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 9, 5, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease-out;
}

.loading-content {
  text-align: center;
  color: var(--text-light);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212, 175, 55, 0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-content p {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Bonus Success Message */
.bonus-success-message {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  animation: successPop 0.5s ease-out;
  z-index: 10;
}

.bonus-claimed {
  animation: bonusClaimSuccess 0.8s ease-out;
}

/* Enhanced Header Styles */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(27, 9, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: var(--font-family-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.balance-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.balance-amount {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.modern-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-login {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-register.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: 1px solid transparent;
}

.btn-register.primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--text-primary);
  padding: 8px;
  text-decoration: none;
  z-index: 10001;
  border-radius: 4px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Authentication Modal Styles */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.auth-modal {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  animation: slideInUp 0.3s ease-out;
  position: relative;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--background-light);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group input:invalid {
  border-color: #ff4757;
}

.form-group input:valid {
  border-color: #4CAF50;
}

.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  transition: var(--transition);
  margin-bottom: 5px;
}

.strength-bar.weak {
  background: #ff4757;
}

.strength-bar.fair {
  background: #ffa726;
}

.strength-bar.good {
  background: #66BB6A;
}

.strength-bar.strong {
  background: #4CAF50;
}

.strength-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  position: relative;
  transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-primary);
  font-weight: bold;
  font-size: 12px;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  align-self: flex-end;
}

.forgot-password:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.auth-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  background: var(--background-light);
  padding: 0 15px;
  color: var(--text-secondary);
  font-size: 14px;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
}

.social-btn.google:hover {
  border-color: #4285f4;
  background: rgba(66, 133, 244, 0.1);
}

.social-btn.facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}

.social-icon {
  font-size: 18px;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-success-message {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
  animation: successPop 0.5s ease-out;
}

/* User Menu Styles */
.user-menu {
  position: relative;
}

.user-avatar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 8px 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.user-avatar:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
}

.avatar-icon {
  font-size: 18px;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1001;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.sidebar.active + .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

/* Header Scroll Effect */
.modern-header.scrolled {
  background: rgba(27, 9, 5, 0.98);
  box-shadow: var(--shadow-medium);
}

/* Results Counter */
.results-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

/* Favorite Notification */
.favorite-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(27, 9, 5, 0.95);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 10000;
  transform: translateX(100%);
  opacity: 0;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
  max-width: 300px;
}

.favorite-notification.show {
  transform: translateX(0);
  opacity: 1;
}

/* Enhanced Game Cards - Additional Improvements */
.enhanced-game-card {
  position: relative;
  overflow: hidden;
}

.enhanced-game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
  pointer-events: none;
}

.enhanced-game-card:hover::before {
  opacity: 1;
}

/* Improved Button Interactions */
.btn-play,
.btn-demo {
  position: relative;
  overflow: hidden;
}

.btn-play::before,
.btn-demo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.btn-play:active::before,
.btn-demo:active::before {
  width: 300px;
  height: 300px;
}

/* Loading States */
.btn-play.loading,
.btn-demo.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-play.loading::after,
.btn-demo.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
}

/* Enhanced Hover Effects */
.enhanced-game-card:hover .game-title {
  color: var(--primary-color);
  transition: var(--transition);
}

.enhanced-game-card:hover .game-provider {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-color);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Improved Focus States for Accessibility */
.enhanced-game-card:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.filter-btn:focus,
.search-input:focus,
.search-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-heavy);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Enhanced Visual Feedback */
.enhanced-game-card.loading {
  pointer-events: none;
  opacity: 0.7;
}

.enhanced-game-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Smooth Transitions for All Interactive Elements */
.enhanced-game-card,
.filter-btn,
.search-input,
.search-btn,
.btn-load-more,
.favorite-btn,
.btn-play,
.btn-demo {
  transition: var(--transition);
}

/* Enhanced Error States */
.search-input.error {
  border-color: #ff4757;
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.no-results-message {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
}

.no-results-message .emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
}

/* Better Mobile Touch Targets */
@media (max-width: 768px) {
  .favorite-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  
  .btn-play,
  .btn-demo {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .filter-btn {
    min-height: 44px;
    padding: 12px 16px;
  }
  
  .favorite-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .results-counter {
    font-size: 13px;
    padding: 12px 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes bonusClaimSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Mobile Responsive Improvements */
@media (max-width: 1024px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-actions {
    gap: 15px;
  }
  
  .auth-buttons {
    gap: 8px;
  }
  
  .modern-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .games-section-header .header-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .header-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-content {
    height: 70px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .auth-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .modern-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .btn-text {
    display: none;
  }
  
  .games-controls {
    flex-direction: column;
    gap: 20px;
  }
  
  .games-search {
    min-width: 100%;
  }
  
  .enhanced-games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 15px;
  }
  
  .header-content {
    height: 65px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .logo-img {
    height: 30px;
  }
  
  .enhanced-games-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .game-modal,
  .bonus-modal {
    width: 95%;
    margin: 10px;
  }
  
  .modal-header {
    padding: 20px 20px 15px;
  }
  
  .modal-content {
    padding: 20px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for keyboard navigation */
.btn-primary:focus,
.btn-secondary:focus,
.filter-btn:focus,
.btn-play:focus,
.btn-demo:focus,
.btn-load-more:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #ffff00;
    --text-primary: #000000;
    --text-light: #ffffff;
    --border-color: #ffffff;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
  }
}
/* Load
ing Overlay for Games */
.game-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 9, 5, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease-out;
}

.loading-content {
  text-align: center;
  color: var(--text-light);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Skip Link for Accessibility */
.skip-link:focus {
  top: 6px !important;
}

/* Enhanced Modern Header */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 9, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.modern-header.scrolled {
  background: rgba(27, 9, 5, 0.98);
  box-shadow: var(--shadow-heavy);
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 40px;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.logo-text {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link:focus::before {
  width: 80%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 18px;
  opacity: 0.8;
}

.nav-text {
  font-weight: 500;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.user-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.balance-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.balance-amount {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.modern-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-login {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-register.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  box-shadow: var(--shadow-light);
}

.btn-register.primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-icon {
  font-size: 16px;
}

.btn-text {
  font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-toggle:hover .hamburger-line {
  background: var(--primary-color);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Header Styles */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 25px;
  }
  
  .nav-link {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .nav-icon {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-content {
    height: 70px;
    gap: 20px;
  }
  
  .auth-buttons {
    gap: 8px;
  }
  
  .modern-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .btn-text {
    display: none;
  }
  
  .btn-icon {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0 15px;
    height: 65px;
  }
  
  .logo-text {
    display: none;
  }
  
  .btn-login {
    display: none;
  }
  
  .user-balance {
    display: none !important;
  }
}

/* Improved Sidebar */
#sidebar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
}

#sidebar ul li a {
  border-radius: var(--border-radius);
  margin: 5px 15px;
  transition: var(--transition);
}

#sidebar ul li a:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateX(5px);
}

/* Enhanced Form Styles */
.form_main .form_control {
  border-radius: var(--border-radius);
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.form_main .form_control:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form_main .send_btn {
  background: var(--primary-color);
  color: var(--text-primary);
  border: none;
  transition: var(--transition);
}

.form_main .send_btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(135deg, var(--background-dark) 0%, #0f0402 100%);
}

.address h3 {
  position: relative;
  padding-bottom: 15px;
}

.address h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

/* Improved Customer Section */
.customer .customer_text {
  position: relative;
}

.customer .customer_text::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: serif;
}

/* Enhanced Carousel */
.licens_Carousel .carousel-caption {
  backdrop-filter: blur(10px);
  background: rgba(212, 175, 55, 0.9);
}

/* Wins List Styling */
.wins-list {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 20px 0;
}

.wins-list p {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border-left: 3px solid var(--primary-color);
}

/* Performance Optimizations */
.page-hidden * {
  animation-play-state: paused !important;
}

.loaded .hero-content {
  animation: fadeInUp 1s ease-out;
}

/* Print Styles */
@media print {
  .cookie-banner,
  .game-loading-overlay,
  .btn-play,
  .btn-demo,
  .hero-actions {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 20px 0;
  }
  
  .games-grid {
    display: block;
  }
  
  .game-card {
    break-inside: avoid;
    margin-bottom: 20px;
  }
}

/* Enhanced Tooltips */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
  z-index: 1000;
}

/* Smooth Scrolling Enhancement */
html {
  scroll-padding-top: 80px;
}

/* Enhanced Focus Indicators */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Error States */
.error {
  border-color: #e74c3c !important;
  background-color: rgba(231, 76, 60, 0.1) !important;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.error-message::before {
  content: '⚠';
  font-size: 16px;
}

/* Success States */
.success {
  border-color: #27ae60 !important;
  background-color: rgba(39, 174, 96, 0.1) !important;
}

.success-message {
  color: #27ae60;
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.success-message::before {
  content: '✓';
  font-size: 16px;
}/* Enh
anced Header Navigation */
.right_header_info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.main-nav .nav-list {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .nav-list li a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.main-nav .nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a:focus::after {
  width: 100%;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a:focus {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-login {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-register {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* Modern Hamburger Menu */
#sidebarCollapse {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
  transform-origin: center;
}

#sidebarCollapse:hover .hamburger-line {
  background: var(--primary-color);
}

#sidebarCollapse.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#sidebarCollapse.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#sidebarCollapse.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .header-actions {
    gap: 10px;
  }
  
  .btn-login,
  .btn-register {
    padding: 6px 15px;
    font-size: 12px;
  }
  
  .right_header_info {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .btn-login {
    display: none;
  }
  
  .btn-register {
    padding: 8px 16px;
  }
}

/* Enhanced Sidebar for Mobile */
@media (max-width: 768px) {
  #sidebar {
    width: 100%;
    max-width: 320px;
  }
  
  #sidebar ul.components {
    padding: 80px 0 20px;
  }
  
  #sidebar ul li a {
    font-size: 18px;
    padding: 15px 25px;
  }
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-color);
  color: var(--text-light);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* User Menu Dropdown (for future implementation) */
.user-menu {
  position: relative;
}

.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
}

.user-menu:hover .user-menu-dropdown,
.user-menu-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.user-menu-dropdown a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
}/* Moda
l Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.modal-body {
  padding: 30px;
}

/* Auth Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--background-light);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
  flex: 1;
  justify-content: center;
}

.form-footer {
  text-align: center;
  margin-top: 15px;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Form Loading State */
.auth-form.loading {
  opacity: 0.6;
  pointer-events: none;
}

.auth-form.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Modal Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

/* Enhanced Form Validation */
.form-group input.error {
  border-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

.form-group input.success {
  border-color: #27ae60;
  background-color: rgba(39, 174, 96, 0.05);
}

.form-group .field-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

.form-group .field-success {
  color: #27ae60;
  font-size: 12px;
  margin-top: 5px;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  display: flex;
  gap: 4px;
}

.strength-bar {
  height: 4px;
  flex: 1;
  background: #e0e0e0;
  border-radius: 2px;
  transition: var(--transition);
}

.strength-bar.weak {
  background: #e74c3c;
}

.strength-bar.medium {
  background: #f39c12;
}

.strength-bar.strong {
  background: #27ae60;
}

.strength-text {
  font-size: 12px;
  margin-top: 4px;
  color: var(--text-secondary);
}

/* Social Login Buttons (for future implementation) */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.social-login-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.social-login-btn img {
  width: 20px;
  height: 20px;
}

/* Improved Responsive Design */
@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    max-height: none;
  }
  
  .modal {
    align-items: stretch;
  }
  
  .modal-body {
    padding: 20px 15px;
  }
}/*
 Enhanced Modal Styles */
.enhanced-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.enhanced-modal.closing {
  animation: fadeOut 0.3s ease-out;
}

.enhanced-modal .modal-content.enhanced {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.enhanced-modal.closing .modal-content.enhanced {
  animation: slideOutDown 0.3s ease-in;
}

.enhanced-modal .modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  padding: 25px 30px;
  border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
  position: relative;
}

.enhanced-modal .modal-close {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 20px;
  color: var(--text-primary);
}

.enhanced-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* Enhanced Auth Form Styles */
.enhanced-auth-form {
  padding: 30px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

.bonus-preview {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(245, 228, 123, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulse 2s infinite;
}

.bonus-preview .bonus-icon {
  font-size: 24px;
}

.bonus-preview .bonus-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

.enhanced-auth-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

.enhanced-auth-form .form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.enhanced-auth-form .form-group input {
  width: 100%;
  padding: 15px 45px 15px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--background-light);
}

.enhanced-auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.field-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-secondary);
  pointer-events: none;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
}

.password-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  position: relative;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  position: relative;
  transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: bold;
}

.enhanced-auth-form .btn-primary.enhanced {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.enhanced-auth-form .btn-primary.enhanced:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.enhanced-auth-form .btn-primary.enhanced:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.form-footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.form-footer a:hover {
  text-decoration: underline;
}

.success-message.enhanced {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s ease-out;
}

.success-icon {
  font-size: 20px;
}

.success-text {
  color: #27ae60;
  font-weight: 600;
  font-size: 14px;
}

/* Bonus Notification */
.bonus-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  border: 2px solid var(--primary-color);
  z-index: 10003;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
}

.bonus-notification.show {
  transform: translateX(0);
}

.bonus-notification-content {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.bonus-notification .bonus-icon {
  font-size: 32px;
  animation: bounce 1s infinite;
}

.bonus-notification .bonus-text h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.bonus-notification .bonus-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.bonus-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bonus-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Bonus Info Modal */
.bonus-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.bonus-info-modal .modal-content {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.bonus-details {
  margin-bottom: 30px;
}

.bonus-details .bonus-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.bonus-details .bonus-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.bonus-info h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.bonus-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.bonus-terms {
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 25px;
}

.bonus-terms h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.bonus-terms ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.claim-bonus-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  padding: 16px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.claim-bonus-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

/* Bonus Claim Modal */
.bonus-claim-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.bonus-claim-content {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-heavy);
  border: 2px solid var(--primary-color);
}

.bonus-animation {
  position: relative;
  margin-bottom: 30px;
}

.bonus-animation .bonus-icon {
  font-size: 64px;
  animation: bounce 1s infinite;
}

.bonus-sparkles {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  animation: sparkle 2s infinite;
}

.bonus-claim-content h2 {
  margin: 0 0 15px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.bonus-claim-content p {
  margin: 0 0 25px 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.bonus-list {
  margin-bottom: 30px;
}

.bonus-list .bonus-item {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  padding: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.register-now-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  padding: 16px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 15px;
}

.register-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.close-modal-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Floating Particles Animation */
@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .enhanced-modal .modal-content.enhanced {
    width: 95%;
    margin: 20px;
  }
  
  .enhanced-auth-form {
    padding: 20px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .bonus-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .bonus-claim-content {
    padding: 30px 20px;
  }
  
  .bonus-info-modal .modal-content {
    width: 95%;
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .enhanced-modal .modal-header {
    padding: 20px;
  }
  
  .enhanced-auth-form {
    padding: 15px;
  }
  
  .form-header h3 {
    font-size: 20px;
  }
  
  .bonus-claim-content h2 {
    font-size: 24px;
  }
  
  .bonus-animation .bonus-icon {
    font-size: 48px;
  }
}

/* Print Styles for Modals */
@media print {
  .enhanced-modal,
  .bonus-notification,
  .bonus-info-modal,
  .bonus-claim-modal {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .enhanced-modal .modal-content.enhanced {
    border: 3px solid var(--primary-color);
  }
  
  .bonus-notification {
    border-width: 3px;
  }
  
  .enhanced-auth-form .form-group input:focus {
    border-width: 3px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .bonus-animation .bonus-icon,
  .bonus-notification .bonus-icon,
  .bonus-sparkles {
    animation: none !important;
  }
  
  .floating-particle {
    animation: none !important;
  }
  
  .enhanced-modal,
  .bonus-notification {
    animation: none !important;
    transition: none !important;
  }
}/* E
nhanced Responsive Design for Games Section */
@media (max-width: 1200px) {
  .games-section-header .header-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .header-stats {
    justify-content: center;
  }
  
  .games-controls {
    flex-direction: column;
    gap: 20px;
  }
  
  .games-search {
    min-width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .enhanced-games-section {
    padding: 80px 0;
  }
  
  .games-container {
    padding: 0 15px;
  }
  
  .games-section-header {
    margin-bottom: 50px;
  }
  
  .header-stats {
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .games-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 6px;
  }
  
  .filter-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .filter-text {
    display: none;
  }
  
  .enhanced-games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }
  
  .enhanced-game-card {
    margin: 0 5px;
  }
  
  .game-info {
    padding: 20px;
  }
  
  .game-title {
    font-size: 1.1rem;
  }
  
  .game-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .btn-play,
  .btn-demo {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .enhanced-games-section {
    padding: 60px 0;
  }
  
  .section-badge {
    padding: 6px 15px;
    font-size: 13px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .header-stats {
    flex-direction: column;
    gap: 10px;
  }
  
  .stat-item {
    padding: 12px;
  }
  
  .games-filter {
    gap: 4px;
  }
  
  .filter-btn {
    padding: 8px 12px;
  }
  
  .filter-count {
    display: none;
  }
  
  .search-input {
    padding: 10px 45px 10px 15px;
    font-size: 13px;
  }
  
  .search-btn {
    width: 30px;
    height: 30px;
    right: 5px;
  }
  
  .game-badge {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .jackpot-amount {
    top: 35px;
    right: 10px;
    font-size: 10px;
  }
  
  .favorite-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .game-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .game-provider {
    align-self: flex-end;
  }
}

/* Enhanced Section Transitions and Loading States */
.enhanced-games-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

.enhanced-game-card.loading {
  opacity: 0.5;
  transform: scale(0.95);
}

.enhanced-game-card.filtered-out {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.enhanced-game-card.filtered-in {
  opacity: 1;
  transform: scale(1);
  animation: gameCardAppear 0.5s ease-out;
}

@keyframes gameCardAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Accessibility Features */
.enhanced-game-card:focus-within {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.filter-btn:focus-visible,
.search-btn:focus-visible,
.favorite-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Enhanced Print Styles */
@media print {
  .enhanced-games-section {
    background: white !important;
    color: black !important;
  }
  
  .game-overlay,
  .game-badge,
  .favorite-btn,
  .games-filter,
  .games-search {
    display: none !important;
  }
  
  .enhanced-games-grid {
    display: block !important;
  }
  
  .enhanced-game-card {
    break-inside: avoid;
    margin-bottom: 20px;
    background: white !important;
    border: 1px solid #ccc !important;
  }
  
  .game-title,
  .game-provider,
  .rating-text {
    color: black !important;
  }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .enhanced-games-section {
    background: #0a0a0a;
  }
  
  .enhanced-game-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  .search-input {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* Enhanced High Contrast Mode */
@media (prefers-contrast: high) {
  .enhanced-game-card {
    border: 2px solid var(--primary-color);
  }
  
  .game-badge {
    border: 2px solid currentColor;
  }
  
  .filter-btn.active {
    border: 3px solid var(--primary-color);
  }
}

/* Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .enhanced-game-card,
  .game-badge,
  .favorite-btn,
  .jackpot-amount {
    animation: none !important;
    transition: none !important;
  }
  
  .enhanced-game-card:hover {
    transform: none !important;
  }
  
  .game-image-wrapper img {
    transform: none !important;
  }
}

/* Enhanced Loading Skeleton */
.game-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Enhanced Tooltip System */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  margin-bottom: 5px;
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Enhanced Notification System */
.notification-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}

.notification {
  background: var(--background-light);
  border-radius: var(--border-radius);
  padding: 15px 20px;
  box-shadow: var(--shadow-heavy);
  border-left: 4px solid var(--primary-color);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left-color: #27ae60;
}

.notification.error {
  border-left-color: #e74c3c;
}

.notification.warning {
  border-left-color: #f39c12;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-text {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.notification-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.notification-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Enhanced Progress Indicators */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Enhanced Scroll Indicators */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(212, 175, 55, 0.2);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transition: width 0.1s ease;
}

/* Enhanced Mobile Navigation Improvements */
@media (max-width: 768px) {
  .notification-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification {
    padding: 12px 15px;
  }
  
  .notification-icon {
    font-size: 18px;
  }
  
  .notification-title {
    font-size: 14px;
  }
  
  .notification-message {
    font-size: 13px;
  }
}

/* Enhanced Performance Optimizations */
.enhanced-game-card {
  contain: layout style paint;
  will-change: transform;
}

.game-image-wrapper img {
  will-change: transform, filter;
}

.game-overlay {
  will-change: opacity;
}

/* Enhanced Focus Management */
.focus-trap {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Enhanced Error States */
.games-error {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.7);
}

.games-error-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.games-error-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.games-error-message {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.games-retry-btn {
  background: var(--primary-color);
  color: var(--text-primary);
  border: none;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.games-retry-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Enhanced Empty States */
.games-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.6);
}

.games-empty-icon {
  font-size: 64px;
  margin-bottom: 30px;
  opacity: 0.3;
}

.games-empty-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-light);
}

.games-empty-message {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.games-empty-action {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-primary);
  border: none;
  padding: 16px 40px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.games-empty-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}
/*
 Hero Section Modal Styles */
.game-modal-overlay,
.bonus-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.game-modal,
.bonus-modal {
  background: var(--background-light);
  border-radius: var(--border-radius-large);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.modal-content {
  padding: 30px;
}

.game-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.game-option {
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-primary);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.game-option:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.bonus-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bonus-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.bonus-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.bonus-info h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.bonus-info p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Bonus Card Animations */
.floating-bonus-card.bonus-claimed {
  animation: bonusSuccess 0.6s ease-out;
  border-color: #4CAF50;
}

.bonus-success-message {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  animation: successPop 0.5s ease-out;
  z-index: 10;
}

/* Additional Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bonusSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Enhanced Hero Responsive Improvements */
@media (max-width: 768px) {
  .game-modal,
  .bonus-modal {
    width: 95%;
    margin: 20px;
  }
  
  .modal-header {
    padding: 20px 25px 15px;
  }
  
  .modal-content {
    padding: 25px;
  }
  
  .bonus-item {
    padding: 15px;
  }
}

/* Accessibility improvements for modals */
.game-modal:focus,
.bonus-modal:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .floating-bonus-card,
  .hero-particles,
  .welcome-badge {
    animation: none;
  }
  
  .game-modal-overlay,
  .bonus-modal-overlay {
    animation: none;
  }
  
  .game-modal,
  .bonus-modal {
    animation: none;
  }
}
/
* Touch-Friendly Mobile Improvements */
@media (max-width: 768px) {
  /* Ensure all interactive elements are touch-friendly */
  .filter-btn,
  .btn-play,
  .btn-demo,
  .favorite-btn,
  .search-btn,
  .cta-primary,
  .cta-secondary {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Enhanced game card mobile layout */
  .enhanced-game-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .game-image-wrapper {
    aspect-ratio: 16/9;
  }
  
  .game-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(27, 9, 5, 0.95) 100%);
  }
  
  .game-actions {
    flex-direction: row;
    gap: 12px;
  }
  
  .btn-play,
  .btn-demo {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
  }
  
  .game-info {
    padding: 16px;
  }
  
  .game-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .game-provider {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .game-rating {
    margin-bottom: 12px;
  }
  
  .stars {
    gap: 1px;
  }
  
  .star {
    font-size: 14px;
  }
  
  .feature-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* Ultra-mobile optimizations (320px and up) */
@media (max-width: 480px) {
  .enhanced-games-grid {
    padding: 0 10px;
  }
  
  .enhanced-game-card {
    margin: 0;
  }
  
  .games-filter {
    gap: 6px;
    padding: 0 10px 10px;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .filter-count {
    font-size: 11px;
  }
  
  .search-input {
    padding: 12px 45px 12px 16px;
    font-size: 14px;
  }
  
  .search-btn {
    width: 32px;
    height: 32px;
    right: 6px;
  }
  
  /* Improved mobile header */
  .header-content {
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-section {
    flex: 1;
  }
  
  .logo-img {
    max-height: 35px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  /* Mobile-specific animations */
  .enhanced-game-card:active {
    transform: scale(0.98);
  }
  
  .filter-btn:active,
  .btn-play:active,
  .btn-demo:active {
    transform: scale(0.95);
  }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  .enhanced-hero-section {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .hero-content-wrapper {
    min-height: calc(100vh - 120px);
  }
  
  .hero-main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .trust-indicators {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img,
  .game-image-wrapper img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --background-light: #1a1a1a;
    --border-color: #333333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-particles,
  .scroll-indicator {
    animation: none;
  }
}

/* Print styles */
@media print {
  .cookie-banner,
  .mobile-menu-toggle,
  #sidebar,
  .game-overlay,
  .floating-bonus-card {
    display: none !important;
  }
  
  .enhanced-hero-section {
    background: white !important;
    color: black !important;
  }
  
  .enhanced-games-section {
    background: white !important;
  }
}