* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --premium-green: #0a4d2e;
  --premium-green-light: #0f7a4a;
  --premium-green-dark: #063320;
  --gold-neon: #ffd700;
  --gold-neon-bright: #ffed4e;
  --gold-neon-dim: #ccaa00;
  --text-primary: #e8eff7;
  --text-secondary: #c7d3e0;
  --bg-overlay: rgba(6, 51, 32, 0.95);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--premium-green-dark);
  background-image: url('assets/CasBackground.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: linear-gradient(135deg, var(--premium-green-dark) 0%, var(--premium-green) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-neon);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-nav {
  padding: 1.5rem 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  text-decoration: none;
}

.logo-link:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--gold-neon));
}

.logo-link:active {
  transform: scale(0.98);
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-neon);
  border-color: var(--gold-neon);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.1);
}

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-info-section {
  padding: 3rem 0;
  text-align: center;
  background: transparent;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-neon);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--premium-green) 0%, var(--premium-green-light) 100%);
  border: 2px solid var(--gold-neon);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.badge-square {
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  min-width: 140px;
  min-height: 140px;
  border-radius: 12px;
  text-align: center;
  gap: 0.75rem;
}

.badge-square span:first-child {
  font-size: 2rem;
  display: block;
  filter: drop-shadow(0 0 8px var(--gold-neon));
}

.badge-square span:last-child {
  font-size: 0.9rem;
  line-height: 1.3;
}

.age-badge {
  background: linear-gradient(135deg, var(--gold-neon-dim) 0%, var(--gold-neon) 100%);
  border-color: var(--gold-neon-bright);
  color: var(--premium-green-dark);
  font-weight: 800;
}

.casinos-section {
  padding: 3rem 0;
  background: transparent;
}

.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.casino-card-compact {
  background: linear-gradient(145deg, var(--premium-green) 0%, var(--premium-green-light) 100%);
  border: 3px solid var(--gold-neon);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.casino-card-compact::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--gold-neon), var(--gold-neon-bright), var(--gold-neon));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.casino-card-compact:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(255, 215, 0, 0.5);
}

.casino-card-compact:hover::before {
  opacity: 0.8;
}

.casino-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.casino-logo-compact {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.casino-rating-compact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating-score-compact {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-neon);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  line-height: 1;
}

.casino-bonus-compact {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bonus-btn {
  background: linear-gradient(135deg, var(--gold-neon) 0%, var(--gold-neon-bright) 100%);
  color: var(--premium-green-dark);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.bonus-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, var(--gold-neon-bright) 0%, var(--gold-neon) 100%);
}

.bonus-btn:active {
  transform: scale(0.98);
}

.stars-compact {
  font-size: 1.2rem;
  color: var(--gold-neon);
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.regulation-section,
.safer-gambling-section {
  padding: 4rem 0;
  background: rgba(10, 77, 46, 0.3);
  margin: 3rem 0;
  border-top: 2px solid var(--gold-neon);
  border-bottom: 2px solid var(--gold-neon);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-neon);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.footer {
  background: linear-gradient(135deg, var(--premium-green-dark) 0%, #000000 100%);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 3px solid var(--gold-neon);
  box-shadow: 0 -5px 30px rgba(255, 215, 0, 0.2);
}

.footer-content {
  text-align: center;
  margin-bottom: 2rem;
}

.copyright {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--gold-neon);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  color: var(--gold-neon-bright);
  border-bottom-color: var(--gold-neon-bright);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-responsible-gambling {
  margin: 2rem 0;
}

.responsible-gambling-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rg-logo-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.rg-logo-item:hover {
  transform: scale(1.1);
}

.rg-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-neon);
  color: var(--premium-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.rg-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rg-logo-accent {
  color: var(--gold-neon);
}

.footer-warning {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--gold-neon);
  border-radius: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.warning-triangle {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.footer-warning-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.age-verification-link {
  color: var(--gold-neon);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gold-neon);
  transition: all 0.3s ease;
}

.age-verification-link:hover {
  color: var(--gold-neon-bright);
  border-bottom-color: var(--gold-neon-bright);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: linear-gradient(145deg, var(--premium-green) 0%, var(--premium-green-light) 100%);
  border: 3px solid var(--gold-neon);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
  text-align: center;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-neon);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.modal-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.modal-btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--gold-neon) 0%, var(--gold-neon-bright) 100%);
  color: var(--premium-green-dark);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid var(--text-secondary);
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--text-primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--premium-green-dark) 0%, var(--premium-green) 100%);
  border-top: 3px solid var(--gold-neon);
  padding: 1.5rem;
  box-shadow: 0 -5px 30px rgba(255, 215, 0, 0.3);
  z-index: 9998;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.cookie-banner-text a {
  color: var(--gold-neon);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-neon);
}

.cookie-banner-text a:hover {
  color: var(--gold-neon-bright);
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cookie-banner-btn-accept {
  background: linear-gradient(135deg, var(--gold-neon) 0%, var(--gold-neon-bright) 100%);
  color: var(--premium-green-dark);
  box-shadow: 0 2px 15px rgba(255, 215, 0, 0.3);
}

.cookie-banner-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.cookie-banner-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid var(--text-secondary);
}

.cookie-banner-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .casinos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .badge-square {
    min-width: 120px;
    min-height: 120px;
  }

  .modal {
    padding: 2rem;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 50px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
  }
}
