/* ==========================================================================
   AXCADE.FUN - THE ULTIMATE WEB GAMES HUB - COMING SOON
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&family=Press+Start+2P&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Palette */
  --bg-dark: #05070e;
  --bg-card: rgba(13, 19, 32, 0.72);
  --bg-card-hover: rgba(18, 26, 46, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 136, 0.35);
  --border-indigo: rgba(99, 102, 241, 0.35);
  
  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.4);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-indigo: #6366f1;
  --neon-purple: #a855f7;
  --neon-gold: #f59e0b;
  --neon-rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-mono: 'Space Grotesk', monospace;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-neon: 0 0 25px var(--neon-green-glow);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.75);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas & Atmospheric Grid */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  animation: pulseAmbient 12s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  top: -150px;
  left: 15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--neon-green-glow) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 35%;
  right: -100px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  animation-delay: -5s;
}

.ambient-glow-3 {
  bottom: -100px;
  left: 25%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, transparent 70%);
  animation-delay: -3s;
}

@keyframes pulseAmbient {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.3; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.5; }
  100% { transform: scale(1) translate(-20px, 30px); opacity: 0.35; }
}

/* Content Container */
.page-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--neon-green-glow));
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.04);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--neon-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: blinkStatus 1.6s infinite ease-in-out;
}

.status-mini-dot {
  font-size: 0.32rem;
  vertical-align: middle;
  opacity: 0.6;
}

@keyframes blinkStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.audio-toggle-btn i {
  font-size: 1.05rem;
}

.audio-toggle-btn:hover {
  color: var(--neon-green);
  border-color: var(--border-glow);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.social-links-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.15rem;
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  color: #fff;
  border-color: var(--neon-green);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.tagline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(0, 255, 136, 0.15));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.12);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.tagline-chip i {
  font-size: 1rem;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 980px;
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, #ffffff 10%, var(--neon-green) 50%, var(--neon-cyan) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 40px rgba(0, 255, 136, 0.25);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* Hub Category Chips */
.hub-modes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.mode-pill i {
  font-size: 0.95rem;
}

.mode-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.mode-pill.accent-green { border-color: rgba(0, 255, 136, 0.3); color: var(--neon-green); }
.mode-pill.accent-cyan { border-color: rgba(0, 240, 255, 0.3); color: var(--neon-cyan); }
.mode-pill.accent-indigo { border-color: rgba(99, 102, 241, 0.3); color: var(--neon-indigo); }
.mode-pill.accent-gold { border-color: rgba(245, 158, 11, 0.3); color: var(--neon-gold); }

.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.countdown-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  min-width: 105px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0.6;
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px -5px rgba(0, 255, 136, 0.15);
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

.countdown-label {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--neon-green);
  text-transform: uppercase;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  display: block;
}

.countdown-divider {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  animation: pulseColon 1s infinite alternate;
}

@keyframes pulseColon {
  0% { opacity: 0.2; }
  100% { opacity: 0.8; }
}

/* Section Header Shared */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-label {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.65rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   PLATFORM PILLARS (THE CORE GAMING HUB EXPERIENCE)
   ========================================================================== */
.platform-section {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid var(--border-subtle);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.platform-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 45px -10px rgba(0, 255, 136, 0.18);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.platform-card:nth-child(1) .platform-icon { background: rgba(0, 255, 136, 0.1); border-color: rgba(0, 255, 136, 0.3); color: var(--neon-green); }
.platform-card:nth-child(2) .platform-icon { background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.3); color: var(--neon-cyan); }
.platform-card:nth-child(3) .platform-icon { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); color: var(--neon-gold); }
.platform-card:nth-child(4) .platform-icon { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.3); color: var(--neon-indigo); }
.platform-card:nth-child(5) .platform-icon { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.3); color: var(--neon-rose); }
.platform-card:nth-child(6) .platform-icon { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); color: var(--neon-purple); }

.platform-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #fff;
}

.platform-card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.platform-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-green);
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   FOUNDER PERK STATION (INTERACTIVE HUB STATION)
   ========================================================================== */
.randomizer-section {
  padding: 4.5rem 0 5.5rem;
  border-top: 1px solid var(--border-subtle);
}

.arcade-station-card {
  background: linear-gradient(145deg, rgba(13, 20, 36, 0.88) 0%, rgba(8, 12, 22, 0.94) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 255, 136, 0.12);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.arcade-station-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.arcade-info h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.arcade-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.arcade-controls-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.arcade-screen {
  width: 100%;
  max-width: 420px;
  background: #020408;
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: inset 0 0 25px rgba(0, 255, 136, 0.18), 0 0 30px rgba(0, 255, 136, 0.15);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.arcade-screen::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.screen-icon-wrap {
  margin-bottom: 0.5rem;
}

.screen-game-icon {
  font-size: 3rem;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  display: inline-block;
  transition: transform 0.3s ease;
}

.screen-game-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

.screen-game-tag {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
}

.screen-perk-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-glow);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--neon-green);
  font-weight: 600;
}

.spin-hub-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(0, 255, 136, 0.25));
  border: 1px solid var(--neon-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25);
  transition: all 0.25s ease;
}

.spin-hub-btn i {
  font-size: 1.15rem;
}

.spin-hub-btn:hover {
  background: var(--neon-green);
  color: #03140b;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.55);
  transform: translateY(-2px);
}

.spin-hub-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   COMMUNITY & SOCIAL
   ========================================================================== */
.community-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border-subtle);
}

.community-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.community-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.community-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.2);
}

.comm-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.comm-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.comm-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.comm-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.comm-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.comm-card-action {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease;
}

.community-card:hover .comm-card-action {
  transform: translateX(4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--neon-green);
}

/* Responsiveness */
@media (max-width: 900px) {
  .arcade-station-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .arcade-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 3rem 0 2rem;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .countdown-container {
    gap: 0.6rem;
  }
  .countdown-box {
    padding: 0.85rem 0.9rem;
    min-width: 74px;
  }
  .countdown-number {
    font-size: 1.95rem;
  }
  .countdown-label {
    font-size: 0.5rem;
  }
  .countdown-divider {
    display: none;
  }
  .signup-form {
    flex-direction: column;
  }
  .email-input {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  .submit-btn {
    width: 100%;
    justify-content: center;
  }
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
