:root {
  --primary-color: #1A202C;
  --secondary-color: #E53E3E;
  --text-color: #ffffff;
  --accent-color-1: #00ffff; /* Cyan */
  --accent-color-2: #ff00ff; /* Magenta */
  --accent-color-3: #ffff00; /* Yellow */
  --neon-primary-flow: var(--accent-color-1);
  --neon-secondary-flow: var(--accent-color-2);
  --neon-accent-flow: var(--accent-color-3);
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: #0a0a0a;
  color: var(--text-color);
  line-height: 1.6;
}

/* Header - Fixed, Neon/Cyberpunk Style */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.3);
  border-bottom: 2px solid var(--neon-primary-flow);
  animation: theme-colors 4s ease-in-out infinite;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  color: var(--text-color);
  text-decoration: none;
  font-size: 2.2em;
  font-weight: bold;
  font-family: 'Electrolize', sans-serif; /* Example cyberpunk font */
  text-shadow: 
    0 0 5px var(--neon-primary-flow),
    0 0 10px var(--neon-primary-flow),
    0 0 15px var(--neon-primary-flow),
    0 0 20px var(--neon-primary-flow);
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow: 
    0 0 8px var(--neon-secondary-flow),
    0 0 15px var(--neon-secondary-flow),
    0 0 25px var(--neon-secondary-flow),
    0 0 30px var(--neon-secondary-flow);
}

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

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

.btn:hover {
  animation-duration: 2s; /* Faster animation on hover */
  transform: translateY(-2px);
  box-shadow: 
    0 0 15px var(--neon-secondary-flow),
    0 0 30px var(--neon-secondary-flow),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Multiple glow styles for buttons */
.neon-tube {
  border: 2px solid;
  animation: neon-flicker 2s infinite alternate, theme-colors 4s linear infinite;
}

.neon-pulse {
  border: 2px solid;
  animation: pulse-glow 2s ease-in-out infinite alternate, random-glow 5s linear infinite;
}

.rainbow-flow {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff0080);
  background-size: 400% 400%;
  animation: gradient-flow 3s ease infinite;
  box-shadow: 
    0 0 10px rgba(255, 0, 0, 0.7),
    0 0 20px rgba(0, 255, 255, 0.7);
}

.main-nav {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-top: 2px solid var(--neon-secondary-flow);
  border-bottom: 2px solid var(--neon-secondary-flow);
  box-shadow: 
    0 0 10px var(--neon-secondary-flow),
    0 0 20px var(--neon-secondary-flow),
    0 0 30px var(--neon-secondary-flow),
    inset 0 0 20px rgba(255, 0, 255, 0.1);
  width: 100%;
  display: flex; /* Desktop default */
  justify-content: center;
  align-items: center;
  animation: theme-colors-nav 5s ease-in-out infinite alternate;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row; /* Desktop default */
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1002;
}

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

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

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

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

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

.mobile-menu-overlay {
  display: none; /* Hidden by default */
  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 */
.site-footer {
  background-color: #1a1a2e;
  color: #cccccc;
  padding: 40px 0 20px;
  font-size: 0.9em;
}

.footer-main-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr); /* First column wider */
  gap: 30px;
  padding: 0 20px;
}

.footer-col h4 {
  color: var(--text-color);
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

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

.footer-links {
  list-style: none;
}

.footer-links li a {
  color: #cccccc;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--secondary-color);
}

.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;
  filter: grayscale(100%) brightness(150%); /* Make icons fit dark theme */
  transition: filter 0.3s ease;
}

.payment-methods .payment-icons img:hover,
.game-providers-section .game-providers-icons img:hover,
.social-media-section .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;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: #2a2a4a;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1), 0 0 5px rgba(0, 255, 255, 0.2);
}

.game-providers-section h4,
.social-media-section h4 {
  color: var(--text-color);
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
}

.game-providers-section h4::after,
.social-media-section h4::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 60px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
}

/* Animations */
@keyframes theme-colors {
  0%, 100% {
    border-color: var(--accent-color-1);
    box-shadow: 
      0 0 10px var(--accent-color-1),
      0 0 20px var(--accent-color-1),
      inset 0 0 10px rgba(0, 255, 255, 0.3);
  }
  33% {
    border-color: var(--accent-color-2);
    box-shadow: 
      0 0 10px var(--accent-color-2),
      0 0 20px var(--accent-color-2),
      inset 0 0 10px rgba(255, 0, 255, 0.3);
  }
  66% {
    border-color: var(--accent-color-3);
    box-shadow: 
      0 0 10px var(--accent-color-3),
      0 0 20px var(--accent-color-3),
      inset 0 0 10px rgba(255, 255, 0, 0.3);
  }
}

@keyframes theme-colors-nav {
  0%, 100% {
    border-color: var(--accent-color-2);
    box-shadow: 
      0 0 10px var(--accent-color-2),
      0 0 20px var(--accent-color-2),
      inset 0 0 10px rgba(255, 0, 255, 0.3);
  }
  33% {
    border-color: var(--accent-color-3);
    box-shadow: 
      0 0 10px var(--accent-color-3),
      0 0 20px var(--accent-color-3),
      inset 0 0 10px rgba(255, 255, 0, 0.3);
  }
  66% {
    border-color: var(--accent-color-1);
    box-shadow: 
      0 0 10px var(--accent-color-1),
      0 0 20px var(--accent-color-1),
      inset 0 0 10px rgba(0, 255, 255, 0.3);
  }
}

@keyframes text-glow-flow {
  0% {
    text-shadow: 
      0 0 5px var(--accent-color-1),
      0 0 10px var(--accent-color-1),
      0 0 15px var(--accent-color-1);
    color: #ffffff;
  }
  33% {
    text-shadow: 
      0 0 5px var(--accent-color-2),
      0 0 10px var(--accent-color-2),
      0 0 15px var(--accent-color-2);
    color: #ffffff;
  }
  66% {
    text-shadow: 
      0 0 5px var(--accent-color-3),
      0 0 10px var(--accent-color-3),
      0 0 15px var(--accent-color-3);
    color: #ffffff;
  }
  100% {
    text-shadow: 
      0 0 5px var(--accent-color-1),
      0 0 10px var(--accent-color-1),
      0 0 15px var(--accent-color-1);
    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; }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff8000; }
  50% { background-position: 100% 50%; box-shadow: 0 0 10px #00ffff, 0 0 20px #0000ff; }
  100% { background-position: 0% 50%; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff8000; }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header {
    display: flex;
    flex-direction: column;
  }

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

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

  .logo {
    font-size: 1.8em;
    flex-grow: 1;
    text-align: center;
    order: 2;
  }

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

  .hamburger-menu {
    display: block;
    order: 1;
    box-shadow: 0 0 5px var(--neon-primary-flow), 0 0 10px var(--neon-primary-flow);
    border-radius: 3px;
    background: rgba(0, 255, 255, 0.1);
  }

  .mobile-buttons-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    width: 100%;
    background: linear-gradient(135deg, #16213e, #0a0a0a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid var(--neon-accent-flow);
    box-shadow: 
      0 0 8px var(--neon-accent-flow),
      0 0 15px var(--neon-accent-flow),
      inset 0 0 10px rgba(255, 255, 0, 0.2);
    animation: theme-colors 4s ease-in-out infinite alternate;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column; /* Vertical for mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    background-color: #1a1a2e;
    padding-top: 80px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%); /* Off-screen by default */
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    border-right: 2px solid var(--neon-primary-flow);
    box-shadow: 
      0 0 10px var(--neon-primary-flow),
      0 0 20px var(--neon-primary-flow),
      inset 0 0 15px rgba(0, 255, 255, 0.1);
    animation: theme-colors 4s ease-in-out infinite alternate;
  }

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

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

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

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

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

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

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

/* Ensure main content is not obscured by fixed header */
body {
  padding-top: 130px; /* Adjust based on header-top + mobile-buttons-area height */
}

@media (min-width: 769px) {
  body {
    padding-top: 100px; /* Adjust based on header-top + main-nav height */
  }
}
