:root {
  --site-bg-dark: #1a2a3a;
  --site-bg-darker: #0a0a0a;
  --neon-primary: #ffcc00; /* Yellow */
  --neon-secondary: #ff6600; /* Orange */
  --neon-accent: #00ffff; /* Cyan */
  --neon-text-color: #ffffff;
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  background-color: var(--site-bg-darker);
  line-height: 1.6;
  padding-top: 110px; /* Adjust for fixed header height (header-top + main-nav) */
}

body.no-scroll {
  overflow: hidden;
}

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

/* Neon Glow Animations (defined in prompt) */
@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);
    box-shadow:
      0 0 10px var(--neon-primary, #ff00ff),
      0 0 20px var(--neon-primary, #ff00ff);
  }
  100% {
    filter: hue-rotate(360deg);
    box-shadow:
      0 0 10px var(--neon-primary, #ff00ff),
      0 0 20px var(--neon-primary, #ff00ff);
  }
}

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

@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-primary, #667eea);
    box-shadow:
      0 0 10px var(--neon-primary, #667eea),
      0 0 20px var(--neon-primary, #667eea),
      inset 0 0 10px rgba(102, 126, 234, 0.3);
  }
  33% {
    border-color: var(--neon-secondary, #764ba2);
    box-shadow:
      0 0 10px var(--neon-secondary, #764ba2),
      0 0 20px var(--neon-secondary, #764ba2),
      inset 0 0 10px rgba(118, 75, 162, 0.3);
  }
  66% {
    border-color: var(--neon-accent, #f093fb);
    box-shadow:
      0 0 10px var(--neon-accent, #f093fb),
      0 0 20px var(--neon-accent, #f093fb),
      inset 0 0 10px rgba(240, 147, 251, 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, #ff00ff),
      0 0 10px var(--neon-primary, #ff00ff),
      0 0 15px var(--neon-primary, #ff00ff);
    color: var(--neon-text-color);
  }
  50% {
    text-shadow:
      0 0 5px var(--neon-secondary, #00ffff),
      0 0 10px var(--neon-secondary, #00ffff),
      0 0 15px var(--neon-secondary, #00ffff);
    color: var(--neon-text-color);
  }
  100% {
    text-shadow:
      0 0 5px var(--neon-accent, #ffff00),
      0 0 10px var(--neon-accent, #ffff00),
      0 0 15px var(--neon-accent, #ffff00);
    color: var(--neon-text-color);
  }
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, var(--site-bg-darker), var(--site-bg-dark));
}

.header-top {
  background: linear-gradient(135deg, var(--site-bg-darker), var(--site-bg-dark));
  border-bottom: 2px solid;
  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.5em;
  font-weight: bold;
  color: var(--neon-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 0;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
}

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

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

.btn.rainbow-flow {
  animation: rainbow-border 3s linear infinite;
}

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

.btn:hover {
  animation-duration: 2s; /* hover时加快颜色变化速度 */
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 15px currentColor,
    0 0 30px currentColor,
    0 0 45px currentColor;
}

.main-nav {
  background: linear-gradient(135deg, var(--site-bg-dark), #0f3460);
  border-top: 2px solid;
  border-bottom: 2px solid;
  animation: theme-colors 5s linear infinite reverse; /* Different animation for contrast */
  padding: 10px 0;
  display: flex;
  flex-direction: row;
}

.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: #ffffff;
  padding: 10px 15px;
  font-size: 1.1em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}

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

.hamburger-menu {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 3px;
}

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

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

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

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  backdrop-filter: blur(5px);
}

/* Footer Styles */
.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 40px 0 20px;
  font-size: 0.9em;
}

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

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

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

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

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

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

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

.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-icons img,
.game-providers-icons img,
.social-media-icons img {
  max-height: 50px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(80%) brightness(120%);
  transition: filter 0.3s ease;
}

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

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

.game-providers-section h4,
.social-media-section h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-nav a {
  color: #ccc;
  padding: 5px 10px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    padding-top: 160px; /* Adjust for mobile fixed header height (header-top + mobile-nav-buttons) */
  }

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

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

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

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

  .hamburger-menu {
    display: block;
    order: -1; /* Place hamburger menu to the left */
    animation: theme-colors 3s ease-in-out infinite alternate;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(180deg, var(--site-bg-darker), var(--site-bg-dark));
    padding-top: 150px; /* Space for logo and mobile buttons */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%); /* Off-screen by default */
    z-index: 999;
    border-right: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
  }

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

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--site-bg-darker), var(--site-bg-dark));
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite reverse;
    position: fixed;
    top: 70px; /* Below header-top */
    left: 0;
    z-index: 1000;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 20px;
  }

  .footer-col h4 {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-nav {
    flex-direction: column;
  }

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