/* Professional Casino Website Styles */
:root {
  /* Refined color palette - professional dark theme */
  --primary-dark: #0f0f0f;
  --secondary-dark: #1a1a1a;
  --tertiary-dark: #222222;
  --accent-gold: #d4af37;
  --text-light: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-tertiary: #888888;
  --card-bg: #1e1e1e;
  --card-border: #333333;
  --section-bg: #151515;
  --button-bg: #2a2a2a;
  --button-text: #e0e0e0;
  --link-color: #d4af37;
  --success: #2e7d32;
  --warning: #f57c00;
  --danger: #c62828;
  
  /* Typography */
  --font-primary: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

/* Base styles */
body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background-color: var(--secondary-dark);
  border-bottom: 1px solid var(--card-border);
  padding: var(--spacing-sm) 0;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-sm);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.active-users-display {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.user-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.btn-dashboard {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.btn-login {
  background-color: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-register {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: var(--spacing-md);
  border-radius: var(--radius-lg);
  background-color: var(--secondary-dark);
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: none;
  background-size: cover;
  background-position: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: var(--spacing-md);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-md);
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.banner-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Banner controls */
.banner-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
  z-index: 3;
}

.banner-prev,
.banner-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.banner-indicators {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.indicator.active {
  background-color: var(--accent-gold);
}

/* Sections */
section {
  padding: var(--spacing-xl) 0;
}

.game-categories-banner {
  background-color: var(--section-bg);
}

.all-games-showcase {
  background-color: var(--secondary-dark);
}

.featured-games {
  background-color: var(--section-bg);
}

.latest-winners {
  background-color: var(--secondary-dark);
}

/* Section titles */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 3px;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  background-color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-gold);
}

.card-body {
  padding: var(--spacing-sm);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-light);
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.play-game-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

/* CTA Section */
.cta-section {
  background-color: var(--section-bg);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.cta-section .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

/* Footer */
.site-footer {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--card-border);
  padding: var(--spacing-lg) 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h5 {
  color: var(--accent-gold);
  margin-bottom: var(--spacing-sm);
}

.footer-column p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid var(--card-border);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-light);
  background-color: var(--card-bg);
}

.table th,
.table td {
  padding: var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.table th {
  color: var(--accent-gold);
  font-weight: 600;
  background-color: var(--secondary-dark);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02);
}

.table-responsive {
  border-radius: var(--radius-md);
  overflow-x: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-banner {
    height: 400px;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-banner {
    height: 350px;
    border-radius: var(--radius-md);
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 300px;
  }
  
  .banner-title {
    font-size: 1.75rem;
  }
  
  .banner-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .card-img-top {
    height: 150px;
  }
}