/* GDPR Consent Banner */
#cookie-banner {
    position: fixed; bottom: 0; width: 100%; background: black;
    color: white; text-align: center; padding: 10px;
    display: none;
}

/* Header Image */
.header {
    width: 100%;
    height: auto;
    max-width: 2560px;
    max-height: 288px;
    display: block;
    margin: 0 auto;   
    margin-bottom: 0;
    background-color: #222;
    color: white;
}

#header-container {
  width: 100%;
  height: auto;
  max-width: 2560px;
  max-height: 288px;
  display: block;
  margin: 0 auto;
  margin-bottom: 0;
  background-color: #222;
  color: white;
}

/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #000;
    color: white;
}

footer {
    width: 100%;
    padding: 20px 0;
    background-color: #222;
    color: white;
}

/* Social Media Icons - Grid Layout */
.social-media {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
  justify-content: center;
  gap: 50px;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
}

.social-media a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}

.social-media img {
    width: 100px;
    height: 100px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .social-media {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    .social-media {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    .social-media a {
        width: 80px;
        height: 80px;
    }
    .social-media img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .social-media {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
    .social-media a {
        width: 60px;
        height: 60px;
    }
    .social-media img {
        width: 60px;
        height: 60px;
    }
}

/* Internal Links Section */
.internal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.internal-links a {
    display: inline-block;
    padding: 12px 20px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.internal-links a:hover {
    background-color: #666;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .internal-links {
        gap: 15px; /* Reduce spacing slightly */
    }
    .internal-links a {
        padding: 10px 18px; /* Slightly reduce padding */
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .internal-links a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .internal-links {
        flex-direction: column;
    }
    .internal-links a {
        width: 80%;
        text-align: center;
    }
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between images */
    flex-wrap: wrap;
    width: 100%;
    max-width: 2560px;
    overflow: hidden; /* Prevents horizontal scrolling */
    background-color: #222;
    color: white;
}

.image-container img {
    width: 48vw; /* Each image takes about half the viewport width */
    max-width: 1280px; /* Ensures they don’t get too big */
    height: auto; /* Maintain aspect ratio */
}

/* Mobile: Stack images when screen is too narrow */
@media (max-width: 900px) {
    .image-container {
        flex-direction: column;
        align-items: center;
    }
    .image-container img {
        width: 90vw; /* Make each image almost full width on mobile */
        max-width: 600px; /* Prevent excessive stretching */
    }
}

/* Email Signup Modal Styles */
#emailModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#emailModalContent {
    position: relative; /* ✅ enables correct positioning for X */
    background: white;
    color: #111; 
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

#emailModalContent h2 {
    margin-top: 0;
}

#emailModalContent input {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#emailModalContent button {
    width: 100%;
    padding: 10px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#emailModalContent button:hover {
    background-color: #444;
}

#emailModalContent p {
    margin-top: 15px;
    font-size: 14px;
}

#cookieModal {
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieModalContent {
    background: white;
    color: #111; 
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

#cookieModalContent h2 {
    margin-top: 0;
}

#cookieModalContent button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#cookieModalContent button:hover {
    background-color: #444;
}

.site-header {
    width: 100%;
    background-color: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
  }
  
  .hamburger {
    position: absolute;
    left: 15px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
    background-color: transparent; /* or set a color */
    border-radius: 6px; /* optional: makes it a rounded square */
  }

  .hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .header-logo {
    height: auto;
    max-height: 288px;
    max-width: 70%;
    display: block;
    margin: 0 auto;
  }
  
  /* Mobile Nav */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222;
    width: 100%;
    z-index: 1000;
  }
  
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .menu-group {
    padding: 12px 16px;
    background-color: #333;
    font-weight: bold;
  }
  
  .submenu {
    padding-left: 20px;
  }
  
  .submenu.products {
    background-color: #2a2a2a;
  }
  
  .submenu.pages {
    background-color: #1e1e1e;
  }
  
  .submenu li a {
    display: block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
  }
  
  .submenu li a:hover {
    background-color: #444;
  }
  
  .hidden {
    display: none !important;
  }
  
  @media (min-width: 768px) {
    .main-nav {
      display: none; /* You could update this for desktop later */
    }
  }

  .hero {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    padding: 0; /* Remove top/bottom spacing */
    text-align: center;
  }

  .hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  
  .hero-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0; /* no gap below image */
  }

  .hero-image-wrapper img.hero-image {
    width: 100%;
    max-width: 100vw;
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  .hero-top .hero-content {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-top .hero-content img {
    margin-top: 0;
    padding-top: 0;
    display: block;
    line-height: 0;
  }

  .hero-top .hero-image {
    display: block;
    margin: 0;
    padding: 0;
    max-height: 100vh;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    animation: slow-spin 60s linear infinite;
    transform-origin: center center;
    line-height: 0;
  }
  
  .hero-content {
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 1200px;
  }

  .hero h1 {
    font-size: 2em;
    margin-top: 20px;
  }
  
  .hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .hero img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .cta-buttons button,
  .view-product-btn {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
  }
  
  .cta-buttons button:hover,
  .view-product-btn:hover {
    background-color: #444;
  }

  .cta-buttons button.cta-large {
    font-size: 20px;
    padding: 16px 32px;
    background-color: #e63946; /* vivid red */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .cta-buttons button.cta-large:hover {
    background-color: #c62828;
  }

  .main-nav {
    display: none;
  }
  
  .main-nav.hidden {
    display: none !important;
  }
  
  .main-nav:not(.hidden) {
    display: block !important;
  }

  #testimonial-rotator {
    transition: opacity 0.3s ease;
    font-size: 1.2em;
  }

  /* 💣 Final fix to enforce correct How to Play image stacking */
  .how-to-play-images {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
  }

  .how-to-play-images img {
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  @keyframes slow-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .hero-image {
    animation: slow-spin 60s linear infinite;
    transform-origin: center center;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  @media (max-width: 480px) {
    .internal-links {
      flex-direction: column;
      align-items: center; /* Add this to center the children */
    }
  
    .internal-links a {
      width: 80%;
      max-width: 300px;
      text-align: center;
      margin: 0 auto; /* Optional: adds centering margin */
    }
  }

  .verification-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 40vh;
    padding: 40px 20px;
  }

  .verification-container h1 {
    font-size: 2em;
    margin-bottom: 1rem;
  }

  .verification-container p {
    font-size: 1.2em;
  }

  .no-bullets {
    list-style: none;
    padding-left: 0;
  }

  .hero-content a {
    color: #4ec5ff;
    text-decoration: underline;
  }
  
  .hero-content a:hover {
    color: #82d9ff;
  }

  html, body {
    overflow-x: hidden;
  }

  .hero-content li {
    font-size: 1.2em;
  }
