:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;

  --neon-primary: #FFFF00; /* Vibrant Yellow */
  --neon-secondary: #00FFFF; /* Vibrant Cyan */
  --neon-accent: #FF00FF; /* Vibrant Magenta */

  --dark-bg-1: #0a0a0a;
  --dark-bg-2: #1a1a2e;
  --dark-bg-3: #16213e;
  --dark-bg-4: #0f3460;

  --header-glow-color: var(--neon-primary);
  --nav-glow-color: var(--neon-accent);
  --button-glow-color-1: var(--neon-primary);
  --button-glow-color-2: var(--neon-secondary);

  --text-color-light: #ffffff;
  --text-color-dark: #cccccc;
}

/* Base styles and animations for neon effects */
@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-light);
  }
  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-light);
  }
  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-light);
  }
}

@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, 255, 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);
  }
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--dark-bg-1);
  min-height: 100vh; /* Ensure body takes full viewport height */
}

body.no-scroll {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

/* Site Header - Fixed & Neon Style */
.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));
  min-height: 60px;
}

.header-top {
  width: 100%;
  background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
  border-bottom: 2px solid var(--header-glow-color);
  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.2rem;
  font-weight: bold;
  color: var(--text-color-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  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);
}

.logo:hover {
  transform: scale(1.05);
}

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

.btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 12px 25px;
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  text-shadow:
    0 0 5px var(--text-color-light),
    0 0 10px var(--button-glow-color-1);
  transition: all 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
}

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn.neon-pulse {
  animation: pulse-glow 2s ease-in-out infinite alternate, theme-colors 4s ease-in-out infinite;
}

.btn.alternate-glow {
  animation: alternate-colors 2s ease-in-out infinite alternate, theme-colors 4s ease-in-out infinite;
}

.main-nav {
  width: 100%;
  background: linear-gradient(135deg, var(--dark-bg-3), var(--dark-bg-4));
  border-top: 1px solid var(--nav-glow-color);
  border-bottom: 1px solid var(--nav-glow-color);
  animation: theme-colors 5s linear infinite reverse;
  padding: 10px 0;
}

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

.nav-link {
  color: var(--text-color-light);
  padding: 8px 15px;
  margin: 0 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--neon-primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-link:hover {
  color: var(--neon-primary);
  transform: translateY(-2px);
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  animation: theme-colors 4s ease-in-out infinite;
}

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

.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-nav-buttons {
  display: none; /* Hidden on desktop */
}

.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);
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, var(--dark-bg-4), var(--dark-bg-3));
  color: var(--text-color-dark);
  padding: 40px 0 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-top-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

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

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

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

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

.footer-nav a {
  color: var(--text-color-dark);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--text-color-light);
}

.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-methods h4, .game-providers-section h4, .social-media-section h4 {
  color: var(--text-color-light);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 10px;
}

.copyright {
  color: #888;
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-link {
    margin: 0 8px;
    padding: 8px 10px;
  }
  .desktop-nav-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .footer-top-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 140px; /* Adjust for fixed header (header-top + mobile-nav-buttons) */
  }
  .header-top {
    padding: 10px 0;
  }
  .header-container {
    padding: 0 15px;
    justify-content: center;
    position: relative;
  }
  .hamburger-menu {
    display: block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-primary);
    z-index: 1001;
  }
  .logo {
    font-size: 1.8rem;
    text-align: center;
    flex-grow: 1; /* Allows logo to take available space and center */
  }
  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons on mobile */
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3));
    border-bottom: 2px solid var(--button-glow-color-1);
    animation: theme-colors 4s ease-in-out infinite;
  }
  .mobile-nav-buttons .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin: 0 5px;
  }
  .main-nav {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    top: 0; /* Adjusted for full height menu */
    left: 0;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-bg-3), var(--dark-bg-4));
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    border-right: 2px solid var(--nav-glow-color);
    animation: theme-colors 5s linear infinite reverse;
    overflow-y: auto;
    padding-top: 80px; /* Space for fixed elements above menu content */
  }
  .main-nav.active {
    display: flex; /* IMPORTANT: Display must be block/flex to be visible */
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    width: 100%;
    max-width: none; /* Ensure full width on mobile */
  }
  .nav-link {
    width: 100%;
    margin: 10px 0;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .mobile-menu-overlay.active {
    display: block;
  }

  .footer-top-cols {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col h4 {
    text-align: center;
  }
  .footer-nav {
    padding: 0;
  }
  .footer-logo {
    font-size: 1.5rem;
    text-align: center;
  }
  .payment-icons, .game-providers-icons, .social-media-icons {
    justify-content: center;
  }
  .footer-container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .mobile-nav-buttons .btn {
    font-size: 0.8rem;
    padding: 8px 15px;
  }
}
