/* ============================================================
   Let's Go Games – Shared Marketing Page Styles
   ============================================================
   Each page sets game-specific colours via CSS custom properties:
     --game-color:       primary accent hex  (e.g. #ff00ff)
     --game-color-end:   gradient-end hex    (e.g. #bf00ff)
     --game-color-rgb:   primary as r,g,b    (e.g. 255, 0, 255)
     --game-color-end-rgb: end as r,g,b      (e.g. 191, 0, 255)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --neon-pink: #ff00ff;
  --neon-cyan: #00ffff;
  --neon-yellow: #ffff00;
  --neon-green: #00ff88;
  --neon-orange: #ff6600;
  --neon-purple: #bf00ff;
  --neon-gold: #ffd700;
  --dark-bg: #0a0a12;
  --card-bg: rgba(15, 15, 35, 0.9);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;

  /* Defaults (bingo/pink) – override per page */
  --game-color: #ff00ff;
  --game-color-end: #bf00ff;
  --game-color-rgb: 255, 0, 255;
  --game-color-end-rgb: 191, 0, 255;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Focus styles ---------- */
:focus-visible {
  outline: 2px solid var(--game-color, var(--neon-cyan));
  outline-offset: 2px;
}

/* ---------- Autofill styling ---------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0 1000px var(--dark-bg);
  -webkit-text-fill-color: white;
  caret-color: white;
}

/* ---------- Body ---------- */
body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Background effects ---------- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(var(--game-color-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--game-color-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(var(--game-color-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(var(--game-color-end-rgb), 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--game-color);
  color: #000;
  padding: 12px 24px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-decoration: none;
  z-index: 99999;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--game-color-rgb), 0.3);
  padding: 15px 0;
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  vertical-align: middle;
  display: block;
}

/* Hero & CTA logo images (centered block) */
.hero-logo-img,
.cta-logo-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  border-radius: 12px;
}
.hero-logo-img {
  max-width: 350px;
  width: 80%;
  margin-bottom: 25px;
}
.cta-logo-img {
  max-width: 44px;
  width: auto;
  height: 44px;
  margin-bottom: 20px;
}
.footer-logo-img {
  display: block;
  margin: 0 auto;
  max-width: 44px;
  height: 44px;
  width: auto;
  border-radius: 8px;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: clamp(15px, 2vw, 30px);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--game-color);
}

.btn-nav {
  background: linear-gradient(135deg, var(--game-color), var(--game-color-end));
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(var(--game-color-rgb), 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(var(--game-color-rgb), 0.5);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 18, 0.98);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  min-width: 160px;
  padding: 10px 0;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}
.nav-dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}
.nav-dropdown-content a:hover {
  color: var(--neon-cyan);
  background: rgba(0, 255, 255, 0.1);
}
.nav-dropdown > a::after {
  content: ' \25BC';
  font-size: 0.6rem;
  margin-left: 5px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 8px;
}

/* ---------- Sections & containers ---------- */
section {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
}

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 900px;
}

.hero-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(var(--game-color-rgb), 0.6));
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--game-color), var(--game-color-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(var(--game-color-rgb), 0.4));
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--game-color);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--game-color), var(--game-color-end));
  color: #fff;
  padding: 16px 35px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 25px rgba(var(--game-color-rgb), 0.4);
  display: inline-block;
  margin: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(var(--game-color-rgb), 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--game-color);
  padding: 16px 35px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid var(--game-color);
  display: inline-block;
  margin: 10px;
}

.btn-secondary:hover {
  background: rgba(var(--game-color-rgb), 0.1);
  box-shadow: 0 0 25px rgba(var(--game-color-rgb), 0.3);
}

/* ---------- Section headings ---------- */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature cards grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(var(--game-color-rgb), 0.2);
  border-radius: 16px;
  padding: 35px 28px;
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--game-color);
  box-shadow: 0 10px 40px rgba(var(--game-color-rgb), 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--game-color);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- Audience cards grid ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.audience-card {
  background: var(--card-bg);
  border: 1px solid rgba(var(--game-color-rgb), 0.2);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}

.audience-card:hover {
  border-color: var(--game-color);
  box-shadow: 0 10px 40px rgba(var(--game-color-rgb), 0.15);
}

.audience-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.audience-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--game-color);
}

.audience-card ul {
  list-style: none;
  text-align: left;
}

.audience-card li {
  padding: 8px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-card li::before {
  content: '>';
  color: var(--game-color);
  margin-right: 10px;
  font-weight: bold;
}

/* ---------- Theme tags ---------- */
.themes-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.theme-tag {
  background: rgba(var(--game-color-rgb), 0.15);
  border: 1px solid rgba(var(--game-color-rgb), 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--game-color);
}

/* ---------- Highlight box ---------- */
.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(var(--game-color-rgb), 0.1),
    rgba(var(--game-color-end-rgb), 0.1)
  );
  border: 1px solid rgba(var(--game-color-rgb), 0.3);
  border-radius: 16px;
  padding: 40px;
  margin: 50px 0;
  text-align: center;
}

.highlight-box h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--game-color);
  margin-bottom: 15px;
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- CTA section ---------- */
.cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(var(--game-color-rgb), 0.08),
    rgba(var(--game-color-end-rgb), 0.08)
  );
  border-top: 1px solid rgba(var(--game-color-rgb), 0.2);
  border-bottom: 1px solid rgba(var(--game-color-rgb), 0.2);
}

.cta h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

/* ---------- Footer ---------- */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer a {
  color: var(--game-color);
  text-decoration: none;
}

/* ---------- Footer grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
  text-align: left;
  padding: 0 20px;
}
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 15px;
  color: var(--neon-cyan);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--game-color);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ---------- How-it-works steps ---------- */
.steps-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--game-color), var(--game-color-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  margin: 0 auto 18px;
  box-shadow: 0 0 25px rgba(var(--game-color-rgb), 0.4);
}

.step h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--game-color);
}

.step p {
  color: var(--text-secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  section {
    padding: 70px 20px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Waitlist Popup Modal ---------- */
.waitlist-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.waitlist-overlay.active {
  opacity: 1;
  visibility: visible;
}

.waitlist-modal {
  background: rgba(15, 15, 35, 0.98);
  border: 2px solid var(--neon-pink);
  border-radius: 16px;
  padding: 40px 35px;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow:
    0 0 60px rgba(255, 0, 255, 0.3),
    0 0 120px rgba(0, 255, 255, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.waitlist-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-pink));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  border-radius: 16px 16px 0 0;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.waitlist-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.waitlist-close:hover {
  color: var(--neon-cyan);
}

.waitlist-modal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waitlist-modal .waitlist-subtitle {
  text-align: center;
  color: #a0a0b0;
  font-size: 1rem;
  margin-bottom: 25px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist-form .wl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 500px) {
  .waitlist-form .wl-row {
    grid-template-columns: 1fr;
  }
}

.waitlist-form .wl-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.waitlist-form label {
  font-weight: 600;
  color: #fff;
  font-size: 0.85rem;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: #666;
}

.waitlist-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.waitlist-form select option {
  background: #0a0a12;
  color: #fff;
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 60px;
}

.waitlist-form .wl-submit {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  margin-top: 5px;
}

.waitlist-form .wl-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.5);
}

.waitlist-form .wl-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.waitlist-note {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-top: 10px;
}

.waitlist-success {
  text-align: center;
  padding: 20px 0;
}

.waitlist-success .success-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 136, 0.15);
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
}

.waitlist-success h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.waitlist-success p {
  color: #a0a0b0;
  font-size: 0.95rem;
}
