/* =============================================
   YOURTURN — Coming Soon
   Dark mode. Playful. Bold. Game-show energy.
   ============================================= */

:root {
  --black:    #0B0B0F;
  --charcoal: #1A1A22;
  --purple:   #7B3FF2;
  --coral:    #FF5C5C;
  --aqua:     #00D1FF;
  --lime:     #A3FF12;
  --orange:   #FF9F1C;
  --gray-text: #B8B8C2;
  --border:   rgba(255,255,255,0.08);

  --font-head: 'Fredoka', 'Inter', sans-serif;
  --font: 'Inter', -apple-system, sans-serif;
  --ease: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--black); color: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(11,11,15,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.nav-back {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-text);
  transition: color var(--ease);
}
.nav-back:hover { color: #fff; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center top;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,11,15,0.80);
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.orb--purple {
  width: 500px; height: 500px;
  background: var(--purple);
  opacity: 0.18;
  top: -150px; right: -100px;
}
.orb--coral {
  width: 260px; height: 260px;
  background: var(--coral);
  opacity: 0.12;
  bottom: 100px; left: -80px;
}
.orb--aqua {
  width: 200px; height: 200px;
  background: var(--aqua);
  opacity: 0.08;
  top: 30%; right: 20%;
}
.dots-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(123,63,242,0.5);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(123,63,242,0.1);
  margin-bottom: 2rem;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #fff;
}
h1 .accent-purple { color: var(--purple); }
h1 .accent-coral  { color: var(--coral); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* Waitlist CTA */
.waitlist-cta { max-width: 440px; }
.btn-waitlist {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(123,63,242,0.4);
  transition: opacity var(--ease), transform var(--ease);
}
.btn-waitlist:hover { opacity: 0.88; transform: translateY(-1px); }
.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
}

/* Floating player dots */
.player-dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-right: 3rem;
  z-index: 1;
}
.pdot {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(0,0,0,0.7);
  box-shadow: 0 0 18px var(--c);
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.85;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* --- Pillars --- */
.pillars {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--charcoal);
}
.pillars-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  text-align: center;
  margin-bottom: 2.5rem;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--ease), background var(--ease);
}
.pillar:hover {
  background: rgba(123,63,242,0.08);
  border-color: rgba(123,63,242,0.3);
}
.pillar-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
  line-height: 1.3;
}
.pillar p { font-size: 0.875rem; color: var(--gray-text); line-height: 1.65; }

/* --- Footer --- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer a { color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer a:hover { color: #fff; }
.footer-copy { margin-top: 0.4rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .player-dots { display: none; }
}
@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .form-inner { flex-direction: column; padding: 0.75rem; gap: 0.75rem; }
  .form-inner button { width: 100%; }
  .nav-back { display: none; }
}
