:root {
  --site-bg-dark: #0a0a0a;
  --site-bg-medium: #1a1a2e;
  --site-bg-light: #16213e;
  --neon-primary-base: #E94560;
  --neon-secondary-base: #00ffff;
  --neon-accent-base: #ffff00;
  --neon-primary: var(--neon-primary-base);
  --neon-secondary: var(--neon-secondary-base);
  --neon-accent: var(--neon-accent-base);
  --marquee-height-desktop: 45px;
  --marquee-height-mobile: 35px;
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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

/* Neon Glow Animations */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.8;
  }
}

@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-base),
      0 0 10px var(--neon-primary-base),
      0 0 15px var(--neon-primary-base);
  }
  33% {
    text-shadow:
      0 0 5px var(--neon-secondary-base),
      0 0 10px var(--neon-secondary-base),
      0 0 15px var(--neon-secondary-base);
  }
  66% {
    text-shadow:
      0 0 5px var(--neon-accent-base),
      0 0 10px var(--neon-accent-base),
      0 0 15px var(--neon-accent-base);
  }
  100% {
    text-shadow:
      0 0 5px var(--neon-primary-base),
      0 0 10px var(--neon-primary-base),
      0 0 15px var(--neon-primary-base);
  }
}

@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-primary-base);
    box-shadow:
      0 0 10px var(--neon-primary-base),
      0 0 20px var(--neon-primary-base);
  }
  33% {
    border-color: var(--neon-secondary-base);
    box-shadow:
      0 0 10px var(--neon-secondary-base),
      0 0 20px var(--neon-secondary-base);
  }
  66% {
    border-color: var(--neon-accent-base);
    box-shadow:
      0 0 10px var(--neon-accent-base),
      0 0 20px var(--neon-accent-base);
  }
}

/* Marquee Section */
.marquee-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--site-bg-dark), var(--site-bg-medium), var(--site-bg-light));
  color: #ffffff;
  overflow: hidden;
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  box-shadow:
    0 0 10px var(--neon-accent-base),
    0 0 20px var(--neon-accent-base),
    0 0 30px var(--neon-accent-base),
    inset 0 0 20px rgba(255, 255, 0, 0.1);
  z-index: 1001;
  height: var(--marquee-height-desktop);
  display: flex;
  align-items: center;
}

.marquee-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0px 20px;
}

.marquee-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 2;
  position: relative;
}

.marquee-icon-emoji {
  font-size: 24px;
  display: inline-block;
  animation: marquee-pulse 2s ease-in-out infinite, text-glow-flow 3s ease-in-out infinite alternate;
  text-shadow:
    0 0 5px var(--neon-primary-base),
    0 0 10px var(--neon-primary-base),
    0 0 15px var(--neon-primary-base);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes marquee-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  gap: 30px;
  padding-left: 100%; /* Start off-screen */
}

.marquee-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  text-shadow:
    0 0 5px var(--neon-secondary-base),
    0 0 10px var(--neon-secondary-base),
    0 0 15px var(--neon-secondary-base);
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  cursor: pointer;
  transition: all 0.3s ease;
}

.marquee-text:hover {
  text-shadow:
    0 0 10px var(--neon-secondary-base),
    0 0 20px var(--neon-secondary-base),
    0 0 30px var(--neon-secondary-base),
    0 0 40px var(--neon-secondary-base);
  transform: scale(1.05);
  color: #ffffff;
}

.marquee-separator {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 15px;
  text-shadow:
    0 0 3px var(--neon-accent-base),
    0 0 6px var(--neon-accent-base);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Scroll entire content width */
  }
}

/* Header Section */
.site-header {
  position: fixed;
  top: var(--marquee-height-desktop);
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-top {
  background: linear-gradient(135deg, var(--site-bg-dark), var(--site-bg-medium), var(--site-bg-light));
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  box-shadow:
    0 0 10px var(--neon-accent-base),
    0 0 20px var(--neon-accent-base),
    0 0 30px var(--neon-accent-base),
    inset 0 0 20px rgba(255, 255, 0, 0.1);
  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: 28px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  text-shadow:
    0 0 5px var(--neon-primary-base),
    0 0 10px var(--neon-primary-base),
    0 0 15px var(--neon-primary-base);
  animation: text-glow-flow 3s ease-in-out infinite alternate, neon-flicker 2s infinite alternate;
  flex-shrink: 0;
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  flex-shrink: 0;
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow:
    0 0 3px var(--neon-secondary-base),
    0 0 6px var(--neon-secondary-base);
}

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

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

.btn {
  position: relative;
  background: linear-gradient(135deg, var(--neon-primary-base), var(--neon-secondary-base));
  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-base);
  transition: all 0.3s ease;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  box-shadow:
    0 0 15px var(--neon-primary-base),
    0 0 30px var(--neon-primary-base),
    0 0 45px var(--neon-primary-base),
    inset 0 0 15px rgba(233, 69, 96, 0.4);
}

.main-nav {
  background: linear-gradient(135deg, var(--site-bg-medium), var(--site-bg-light), var(--site-bg-dark));
  border-top: 2px solid;
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite reverse;
  box-shadow:
    0 0 10px var(--neon-primary-base),
    0 0 20px var(--neon-primary-base),
    0 0 30px var(--neon-primary-base),
    inset 0 0 20px rgba(233, 69, 96, 0.1);
  width: 100%;
  display: flex;
  position: static;
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 3px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--neon-secondary-base);
  background-color: rgba(255, 255, 255, 0.1);
}

.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;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Footer Section */
.site-footer {
  background-color: #111111;
  color: #cccccc;
  padding-top: 40px;
  font-size: 14px;
}

.footer-main {
  border-bottom: 1px solid #333333;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

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

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

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
}

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

.site-footer h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

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

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

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer ul li a:hover {
  color: var(--neon-primary-base);
}

.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 img, .game-providers-icons img, .social-media-icons img {
  max-height: 50px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%); /* Make icons fit dark theme and glow subtly */
  transition: filter 0.3s ease;
}

.payment-methods img:hover, .game-providers-icons img:hover, .social-media-icons img:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 5px var(--neon-secondary-base));
}

.game-providers-section, .social-media-section {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.footer-bottom {
  background-color: #0d0d0d;
  padding: 20px 0;
}

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

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

.footer-nav-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-legal li a {
  color: #777777;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --marquee-height-desktop: 35px;
    --marquee-height-mobile: 30px;
  }

  .marquee-section {
    height: var(--marquee-height-mobile);
  }

  .marquee-container {
    padding: 0 10px;
    gap: 10px;
  }

  .marquee-icon {
    width: 25px;
    height: 25px;
  }

  .marquee-icon-emoji {
    font-size: 16px;
  }

  .marquee-text {
    font-size: 13px;
    margin: 0 5px;
  }

  .marquee-separator {
    font-size: 13px;
    margin: 0 8px;
  }

  .marquee-content {
    animation-duration: 20s; /* Faster scroll for mobile */
    gap: 20px;
  }

  .site-header {
    top: var(--marquee-height-mobile);
  }

  .header-container {
    padding: 0 15px;
    justify-content: center;
  }

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

  .logo {
    font-size: 24px;
    flex-grow: 1; /* Allow logo to take available space */
    text-align: center; /* Center logo */
    order: 2; /* Position logo after hamburger */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger menu on mobile */
    order: 1; /* Position hamburger first */
    position: absolute;
    left: 15px;
  }

  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons */
  }

  .mobile-nav-buttons {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    background: var(--site-bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 990; /* Below main nav and overlay */
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    min-width: 0;
    max-width: calc(50% - 5px);
    padding: 8px 12px;
    font-size: 13px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: calc(var(--marquee-height-mobile) + 35px + 8px + 10px + 10px); /* Marquee + HeaderTop + MobileButtons + Padding */
    left: 0;
    width: 250px;
    height: calc(100% - var(--marquee-height-mobile) - 35px - 8px - 10px - 10px); /* Adjust height */
    background: var(--site-bg-dark);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
    overflow-y: auto;
    border-right: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    box-shadow:
      5px 0 15px rgba(0,0,0,0.5),
      0 0 10px var(--neon-primary-base),
      0 0 20px var(--neon-primary-base);
  }

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

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

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 10px;
    font-size: 15px;
  }

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

  .footer-bottom .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-nav-legal {
    justify-content: center;
  }

  body {
    padding-top: calc(var(--marquee-height-mobile) + 35px + 8px + 10px + 10px); /* Marquee + HeaderTop + MobileButtons + Padding */
  }

  .game-providers-section, .social-media-section {
    padding: 0 15px;
  }
}
