/* GLIVED coming-soon — hand-written, zero-build CSS.
   Brand tokens lifted from apps/web/src/app/globals.css (vivid orange #FF6700). */

:root {
  --primary: #FF6700;
  --primary-hover: #E55D00;
  --primary-soft: rgba(255, 103, 0, 0.12);

  --surface-base: #0F0E0D;
  --surface-elevated: #1A1816;
  --surface-raised: #242120;
  --border: #2E2A28;

  --text-primary: #F5F0EB;
  --text-secondary: #A89F95;
  --text-tertiary: #6B6560;

  --success: #22C55E;
  --error: #F87171;

  --maxw: 1040px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ──────────────────────── HERO (contained card) ──────────────────────── */
.hero {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.hero__card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  min-height: 420px;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero__logo {
  height: 3.5rem;
  width: auto;
  margin-bottom: 0.75rem;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.hero__headline {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
}
.hero__bullets li { color: #fff; }
.hero__bullets li:not(:last-child)::after {
  content: "·";
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

@media (min-width: 768px) {
  .hero__content { padding: 2.5rem 3rem; }
  .hero__logo { height: 5rem; margin-bottom: 1rem; }
  .hero__eyebrow { margin-bottom: 1.25rem; }
  .hero__headline { margin-bottom: 1.5rem; }
  .hero__bullets { margin-bottom: 2.5rem; }
  .hero__bullets li:not(:last-child)::after { margin: 0 0.75rem; }
}

/* Shared button */
.btn,
.waitlist__button {
  display: inline-block;
  background: var(--primary);
  color: #0F0E0D;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover,
.waitlist__button:hover { background: var(--primary-hover); text-decoration: none; }
.btn:active,
.waitlist__button:active { transform: translateY(1px); }

/* ─────────────────────── HOW IT WORKS (intro) ─────────────────────── */
.intro {
  text-align: center;
  padding: 3rem 1rem;
}
.intro__headline {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.intro__sub {
  margin: 0;
  color: var(--text-tertiary);
  font-size: clamp(0.875rem, 2vw, 1rem);
}
@media (min-width: 768px) {
  .intro { padding: 4rem 1rem; }
}

/* ─────────────────────────── FEATURES ─────────────────────────── */
.feature {
  position: relative;
  max-width: 1024px;
  margin: 0 auto 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.4 / 1;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature__scrim { display: none; }   /* mobile: no overlay, text sits below */

.feature__panel { padding: 1.5rem; }
.feature__content { max-width: none; }

.feature__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.feature__headline {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.feature__body {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

/* Desktop: text panel overlays the image with a GLOGGED-style side gradient.
   Text side alternates — odd cards (Clip, Community) right; even (By game) left. */
@media (min-width: 768px) {
  .feature__scrim {
    display: block;
    position: absolute;
    inset: 0;
    /* default = even card (text left): dark on the left */
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.85) 30%,
      transparent 60%
    );
  }
  .feature:nth-of-type(odd) .feature__scrim {
    /* odd card (text right): dark on the right */
    background: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.85) 30%,
      transparent 60%
    );
  }

  .feature__panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 3rem;
  }
  .feature__content { max-width: 28rem; }
  .feature:nth-of-type(odd) .feature__content { margin-left: auto; }

  .feature__headline { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); }
  .feature__body { color: rgba(255, 255, 255, 0.85); }
}

/* ─────────────────────────── WAITLIST ─────────────────────────── */
.waitlist {
  max-width: 672px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 5rem) 1.5rem;
  text-align: center;
  scroll-margin-top: 1rem;
}

.waitlist__headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.01em;
}

.waitlist__sub {
  margin: 0 auto 2rem;
  max-width: 42ch;
  color: var(--text-secondary);
}

.waitlist__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.waitlist__input {
  flex: 1 1 260px;
  min-width: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
}
.waitlist__input::placeholder { color: var(--text-tertiary); }
.waitlist__input:focus {
  outline: none;
  border-color: var(--primary);
}

.waitlist__button { flex: 0 0 auto; }
.waitlist__button:disabled { opacity: 0.6; cursor: not-allowed; }

.waitlist__beta {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
}
.waitlist__beta input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.cf-turnstile {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.waitlist__message {
  min-height: 1.5rem;
  margin: 1.25rem 0 0;
  font-weight: 600;
}
.waitlist__message--success { color: var(--success); }
.waitlist__message--error { color: var(--error); }

.waitlist__privacy {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.waitlist__privacy a { color: var(--text-secondary); text-decoration: underline; }

/* ──────────────────────────── FOOTER ──────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}
