:root {
  --primary-color: #1A2E47;
  --secondary-color: #FFD700;
  --dark-bg-1: #0a0a0a;
  --dark-bg-2: #1a1a2e;
  --dark-bg-3: #16213e;
  --neon-primary: #00ffff; /* Cyan */
  --neon-secondary: #ff00ff; /* Magenta */
  --neon-accent: #ffff00; /* Yellow */
  --neon-header-glow: var(--neon-accent);
  --neon-nav-glow: var(--neon-secondary);
  --neon-btn-glow-start: var(--neon-primary);
  --neon-btn-glow-end: var(--neon-secondary);
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #c0c0c0;
  background-color: var(--dark-bg-1);
}

/* Container for desktop */
.header-container, .nav-container, .footer-main-content, .game-providers-section, .social-media-section, .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header - Fixed & Neon Style */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  min-height: 60px;
}

.header-top {
  background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
  border-bottom: 2px solid var(--neon-header-glow);
  box-shadow:
    0 0 10px var(--neon-header-glow),
    0 0 20px var(--neon-header-glow),
    0 0 30px var(--neon-header-glow),
    inset 0 0 20px rgba(255, 255, 0, 0.1);
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cyberpunk', sans-serif; /* Placeholder font */
  font-size: 2.2em;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  padding: 5px 0;
  /* Apply dynamic neon text glow */
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 5px var(--neon-primary)) drop-shadow(0 0 10px var(--neon-primary));
}

/* Dynamic neon text glow animation */
@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;
  }
}

/* Neon pulse for logo */
.neon-pulse {
  animation: pulse-glow 2s ease-in-out infinite alternate, text-glow-flow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    filter: drop-shadow(0 0 5px var(--neon-primary)) drop-shadow(0 0 10px var(--neon-primary));
  }
  to {
    filter: drop-shadow(0 0 15px var(--neon-primary)) drop-shadow(0 0 30px var(--neon-primary)) drop-shadow(0 0 45px var(--neon-primary));
  }
}

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

/* Buttons */
.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-btn-glow-start), var(--neon-btn-glow-end));
  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-btn-glow-start);
  transition: all 0.3s ease;
  font-weight: bold;
  white-space: nowrap;
}

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
}

@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-btn-glow-start);
    box-shadow:
      0 0 10px var(--neon-btn-glow-start),
      0 0 20px var(--neon-btn-glow-start),
      inset 0 0 10px rgba(0, 255, 255, 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, 0, 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, 255, 0, 0.3);
  }
}

/* Main Navigation */
.main-nav {
  background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3));
  border-top: 2px solid var(--neon-nav-glow);
  border-bottom: 2px solid var(--neon-nav-glow);
  box-shadow:
    0 0 10px var(--neon-nav-glow),
    0 0 20px var(--neon-nav-glow),
    0 0 30px var(--neon-nav-glow),
    inset 0 0 20px rgba(255, 0, 255, 0.1);
  padding: 10px 0;
  display: flex; /* Desktop default: flex */
  flex-direction: row; /* Desktop default: row */
  justify-content: center;
  position: static; /* Desktop default: static */
  width: 100%;
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: #c0c0c0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

.hamburger-menu, .mobile-nav-buttons, .mobile-menu-overlay {
  display: none;
}

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

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
}

.footer-logo {
  font-family: 'Cyberpunk', sans-serif; /* Placeholder font */
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

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

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

.footer-nav-list li a {
  color: #c0c0c0;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
  color: var(--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-methods h4, .game-providers-section h4, .social-media-section h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
}

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

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
  color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Adjust body padding-top to prevent fixed header/buttons from obscuring content */
  body {
    padding-top: 150px; /* Approximate height of header-top + mobile-nav-buttons */
  }

  .header-container, .nav-container, .mobile-nav-buttons .btn-container, .footer-main-content, .game-providers-section, .social-media-section, .footer-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: none; /* Crucial for mobile to take full width */
    width: 100%;
  }

  .header-top {
    padding: 10px 0;
    min-height: 60px; /* Ensure a minimum height for the top bar */
  }

  .header-container {
    justify-content: space-between;
    position: relative; /* For absolute positioning of logo */
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8em;
  }

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

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    padding: 5px;
    border: 2px solid var(--neon-header-glow);
    border-radius: 3px;
    box-shadow:
      0 0 5px var(--neon-header-glow),
      0 0 10px var(--neon-header-glow);
    transition: all 0.3s ease;
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--neon-header-glow);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-menu.active {
    border-color: var(--neon-secondary);
    box-shadow:
      0 0 5px var(--neon-secondary),
      0 0 10px var(--neon-secondary);
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: var(--neon-secondary);
  }

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

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: var(--neon-secondary);
  }

  .main-nav {
    display: none; /* Mobile default: hidden */
    flex-direction: column; /* Mobile: vertical */
    position: fixed; /* Mobile: fixed */
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(180deg, var(--dark-bg-2), var(--dark-bg-3));
    border-right: 2px solid var(--neon-nav-glow);
    box-shadow:
      0 0 15px rgba(0, 0, 0, 0.5),
      0 0 30px var(--neon-nav-glow);
    transform: translateX(-100%); /* Initially off-screen */
    transition: transform 0.3s ease-in-out;
    padding-top: 100px; /* Space for logo/buttons if needed, though overlay covers */
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex; /* Mobile active: show */
    transform: translateX(0); /* Slide in */
  }

  .main-nav .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    gap: 15px;
  }

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

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2));
    border-bottom: 2px solid var(--neon-header-glow);
    box-shadow:
      0 0 5px var(--neon-header-glow),
      0 0 10px var(--neon-header-glow);
    position: fixed;
    top: 70px; /* Position below header-top */
    width: 100%;
    z-index: 990; /* Below main-nav and hamburger */
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

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

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

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

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

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