:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --neon-primary: var(--primary-color, #FFD700); /* Gold */
  --neon-secondary: #00FFFF; /* Cyan */
  --neon-accent: #FF00FF; /* Magenta */
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0a0a;
  color: #f0f0f0;
  line-height: 1.6;
  padding-top: 120px; /* For fixed header (header-top + main-nav) */
}

body.no-scroll {
  overflow: hidden;
}

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

/* --- Header Styles --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-top {
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  border-bottom: 2px solid var(--neon-primary);
  box-shadow:
    0 0 10px var(--neon-primary),
    0 0 20px var(--neon-primary),
    0 0 30px var(--neon-primary),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  padding: 10px 0;
}

.header-top .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif; /* Example futuristic font */
  font-size: 2.2em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 0;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  text-shadow:
    0 0 5px var(--neon-primary),
    0 0 10px var(--neon-primary),
    0 0 15px var(--neon-primary);
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  padding: 5px;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--neon-primary);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
  box-shadow:
    0 0 3px var(--neon-primary),
    0 0 6px var(--neon-primary);
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 11px; }
.hamburger-menu span:nth-child(3) { top: 22px; }

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.desktop-nav-buttons {
  display: flex;
  gap: 15px;
}

.mobile-buttons-bar {
  display: none; /* Hidden on desktop */
}

.main-nav {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-top: 2px solid var(--neon-secondary);
  border-bottom: 2px solid var(--neon-secondary);
  box-shadow:
    0 0 10px var(--neon-secondary),
    0 0 20px var(--neon-secondary),
    0 0 30px var(--neon-secondary),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  padding: 5px 0;
  display: flex; /* Desktop default: visible, horizontal */
}

.main-nav .nav-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 10px 20px;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1em;
  padding: 8px 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--neon-primary);
  text-shadow:
    0 0 5px var(--neon-primary),
    0 0 10px var(--neon-primary);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

/* --- Buttons Styles --- */
.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  padding: 12px 25px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px var(--neon-primary);
  transition: all 0.3s ease;
  font-weight: bold;
  white-space: nowrap;
}

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* --- Footer Styles --- */
.site-footer {
  background-color: #1a1a1a;
  color: #cccccc;
  padding-top: 40px;
  font-size: 0.9em;
}

.site-footer a {
  color: #cccccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-color);
}

.footer-top-area {
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
}

.footer-top-area .footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 15px;
  white-space: nowrap;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
}

.footer-description {
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.payment-icons, .game-providers-icons, .social-media-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.payment-icons img, .game-providers-icons img, .social-media-icons img {
  max-height: 50px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.footer-middle-area {
  padding: 30px 0;
  border-bottom: 1px solid #333;
}

.game-providers-section, .social-media-section {
  margin-bottom: 25px;
}

.game-providers-section:last-child, .social-media-section:last-child {
  margin-bottom: 0;
}

.footer-bottom-area {
  padding: 20px 0;
  text-align: center;
}

.copyright {
  margin: 0;
  color: #aaa;
}

/* --- Dynamic Color Animations (from prompt) --- */
@keyframes text-glow-flow {
  0% {
    text-shadow:
      0 0 5px var(--neon-primary),
      0 0 10px var(--neon-primary),
      0 0 15px var(--neon-primary);
    color: #ffffff;
  }
  50% {
    text-shadow:
      0 0 5px var(--neon-secondary),
      0 0 10px var(--neon-secondary),
      0 0 15px var(--neon-secondary);
    color: #ffffff;
  }
  100% {
    text-shadow:
      0 0 5px var(--neon-accent),
      0 0 10px var(--neon-accent),
      0 0 15px var(--neon-accent);
    color: #ffffff;
  }
}

@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-primary);
    box-shadow:
      0 0 10px var(--neon-primary),
      0 0 20px var(--neon-primary),
      inset 0 0 10px rgba(255, 215, 0, 0.3);
  }
  33% {
    border-color: var(--neon-secondary);
    box-shadow:
      0 0 10px var(--neon-secondary),
      0 0 20px var(--neon-secondary),
      inset 0 0 10px rgba(0, 255, 255, 0.3);
  }
  66% {
    border-color: var(--neon-accent);
    box-shadow:
      0 0 10px var(--neon-accent),
      0 0 20px var(--neon-accent),
      inset 0 0 10px rgba(255, 0, 255, 0.3);
  }
}

/* --- Responsive Styles (Mobile First Override) --- */
@media (max-width: 768px) {
  body {
    padding-top: 160px; /* Adjust for mobile header (header-top + mobile-buttons-bar) */
  }

  .header-container, .nav-container, .footer-container {
    max-width: none; /* Remove max-width for mobile */
    width: 100%;
    padding: 0 15px;
  }

  /* Header adjustments */
  .header-top .header-container {
    justify-content: space-between;
  }

  .hamburger-menu {
    display: block;
    order: 1;
  }

  .logo {
    order: 2;
    flex-grow: 1;
    text-align: center;
    font-size: 1.8em;
    padding: 5px 0;
  }

  .desktop-nav-buttons {
    display: none;
  }

  .mobile-buttons-bar {
    display: block;
    background: linear-gradient(90deg, #0a0a0a, #1a1a2e);
    padding: 10px 0;
    border-bottom: 2px solid var(--neon-accent);
    box-shadow:
      0 0 5px var(--neon-accent),
      0 0 10px var(--neon-accent),
      inset 0 0 10px rgba(255, 0, 255, 0.1);
  }

  .mobile-buttons-bar .header-container {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .mobile-buttons-bar .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 0; /* Aligned with header-top */
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #1a1a2e; /* Darker background for menu */
    padding-top: 150px; /* Push content below header and buttons bar */
    transform: translateX(-100%); /* Off-screen by default */
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    border-right: 2px solid var(--neon-secondary);
    box-shadow:
      0 0 10px var(--neon-secondary),
      0 0 20px var(--neon-secondary);
  }

  .main-nav.active {
    display: flex; /* Must set display when active */
    transform: translateX(0); /* Slide in */
  }

  .main-nav .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    gap: 15px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2em;
  }
  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  /* Footer adjustments */
  .footer-top-area .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-nav ul {
    text-align: center;
  }
}
