:root {
  --site-primary-dark: #0A0A0A;
  --site-accent-gold: #FFD700;

  --neon-primary: var(--site-accent-gold, #FFD700); /* Gold/Yellow */
  --neon-secondary: #FF1493; /* Deep Pink */
  --neon-accent: #00FFFF; /* Cyan */
  --neon-tertiary: #FF4500; /* OrangeRed */
  --neon-quaternary: #7B68EE; /* MediumSlateBlue */

  --header-top-bg: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  --main-nav-bg: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

/* Base Neon Glow */
.neon-glow {
  box-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor,
    inset 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Animations from prompt, adapted to variables */
@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); /* Gold */
  }
  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, 20, 147, 0.3); /* Deep Pink */
  }
  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); /* Cyan */
  }
}

@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 neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    box-shadow: 
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 30px currentColor,
      inset 0 0 15px currentColor;
  }
  20%, 24%, 55% {
    opacity: 0.8;
    box-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      inset 0 0 10px currentColor;
  }
}

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

/* Global Styles & Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--site-primary-dark);
  color: #f0f0f0;
  padding-top: 120px; /* Desktop header height, adjusted for mobile */
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: 60px; /* Base height for header-top */
}

.header-top {
  background: var(--header-top-bg);
  color: var(--neon-primary);
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  padding: 10px 0;
}

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

.logo {
  font-size: 2.2em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  animation: text-glow-flow 3s ease-in-out infinite alternate, neon-flicker 2s infinite alternate;
  filter: drop-shadow(0 0 5px currentColor);
}

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

.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  padding: 10px 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;
  white-space: nowrap;
}

.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: var(--main-nav-bg);
  color: #f0f0f0;
  border-top: 2px solid;
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

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

.nav-link {
  color: #f0f0f0;
  text-decoration: none;
  padding: 8px 15px;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--neon-primary);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.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;
  backdrop-filter: blur(5px);
}

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

/* Footer Styles */
.site-footer {
  background-color: #1a1a2e;
  color: #c0c0c0;
  padding: 40px 0 20px;
  font-size: 0.9em;
  border-top: 1px solid #333;
}

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

.game-providers-section, .social-media-section {
  padding-top: 20px;
}

.footer-main {
  border-bottom: none;
  margin-bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--neon-primary);
}

.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;
  filter: grayscale(100%) brightness(150%); /* Subtle effect for icons */
  transition: filter 0.3s ease;
}

.payment-icons img:hover, .game-providers-icons img:hover, .social-media-icons img:hover {
  filter: grayscale(0%) brightness(100%);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-bottom: none;
  margin-bottom: 0;
}

.footer-legal-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-legal-nav a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-nav a:hover {
  color: var(--neon-primary);
}

.copyright {
  color: #888;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .header-container, .main-nav .nav-container, .footer-container {
    padding: 0 15px;
  }
}

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

  .site-header {
    min-height: auto;
  }

  .header-top {
    padding: 8px 0;
  }

  .header-container {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    padding: 0 15px;
  }

  .hamburger-menu {
    display: flex;
    order: 1;
    box-shadow: 0 0 5px var(--neon-primary);
    animation: pulse-glow 2s ease-in-out infinite alternate;
  }

  .logo {
    order: 2;
    flex-grow: 1;
    text-align: center;
    font-size: 1.8em;
    margin-left: -40px; /* Counteract hamburger space for centering */
  }

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

  .mobile-buttons-area {
    display: block;
    background: var(--header-top-bg);
    padding: 10px 0;
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    color: var(--neon-primary);
  }

  .mobile-buttons-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: none;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
  }

  .mobile-buttons-area .btn {
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color: #1a1a2e; /* Darker background for mobile menu */
    padding-top: 150px; /* Space for header-top and mobile buttons */
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    border-right: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex; /* Must be flex to show */
    transform: translateX(0);
  }

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

  .nav-link {
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

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

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

  .site-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-legal-nav {
    flex-direction: column;
    gap: 10px;
  }

  body.no-scroll {
    overflow: hidden;
  }
}