/* ==========================================================================
   ZERO ESPORTS // MINIMALIST CINEMATIC COMING SOON
   Ultra-Clean, Mobile-First, Pure Brutalist Aesthetics
   ========================================================================== */

:root {
  --bg: #080808;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a0a0aa;
  --text-muted: #555560;
  --accent-cyan: #00f2fe;
  
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow: hidden; /* No scrolling needed */
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric Background */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.glow-1 {
  top: 10%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
}

.glow-2 {
  bottom: 10%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, transparent 70%);
}

/* App Shell - Perfectly Balanced on Mobile Screen */
.app-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.4rem 1.25rem;
}

/* Header */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  transition: transform 0.4s var(--ease-spring), filter 0.3s ease;
}

.brand-group:hover .brand-logo-img {
  transform: rotate(8deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.5));
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: block;
}

/* Discord Action Pill */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #ffffff;
  padding: 0.44rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.discord-btn:hover {
  background: rgba(88, 101, 242, 0.26);
  border-color: #5865F2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.45);
  transform: translateY(-1px);
}

.discord-btn:active {
  transform: scale(0.95);
  background: rgba(88, 101, 242, 0.35);
}

.discord-icon {
  color: #5865F2;
  transition: transform 0.25s ease, color 0.25s ease;
}

.discord-btn:hover .discord-icon {
  transform: scale(1.1);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero Stage: High-Impact Typography & Crystal Prism
   -------------------------------------------------------------------------- */
.mobile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  margin: auto 0;
  width: 100%;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.hero-typography {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-line:nth-child(2) {
  transform: translateY(-0.04em);
  color: #ffffff;
}

/* 3D Glass Prism Viewport */
.prism-viewport {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  z-index: 2;
  touch-action: none;
  cursor: grab;
}

.prism-viewport:active {
  cursor: grabbing;
}

#prism-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.touch-hint {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: opacity 0.4s ease;
  white-space: nowrap;
}

.touch-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 5px var(--accent-cyan);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   Simple Real 12-Day Countdown
   -------------------------------------------------------------------------- */
.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
}

.minimal-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.9rem 1.4rem;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.count-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.count-lbl {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.count-divider {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.65rem;
}

/* --------------------------------------------------------------------------
   Minimal Footer
   -------------------------------------------------------------------------- */
.mobile-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Tablet Scaling */
@media (min-width: 500px) {
  .app-shell {
    max-width: 500px;
    padding: 2rem;
  }

  .hero-stage {
    height: 250px;
  }

  .prism-viewport {
    width: 290px;
    height: 290px;
  }

  .hero-title {
    font-size: 4.8rem;
  }

  .count-num {
    font-size: 2.2rem;
  }

  .minimal-countdown {
    gap: 1.2rem;
    padding: 1.1rem 1.8rem;
  }
}
