:root {
  --primary-color: #0A246A;
  --secondary-color: #FFD700;

  --neon-cyan: #00FFFF;
  --neon-gold: #FFD700;
  --neon-magenta: #FF00FF;
  --neon-red: #FF0000;
  --neon-green: #00FF00;
  --neon-blue-violet: #8A2BE2;

  --neon-dynamic-1: var(--neon-cyan);
  --neon-dynamic-2: var(--neon-gold);
  --neon-dynamic-3: var(--neon-magenta);
}

.neon-glow {
  box-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor,
    inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.neon-tube {
  border: 2px solid;
  animation: neon-flicker 2s infinite alternate, theme-colors 4s linear infinite;
}

.cyber-grid {
  background: 
    linear-gradient(90deg, transparent 95%, currentColor 100%),
    linear-gradient(180deg, transparent 95%, currentColor 100%);
  background-size: 20px 20px;
  border: 1px solid;
  animation: hue-spin 4s linear infinite;
}

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

.rainbow-flow {
  border: 2px solid;
  animation: rainbow-border 3s linear infinite;
}

.hue-rotate {
  border: 2px solid;
  filter: hue-rotate(0deg);
  animation: hue-spin 4s linear infinite;
}

.alternate-glow {
  border: 2px solid;
  animation: alternate-colors 2s ease-in-out infinite alternate;
}

.color-stream {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(45deg, 
    var(--neon-red), var(--neon-gold), var(--neon-green), var(--neon-cyan), 
    var(--neon-blue-violet), var(--neon-magenta), var(--neon-red), var(--neon-gold)
  );
  background-size: 400% 400%;
  animation: gradient-flow 3s ease infinite;
}

.random-colors {
  border: 2px solid;
  animation: random-glow 5s linear infinite;
}

.theme-flow {
  border: 2px solid;
  animation: theme-colors 4s ease-in-out infinite;
}

.led-matrix {
  border: 2px solid;
  box-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor;
  position: relative;
  animation: random-glow 5s linear infinite;
}

.led-matrix::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: 
    radial-gradient(circle at 0% 0%, currentColor 2px, transparent 3px),
    radial-gradient(circle at 100% 0%, currentColor 2px, transparent 3px),
    radial-gradient(circle at 0% 100%, currentColor 2px, transparent 3px),
    radial-gradient(circle at 100% 100%, currentColor 2px, transparent 3px);
  background-size: 20px 20px;
  animation: led-blink 1s steps(2) infinite;
}

@keyframes rainbow-border {
  0% {
    border-color: var(--neon-red);
    box-shadow: 
      0 0 10px var(--neon-red),
      0 0 20px var(--neon-red);
  }
  16.6% {
    border-color: var(--neon-gold);
    box-shadow: 
      0 0 10px var(--neon-gold),
      0 0 20px var(--neon-gold);
  }
  33.3% {
    border-color: var(--neon-green);
    box-shadow: 
      0 0 10px var(--neon-green),
      0 0 20px var(--neon-green);
  }
  50% {
    border-color: var(--neon-cyan);
    box-shadow: 
      0 0 10px var(--neon-cyan),
      0 0 20px var(--neon-cyan);
  }
  66.6% {
    border-color: var(--neon-blue-violet);
    box-shadow: 
      0 0 10px var(--neon-blue-violet),
      0 0 20px var(--neon-blue-violet);
  }
  83.3% {
    border-color: var(--neon-magenta);
    box-shadow: 
      0 0 10px var(--neon-magenta),
      0 0 20px var(--neon-magenta);
  }
  100% {
    border-color: var(--neon-red);
    box-shadow: 
      0 0 10px var(--neon-red),
      0 0 20px var(--neon-red);
  }
}

@keyframes hue-spin {
  0% {
    filter: hue-rotate(0deg);
    box-shadow: 
      0 0 10px var(--neon-dynamic-1),
      0 0 20px var(--neon-dynamic-1);
  }
  100% {
    filter: hue-rotate(360deg);
    box-shadow: 
      0 0 10px var(--neon-dynamic-1),
      0 0 20px var(--neon-dynamic-1);
  }
}

@keyframes alternate-colors {
  0% {
    border-color: var(--neon-dynamic-1);
    box-shadow: 
      0 0 10px var(--neon-dynamic-1),
      0 0 20px var(--neon-dynamic-1);
  }
  100% {
    border-color: var(--neon-dynamic-2);
    box-shadow: 
      0 0 10px var(--neon-dynamic-2),
      0 0 20px var(--neon-dynamic-2);
  }
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
    box-shadow: 
      0 0 10px var(--neon-red),
      0 0 20px var(--neon-gold);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 
      0 0 10px var(--neon-cyan),
      0 0 20px var(--neon-blue-violet);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 
      0 0 10px var(--neon-red),
      0 0 20px var(--neon-gold);
  }
}

@keyframes random-glow {
  0% {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 20px var(--neon-magenta);
  }
  20% {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
  }
  40% {
    border-color: var(--neon-gold);
    box-shadow: 0 0 20px var(--neon-gold);
  }
  60% {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green);
  }
  80% {
    border-color: var(--neon-red);
    box-shadow: 0 0 20px var(--neon-red);
  }
  100% {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 20px var(--neon-magenta);
  }
}

@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-dynamic-1);
    box-shadow: 
      0 0 10px var(--neon-dynamic-1),
      0 0 20px var(--neon-dynamic-1),
      inset 0 0 10px rgba(0, 255, 255, 0.3);
  }
  33% {
    border-color: var(--neon-dynamic-2);
    box-shadow: 
      0 0 10px var(--neon-dynamic-2),
      0 0 20px var(--neon-dynamic-2),
      inset 0 0 10px rgba(255, 215, 0, 0.3);
  }
  66% {
    border-color: var(--neon-dynamic-3);
    box-shadow: 
      0 0 10px var(--neon-dynamic-3),
      0 0 20px var(--neon-dynamic-3),
      inset 0 0 10px rgba(255, 0, 255, 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; }
}

.neon-text-dynamic {
  animation: text-glow-flow 3s ease-in-out infinite alternate;
}

@keyframes text-glow-flow {
  0% {
    text-shadow: 
      0 0 5px var(--neon-dynamic-1),
      0 0 10px var(--neon-dynamic-1),
      0 0 15px var(--neon-dynamic-1);
    color: #ffffff;
  }
  50% {
    text-shadow: 
      0 0 5px var(--neon-dynamic-2),
      0 0 10px var(--neon-dynamic-2),
      0 0 15px var(--neon-dynamic-2);
    color: #ffffff;
  }
  100% {
    text-shadow: 
      0 0 5px var(--neon-dynamic-3),
      0 0 10px var(--neon-dynamic-3),
      0 0 15px var(--neon-dynamic-3);
    color: #ffffff;
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: 120px; /* Default for desktop, roughly sum of header-top and main-nav height */
}

.no-scroll {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.header-top {
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
  border-bottom: 2px solid var(--neon-gold);
  box-shadow: 
    0 0 10px var(--neon-gold),
    0 0 20px var(--neon-gold),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  width: 100%;
  padding: 10px 0;
}

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

.logo {
  font-size: 2.2em;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  padding: 5px 0;
  display: block;
  animation: text-glow-flow 3s ease-in-out infinite alternate;
}

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

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

.btn:hover {
  animation-duration: 2s;
  transform: translateY(-2px);
  box-shadow: 
    0 0 15px currentColor,
    0 0 30px currentColor,
    0 0 45px currentColor,
    inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.main-nav {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-top: 2px solid var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
  box-shadow: 
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  width: 100%;
  display: flex;
  padding: 10px 0;
}

.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;
  gap: 25px;
}

.nav-link {
  color: #e0e0e0;
  font-size: 1.1em;
  padding: 8px 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}

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

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

.site-footer {
  background-color: #1a1a2e;
  color: #e0e0e0;
  padding: 40px 0 20px 0;
  font-size: 0.95em;
  border-top: 1px solid #334455;
}

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

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

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  margin-top: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #e0e0e0;
  transition: color 0.3s ease;
}

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

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

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

.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;
  object-fit: contain;
}

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

.footer-middle-section .footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-providers-section h4,
.social-media-section h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
  padding-bottom: 5px;
  width: 100%;
}

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

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

.copyright {
  margin: 0;
  color: #b0b0b0;
  flex-grow: 1;
}

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

.footer-legal-nav a {
  color: #b0b0b0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-legal-nav a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  body {
    padding-top: 120px; /* Adjusted for mobile header-top + mobile-nav-buttons height */
  }

  .site-header {
    flex-direction: column;
  }

  .header-top {
    padding: 10px 0;
    border-bottom: none;
    box-shadow: none;
  }

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

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 5px;
    border-radius: 3px;
    animation: theme-colors 4s ease-in-out infinite;
  }

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

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

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

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

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #16213e, #0f3460);
    border-bottom: 2px solid var(--neon-magenta);
    box-shadow: 
      0 0 8px var(--neon-magenta),
      0 0 15px var(--neon-magenta),
      inset 0 0 10px rgba(255, 0, 255, 0.1);
    z-index: 990;
  }

  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    width: 75%;
    flex-direction: column;
    background-color: #1a1a2e;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 20px;
    border-right: 2px solid var(--neon-cyan);
    box-shadow: 
      0 0 10px var(--neon-cyan),
      0 0 20px var(--neon-cyan),
      inset 0 0 20px rgba(0, 255, 255, 0.1);
  }

  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }

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

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

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

  .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-in-out;
    opacity: 0;
  }

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

  .footer-top-section .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom-section .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-nav {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal-nav li {
    width: 100%;
  }
}