:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --neon-primary: var(--primary-color, #ff00ff);
  --neon-secondary: var(--secondary-color, #00ffff);
  --neon-accent: #ffff00;
  --dark-bg-1: #0a0a0a;
  --dark-bg-2: #1a1a2e;
  --dark-bg-3: #16213e;
  --text-color: #ffffff;
  --nav-link-color: #cccccc;
  --nav-link-hover-color: var(--neon-accent);
  --button-text-color: #ffffff;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--dark-bg-1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

/* Dynamic Neon Color Animations */
@keyframes rainbow-border {
  0% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
  16.6% { border-color: #ff8000; box-shadow: 0 0 10px #ff8000, 0 0 20px #ff8000; }
  33.3% { border-color: #ffff00; box-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00; }
  50% { border-color: #00ff00; box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
  66.6% { border-color: #0000ff; box-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff; }
  83.3% { border-color: #8000ff; box-shadow: 0 0 10px #8000ff, 0 0 20px #8000ff; }
  100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
}

@keyframes hue-spin {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes alternate-colors {
  0% { border-color: var(--neon-primary, #ff00ff); box-shadow: 0 0 10px var(--neon-primary, #ff00ff), 0 0 20px var(--neon-primary, #ff00ff); }
  100% { border-color: var(--neon-secondary, #00ffff); box-shadow: 0 0 10px var(--neon-secondary, #00ffff), 0 0 20px var(--neon-secondary, #00ffff); }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes random-glow {
  0% { border-color: #ff00ff; box-shadow: 0 0 20px #ff00ff; }
  20% { border-color: #00ffff; box-shadow: 0 0 20px #00ffff; }
  40% { border-color: #ffff00; box-shadow: 0 0 20px #ffff00; }
  60% { border-color: #00ff00; box-shadow: 0 0 20px #00ff00; }
  80% { border-color: #ff0000; box-shadow: 0 0 20px #ff0000; }
  100% { border-color: #ff00ff; box-shadow: 0 0 20px #ff00ff; }
}

@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(139, 0, 0, 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, 255, 0, 0.3);
  }
}

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

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

@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: var(--text-color);
  }
  50% {
    text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary);
    color: var(--text-color);
  }
  100% {
    text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent);
    color: var(--text-color);
  }
}

/* Header Styles - Desktop First */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.site-header .header-top {
  background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2), var(--dark-bg-3));
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  padding: 15px 0;
}

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

.site-header .logo {
  font-family: 'Orbitron', sans-serif; /* Example sci-fi font */
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--neon-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.site-header .logo:hover {
  filter: brightness(1.2);
}

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

.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  padding: 12px 25px;
  color: var(--button-text-color);
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  text-shadow: 0 0 5px var(--button-text-color), 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.1);
}

.site-header .main-nav {
  background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3), #0f3460);
  border-top: 2px solid;
  border-bottom: 2px solid;
  animation: alternate-colors 4s ease-in-out infinite;
  padding: 10px 0;
  display: flex; /* Desktop default */
  flex-direction: row; /* Desktop default */
  justify-content: center;
}

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

.site-header .nav-link {
  color: var(--nav-link-color);
  font-size: 1.1rem;
  padding: 8px 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--nav-link-hover-color);
  transform: translateY(-2px);
  text-shadow: 0 0 8px var(--nav-link-hover-color);
}

.hamburger-menu,
.mobile-nav-buttons,
.mobile-menu-overlay {
  display: none; /* Hidden on desktop */
}

/* Footer Styles */
.site-footer {
  background-color: var(--dark-bg-2);
  color: #cccccc;
  padding: 40px 20px 20px;
  margin-top: auto;
  font-size: 0.9rem;
}

.site-footer .footer-main-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.site-footer .footer-col ul {
  padding: 0;
}

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

.site-footer .footer-col ul li a {
  color: #cccccc;
  transition: color 0.3s ease;
}

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

.site-footer .footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

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

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

.site-footer .payment-icons img,
.site-footer .game-providers-icons img,
.site-footer .social-media-icons img {
  max-height: 50px;
  height: auto;
  width: auto;
  filter: grayscale(100%) brightness(150%); /* Subtle effect for icons */
  transition: filter 0.3s ease;
}

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

.game-providers-section,
.social-media-section {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 20px 0;
  border-top: 1px solid #333;
}

.social-media-section {
  border-bottom: 1px solid #333;
  margin-bottom: 0;
}

.site-footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    padding-top: 140px; /* Adjust based on header + mobile buttons height */
  }

  .site-header .header-top {
    padding: 10px 0;
  }

  .site-header .header-container {
    padding: 0 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header .logo {
    order: 2;
    flex: 1;
    text-align: center;
    font-size: 1.8rem;
    margin: 0 10px;
  }

  .hamburger-menu {
    display: block;
    order: 1;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    border-radius: 5px;
  }

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

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

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

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

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
    border-bottom: 1px solid var(--neon-primary);
    box-shadow: 0 0 8px var(--neon-primary);
  }

  .mobile-nav-buttons .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .site-header .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 0; /* Adjusted to be below the header and mobile buttons */
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh; /* Full viewport height */
    overflow-y: auto;
    background-color: var(--dark-bg-2);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    border-right: 2px solid var(--neon-primary);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    padding-top: 140px; /* Space for fixed header and mobile buttons */
  }

  .site-header .main-nav.active {
    display: flex; /* Show when active */
    transform: translateX(0);
  }

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

  .site-header .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

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

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

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

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

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

  .site-footer .footer-col ul li {
    display: inline-block;
    margin: 0 10px 8px;
  }

  .site-footer .footer-logo {
    font-size: 1.5rem;
    text-align: center;
  }

  .site-footer .footer-description {
    text-align: center;
  }

  .site-footer .payment-methods,
  .site-footer .game-providers-section,
  .site-footer .social-media-section {
    text-align: center;
  }

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