:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --neon-primary: #FFD700; /* Gold */
  --neon-secondary: #FF4500; /* OrangeRed */
  --neon-accent: #00FFFF; /* Cyan */
  --dark-bg-1: #0a0a0a;
  --dark-bg-2: #1a1a2e;
  --dark-bg-3: #16213e;
  --dark-bg-4: #0f3460;
}

/* Base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg-1);
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: 0; /* Will be adjusted by JS for fixed header */
  transition: padding-top 0.3s ease; /* Smooth transition for padding */
}

body.no-scroll {
  overflow: hidden;
}

/* Animations */
@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(255, 69, 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(0, 255, 255, 0.3);
  }
}

@keyframes neon-pulse {
  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 neon-text-glow {
  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;
  min-height: auto;
}

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

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

.logo {
  font-family: 'Orbitron', sans-serif; /* Example cyberpunk font */
  font-size: 2.2em;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  animation: neon-text-glow 3s ease-in-out infinite alternate;
  display: block; /* Ensure logo is visible */
}

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

.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;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn:hover {
  animation-duration: 2s; /* faster glow on hover */
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
}

.main-nav {
  background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3));
  border-top: 2px solid;
  border-bottom: 2px solid;
  padding: 10px 0;
  animation: theme-colors 4s ease-in-out infinite;
  display: flex; /* Desktop default: visible, horizontal */
  flex-direction: row;
  position: static; /* Desktop default: normal flow */
}

.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: #e0e0e0;
  text-decoration: none;
  padding: 8px 15px;
  margin: 0 5px;
  font-weight: 600;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 3px;
}

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

/* Hamburger Menu */
.hamburger-menu {
  display: none; /* Hidden on desktop */
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  animation: neon-pulse 2s ease-in-out infinite alternate;
  color: var(--neon-primary); /* Set color for glow */
  margin-right: 15px;
}

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

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

.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 Area */
.mobile-buttons-area {
  display: none; /* Hidden on desktop */
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none; /* Hidden on desktop */
  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-menu-overlay.active {
  display: block;
}

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

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

.footer-col h4 {
  color: var(--neon-primary);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1em;
  text-transform: uppercase;
}

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

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

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

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

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

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

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

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

.footer-middle-sections {
  max-width: 1200px;
  margin: 0 auto 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

@media (max-width: 768px) {
  /* Header */
  .site-header {
    padding-bottom: 0; /* Reset for mobile */
  }

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

  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
    justify-content: flex-start;
    position: relative;
  }

  .hamburger-menu {
    display: block;
    order: 1;
    margin-right: 15px;
  }

  .logo {
    order: 2;
    flex-grow: 1; /* Allow logo to take available space */
    text-align: center;
    font-size: 1.8em;
    margin-right: 45px; /* Offset for hamburger on left, balancing center */
  }

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

  .mobile-buttons-area {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 75%; /* Adjust width for mobile menu */
    height: 100%;
    background: linear-gradient(180deg, var(--dark-bg-3), var(--dark-bg-4));
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%); /* Slide out of view */
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 80px; /* Space for fixed header content */
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex; /* Show menu when active */
    transform: translateX(0); /* Slide into view */
  }

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

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

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

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-col h4 {
    font-size: 1.2em;
  }

  .footer-logo {
    font-size: 2em;
  }

  .footer-description {
    font-size: 1em;
  }

  .footer-nav li {
    display: inline-block;
    margin: 0 10px 5px 0;
  }

  .footer-nav a {
    font-size: 0.95em;
  }

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

  .footer-middle-sections {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .logo {
    font-size: 1.6em;
  }

  .footer-nav li {
    margin: 0 5px 5px 0;
  }
}