/* Game Sections Styles */
.game-sections {
  padding: 20px 0;
  background: #0b0e17;
}

.game-section {
  margin-bottom: 10px;
  padding: 0 20px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.game-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.section-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.games-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: scroll-behavior 0.3s ease;
}

/* Mobile: Horizontal scrollable */
@media (max-width: 768px) {
  .games-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .section-nav {
    display: flex;
    gap: 6px;
  }
  
  .nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.games-scroll::-webkit-scrollbar {
  display: none;
}

.game-card {
  flex: 0 0 300px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  width: 300px;
  height: 320px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.game-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
}

.game-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) contrast(1.1);
}

.game-card:hover .game-image {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.2);
}

.game-info {
  padding: 24px 20px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  position: relative;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
  font-family: 'Arial', sans-serif;
}

.game-provider {
  font-size: 0.75rem;
  color: #a0a0a0;
  margin: 0 0 16px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.game-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 20px 20px;
  position: relative;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

@keyframes pulse {
  0% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.1);
  }
  100% { 
    opacity: 1; 
    transform: scale(1);
  }
}

.player-count {
  font-size: 0.8rem;
  color: #c0c0c0;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section-specific styling */
.sports-section {
  background: #1a1a1a;
  border-radius: 15px;
  margin: 20px auto;
  padding: 30px 20px;
}

.sports-section .section-title {
  color: #4ecdc4;
}

.casino-section {
  background: #1a1a1a;
  border-radius: 15px;
  margin: 20px auto;
  padding: 30px 20px;
}

.casino-section .section-title {
  color: #ff9ff3;
}

.slots-section {
  background: #1a1a1a;
  border-radius: 15px;
  margin: 20px auto;
  padding: 30px 20px;
}

.slots-section .section-title {
  color: #feca57;
}

/* Responsive Design */
@media (max-width: 768px) {
  .game-sections {
    padding: 20px 0;
  }
  
  .game-section {
    margin-bottom: 10px;
    padding: 20px 15px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .sports-section {
    background: #1a1a1a;
    border-radius: 12px;
    margin: 15px auto;
    padding: 20px 15px;
  }
  
  .casino-section {
    background: #1a1a1a;
    border-radius: 12px;
    margin: 15px auto;
    padding: 20px 15px;
  }
  
  .slots-section {
    background: #1a1a1a;
    border-radius: 12px;
    margin: 15px auto;
    padding: 20px 15px;
  }
  
  .section-header {
    margin-bottom: 10px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .title-icon {
    font-size: 1.3rem;
  }
  
  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .game-card {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
  }
  
  .game-image-container {
    height: 140px;
  }
  
  .game-info {
    padding: 16px 14px 14px 14px;
  }
  
  .game-title {
    font-size: 1.1rem;
    letter-spacing: 0.6px;
  }
  
  .game-provider {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
  }
  
  
  .game-info {
    padding: 15px;
  }
  
  .game-title {
    font-size: 1rem;
  }
  
  .game-provider {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .games-scroll {
    gap: 12px;
  }
  
  .game-card {
    flex: 0 0 200px;
    width: 200px;
    height: 220px;
  }
  
  .game-image-container {
    height: 120px;
  }
  
  .game-info {
    padding: 14px 12px 12px 12px;
  }
  
  .game-title {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  
  .game-provider {
    font-size: 0.65rem;
    letter-spacing: 0.7px;
  }
  
  .nav-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .game-image-container {
    height: 120px;
  }
  
  .games-scroll {
    gap: 15px;
  }
}
