:root {
  --site-primary-color: #0A192F;
  --site-secondary-color: #E0B400;

  --neon-primary: var(--site-secondary-color);
  --neon-secondary: #FF69B4; /* Bright Pink */
  --neon-accent: #00FFFF; /* Cyan */

  --header-top-neon-primary: var(--site-secondary-color); /* E0B400 */
  --header-top-neon-secondary: #FFFF00; /* Bright yellow */
  --header-top-neon-accent: #FFD700; /* Gold */

  --main-nav-neon-primary: #FF6600; /* Neon Orange */
  --main-nav-neon-secondary: #FF0000; /* Neon Red */
  --main-nav-neon-accent: #FF1493; /* Deep Pink */

  --dark-bg-1: #0A192F;
  --dark-bg-2: #16213e;
  --dark-bg-3: #1a1a2e;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: var(--dark-bg-1);
  padding-top: 110px; /* Default for desktop header height */
}

a {
  color: inherit;
  text-decoration: none;
}

/* Animations for neon effects */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.8;
  }
}

@keyframes pulse-glow {
  from {
    box-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor;
  }
  to {
    box-shadow: 
      0 0 15px currentColor,
      0 0 30px currentColor,
      0 0 45px currentColor;
  }
}

@keyframes led-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

@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(224, 180, 0, 0.3); /* Using site-secondary-color for inner glow */
  }
  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(255, 105, 180, 0.3); /* Using neon-secondary for inner glow */
  }
  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(0, 255, 255, 0.3); /* Using neon-accent for inner glow */
  }
}

@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;
  }
}

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2), var(--dark-bg-3));
}

.header-top-wrapper {
  display: flex;
  flex-direction: column;
}

.header-top {
  background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
  padding: 10px 0;
  border-bottom: 2px solid var(--header-top-neon-primary);
  box-shadow: 
    0 0 10px var(--header-top-neon-primary),
    0 0 20px var(--header-top-neon-primary),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  position: relative; /* For z-index context */
  z-index: 1001; /* Above main-nav on mobile */
  --neon-primary: var(--header-top-neon-primary);
  --neon-secondary: var(--header-top-neon-secondary);
  --neon-accent: var(--header-top-neon-accent);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-family: 'Electrolize', sans-serif; /* Example retro-futuristic font */
  font-size: 2.2em;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 0;
  display: block;
  --neon-primary: var(--header-top-neon-primary);
  --neon-secondary: var(--header-top-neon-secondary);
  --neon-accent: var(--header-top-neon-accent);
}

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

.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  padding: 12px 30px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px var(--neon-primary);
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  --neon-primary: var(--header-top-neon-primary);
  --neon-secondary: var(--header-top-neon-secondary);
  --neon-accent: var(--header-top-neon-accent);
}

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  box-shadow: 
    0 0 15px var(--neon-primary),
    0 0 30px var(--neon-primary),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.main-nav {
  background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3));
  padding: 10px 0;
  border-top: 2px solid var(--main-nav-neon-primary);
  border-bottom: 2px solid var(--main-nav-neon-primary);
  box-shadow:
    0 0 10px var(--main-nav-neon-primary),
    0 0 20px var(--main-nav-neon-primary),
    inset 0 0 15px rgba(255, 0, 0, 0.1);
  display: flex;
  width: 100%;
  --neon-primary: var(--main-nav-neon-primary);
  --neon-secondary: var(--main-nav-neon-secondary);
  --neon-accent: var(--main-nav-neon-accent);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.nav-link {
  color: #f0f0f0;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002; /* Above mobile menu overlay */
  --neon-primary: var(--header-top-neon-primary);
  --neon-secondary: var(--header-top-neon-secondary);
  --neon-accent: var(--header-top-neon-accent);
  animation: theme-colors 4s ease-in-out infinite;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--neon-primary);
  margin-bottom: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary);
}

.hamburger-menu span:last-child {
  margin-bottom: 0;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-buttons-container {
  display: none; /* Hidden by default on desktop */
}

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

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

/* Footer styles */
.site-footer {
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
  padding: 40px 0 20px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-col h4 {
  color: var(--site-secondary-color);
  font-size: 1.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-logo {
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
  display: block;
}

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

.footer-nav {
  list-style: none;
}

.footer-nav li a {
  display: block;
  padding: 5px 0;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  color: var(--site-secondary-color);
}

.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: 40px; /* Reduced max-height for better fit */
  height: auto;
  width: auto;
  filter: grayscale(100%) brightness(150%); /* Make icons fit cyberpunk aesthetic */
  transition: filter 0.3s ease;
}

.payment-icons img:hover, .game-providers-icons img:hover, .social-media-icons img:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 5px var(--site-secondary-color));
}

.game-providers-section, .social-media-section {
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-providers-section h4, .social-media-section h4 {
  color: var(--site-secondary-color);
  font-size: 1.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Responsive styles */
@media (max-width: 768px) {
  body {
    padding-top: 120px; /* Adjust for mobile header + button bar */
  }

  .header-top {
    padding: 10px 0;
    display: flex; /* Override desktop flex-direction: column in wrapper */
    flex-direction: row; /* Ensure logo and hamburger are horizontal */
    justify-content: space-between;
    align-items: center;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
    justify-content: space-between; /* Space out hamburger and logo */
  }

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

  .logo {
    order: 2;
    flex-grow: 1; /* Allow logo to take available space */
    text-align: center;
    font-size: 1.8em;
    padding: 0;
  }

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

  .mobile-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid var(--header-top-neon-secondary); /* Distinct glow for mobile buttons */
    box-shadow:
      0 0 5px var(--header-top-neon-secondary),
      0 0 10px var(--header-top-neon-secondary),
      inset 0 0 5px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
  }

  .mobile-buttons-inner {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    max-width: 400px; /* Limit width for better appearance on larger mobile screens */
  }

  .mobile-buttons-inner .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, var(--dark-bg-1), var(--dark-bg-3));
    padding-top: 80px; /* Space for hamburger/logo */
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
    border-right: 2px solid var(--main-nav-neon-primary);
    box-shadow:
      0 0 15px var(--main-nav-neon-primary),
      0 0 30px var(--main-nav-neon-primary);
  }

  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    gap: 15px;
    width: 100%;
    max-width: none;
  }

  .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.2em;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-col h4 {
    margin-top: 20px;
  }

  .footer-nav li a {
    padding: 3px 0;
  }

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

  .payment-icons, .game-providers-icons, .social-media-icons {
    justify-content: center;
  }
}

/* General utility for no-scroll */
body.no-scroll {
  overflow: hidden;
}