/* Games Page Specific Styles */
.main-content {
  margin-top: 80px;
  padding-bottom: 2rem;
}

/* Hero Section */
.hero {
  background: 
    linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1)),
    radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  padding: 3rem 0;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Game Filters */
.game-filters {
  background: rgba(10, 10, 26, 0.5);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 2px solid rgba(139, 92, 246, 0.3);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-primary);
  border-color: var(--primary-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.search-bar {
  display: flex;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 25px 0 0 25px;
  background: var(--card-bg);
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-glow);
}

.search-btn {
  padding: 12px 20px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 0 25px 25px 0;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--gradient-secondary);
  transform: scale(1.05);
}

/* Game Sections */
.game-section {
  padding: 3rem 0;
}

.game-section:nth-child(even) {
  background: rgba(10, 10, 26, 0.3);
}

.game-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Game Cards */
.games-grid {
  gap: 1.5rem;
}

.game-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.game-card:hover::before {
  transform: scaleX(1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-info {
  position: relative;
}

.game-info h3 {
  color: var(--text-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.game-info p {
  opacity: 0.8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.game-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.rtp {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.volatility {
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-gold);
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.jackpot {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.game-buttons {
  display: flex;
  gap: 0.5rem;
}

.game-buttons .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
  text-align: center;
}

/* Special Badges */
.exclusive-badge,
.bengali-badge,
.popularity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.exclusive-badge {
  background: var(--gradient-gold);
  color: white;
  animation: pulse 2s infinite;
}

.bengali-badge {
  background: var(--gradient-secondary);
  color: white;
}

.popularity-badge {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  animation: bounce 2s infinite;
}

/* Live Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #EF4444;
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

/* Special Game Cards */
.exclusive {
  border: 2px solid var(--primary-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.bengali-special {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Popular Games Section */
.popular-games {
  background: 
    linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
  padding: 3rem 0;
}

/* Fixed Action Buttons */
.fixed-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.fixed-btn {
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.register-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.login-btn {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-blue);
}

.bonus-btn {
  background: var(--gradient-gold);
  color: white;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.fixed-btn:hover {
  transform: translateX(-5px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    margin-top: 100px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .search-bar {
    max-width: 100%;
  }
  
  .game-section {
    padding: 2rem 0;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .fixed-actions {
    right: 10px;
    gap: 8px;
  }
  
  .fixed-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-text {
    font-size: 0.9rem;
  }
  
  .filter-tabs {
    gap: 0.5rem;
  }
  
  .filter-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .game-card img {
    height: 150px;
  }
  
  .game-info {
    padding: 1rem;
  }
  
  .game-buttons {
    flex-direction: column;
  }
  
  .fixed-actions {
    position: fixed;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    top: auto;
  }
  
  .fixed-btn {
    padding: 8px 12px;
    font-size: 0.7rem;
    min-width: 80px;
  }
}