:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --accent-color: #00FFFF;
  --neon-primary: var(--primary-color);
  --neon-secondary: #FF6600;
  --neon-accent: var(--accent-color);
  --marquee-height: 50px;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: calc(var(--marquee-height) + 110px); /* Adjust for fixed marquee + header height */
}

/* Common Container Styles */
.header-container, .nav-container, .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes text-glow-flow {
  0% {
    text-shadow:
      0 0 5px var(--neon-primary, #FFD700),
      0 0 10px var(--neon-primary, #FFD700),
      0 0 15px var(--neon-primary, #FFD700);
    color: #ffffff;
  }
  50% {
    text-shadow:
      0 0 5px var(--neon-secondary, #FF6600),
      0 0 10px var(--neon-secondary, #FF6600),
      0 0 15px var(--neon-secondary, #FF6600);
    color: #ffffff;
  }
  100% {
    text-shadow:
      0 0 5px var(--neon-accent, #00FFFF),
      0 0 10px var(--neon-accent, #00FFFF),
      0 0 15px var(--neon-accent, #00FFFF);
    color: #ffffff;
  }
}

/* Marquee Section */
.marquee-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  box-shadow:
    0 0 10px var(--neon-primary, #FFD700),
    0 0 20px var(--neon-primary, #FFD700),
    0 0 30px var(--neon-primary, #FFD700),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  z-index: 1001;
  height: var(--marquee-height);
  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: 0 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, #FFD700),
    0 0 10px var(--neon-primary, #FFD700),
    0 0 15px var(--neon-primary, #FFD700);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

.marquee-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  text-shadow:
    0 0 5px var(--neon-primary, #FFD700),
    0 0 10px var(--neon-primary, #FFD700),
    0 0 15px var(--neon-primary, #FFD700);
  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-primary, #FFD700),
    0 0 20px var(--neon-primary, #FFD700),
    0 0 30px var(--neon-primary, #FFD700),
    0 0 40px var(--neon-primary, #FFD700);
  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-primary, #FFD700),
    0 0 6px var(--neon-primary, #FFD700);
}

/* Header Section */
.site-header {
  position: fixed;
  top: var(--marquee-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  color: #ffffff;
  animation: theme-colors 4s ease-in-out infinite;
  border-bottom: 2px solid;
  box-shadow:
    0 0 10px var(--neon-primary, #FFD700),
    0 0 20px var(--neon-primary, #FFD700),
    0 0 30px var(--neon-primary, #FFD700),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.header-top {
  width: 100%;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
  text-shadow:
    0 0 5px var(--neon-primary, #FFD700),
    0 0 10px var(--neon-primary, #FFD700),
    0 0 15px var(--neon-primary, #FFD700);
}

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

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

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

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  box-shadow:
    0 0 15px var(--neon-primary, #FFD700),
    0 0 30px var(--neon-primary, #FFD700),
    0 0 45px var(--neon-primary, #FFD700),
    inset 0 0 15px rgba(255, 215, 0, 0.4);
}

.main-nav {
  width: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-top: 2px solid;
  border-bottom: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
  box-shadow:
    0 0 8px var(--neon-secondary, #FF6600),
    0 0 15px var(--neon-secondary, #FF6600),
    inset 0 0 10px rgba(255, 102, 0, 0.1);
  padding: 5px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

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

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

.nav-link:hover {
  color: var(--neon-primary, #FFD700);
  background-color: rgba(255, 215, 0, 0.1);
}

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

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--neon-primary, #FFD700);
  margin: 5px 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px var(--neon-primary, #FFD700);
}

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

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

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

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

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

/* Footer Section */
.site-footer {
  background-color: #1a1a1a;
  color: #cccccc;
  padding: 40px 0 20px;
  font-size: 14px;
}

.footer-top-section {
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.footer-container {
  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 {
  font-size: 13px;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 10px;
}

.footer-heading {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.footer-nav li a:hover {
  color: var(--primary-color, #FFD700);
}

.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(100%) brightness(150%); /* For a sleek, unified look */
  transition: filter 0.3s ease;
}

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

.footer-middle-section {
  padding: 30px 20px;
  border-bottom: 1px solid #333;
}

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

.game-providers-section:last-child, .social-media-section:last-child {
  margin-bottom: 0;
}

.footer-bottom-section {
  padding-top: 20px;
}

.copyright-info {
  text-align: center;
  margin-bottom: 10px;
}

.footer-nav-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

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

.footer-nav-legal li a:hover {
  color: var(--primary-color, #FFD700);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-container, .nav-container, .footer-container {
    padding: 0 15px;
  }
  .nav-link {
    font-size: 15px;
    padding: 6px 10px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: calc(var(--marquee-height) + 140px); /* Adjust for mobile header height */
  }
  .marquee-section {
    height: 40px; /* Smaller marquee height on mobile */
  }
  .marquee-container {
    padding: 0 10px;
    gap: 10px;
  }
  .marquee-icon {
    width: 30px;
    height: 30px;
  }
  .marquee-icon-emoji {
    font-size: 18px;
  }
  .marquee-text, .marquee-separator {
    font-size: 13px;
  }
  .site-header {
    top: 40px; /* Adjust header top position for mobile marquee height */
  }
  .header-container {
    flex-wrap: nowrap;
    padding: 0 15px;
  }
  .hamburger-menu {
    display: block;
    order: 1;
    margin-right: auto;
  }
  .logo {
    order: 2;
    flex-grow: 1;
    text-align: center;
    font-size: 24px;
    margin-right: 0;
  }
  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons on mobile */
  }
  .mobile-nav-buttons {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    box-shadow:
      0 0 5px var(--neon-primary, #FFD700),
      0 0 10px var(--neon-primary, #FFD700),
      inset 0 0 10px rgba(255, 215, 0, 0.1);
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    min-width: 0;
    max-width: calc(50% - 5px);
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .main-nav {
    display: none; /* Hidden by default on mobile */
    position: fixed;
    top: calc(var(--marquee-height) + 100px); /* Position below marquee and mobile buttons */
    left: 0;
    width: 100%;
    height: calc(100% - var(--marquee-height) - 100px); /* Full height below header */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: linear-gradient(180deg, #1a1a2e, #0a0a0a);
    padding: 20px 0;
    transform: translateX(-100%); /* Off-screen by default */
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    border: none; /* Remove border for full height menu */
    box-shadow: none;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0); /* Slide in */
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    max-width: none;
    padding: 0 15px;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-logo {
    text-align: center;
  }
  .footer-description {
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-nav {
    text-align: center;
  }
  .footer-nav li a {
    display: inline-block;
  }
  .payment-methods, .game-providers-section, .social-media-section {
    text-align: center;
  }
  .payment-icons, .game-providers-icons, .social-media-icons {
    justify-content: center;
  }
  .footer-nav-legal {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav-legal li {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 22px;
  }
  .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .marquee-section {
    height: 35px;
  }
  .site-header {
    top: 35px;
  }
  body {
    padding-top: calc(var(--marquee-height) + 120px);
  }
  .mobile-nav-buttons {
    padding: 8px 10px;
  }
  .mobile-nav-buttons .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .main-nav {
    top: calc(var(--marquee-height) + 90px);
    height: calc(100% - var(--marquee-height) - 90px);
  }
}
