html {
  scroll-behavior: smooth;
}
:root {
  --midnight-blue: #191970;
  --charcoal: #36454f;
  --soft-gold: #ffd700;
}

body {
  background: linear-gradient(
    135deg,
    var(--midnight-blue) 0%,
    var(--charcoal) 100%
  );
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/Official_Online_Casino.jpg") no-repeat center center;
  background-size: cover;
  padding: 180px 0;
}

.gold-accent {
  color: var(--soft-gold);
}

.bg-midnight {
  background-color: var(--midnight-blue);
}

.bg-charcoal {
  background-color: var(--charcoal);
}

.bg-gold {
  background-color: var(--soft-gold);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  color: white;
  padding: 20px;
  z-index: 999;
  display: none;
}

.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-5px);
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 20px;
  }

  .mobile-nav.active {
    display: block;
  }
}

/* Добавляем стили для активных ссылок */
.desktop-menu a.active {
  color: var(--soft-gold);
}

.desktop-menu a.active::after {
  width: 100%;
}

/* Улучшаем стили мобильного меню */
.mobile-nav {
  background: var(--midnight-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
