/* ------------------------------------------------------------------ */
/* The Sin Game — Coming Soon page                                    */
/* ------------------------------------------------------------------ */

:root {
  --bg: #0d0710;
  --bg-alt: #150a1c;
  --card-bg: #1a0f24;
  --purple: #8b5cf6;
  --purple-deep: #5b21b6;
  --gold: #d4af37;
  --crimson: #a3123a;
  --text: #f5ecf9;
  --muted: #c3b0d1;
  --border: rgba(245, 236, 249, 0.12);
  --radius: 14px;
  --font-display: 'Cinzel', serif;
  --font-body: 'EB Garamond', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
}

.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;
}

/* Ambient glow --------------------------------------------------- */

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

.glow-a {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -160px;
  background: var(--purple-deep);
}

.glow-b {
  width: 480px;
  height: 480px;
  bottom: -200px;
  right: -160px;
  background: var(--crimson);
  opacity: 0.22;
}

/* Nav -------------------------------------------------------------- */

.topnav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: var(--text);
}

.brand-die {
  color: var(--purple);
  display: inline-flex;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 17px;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 96px);
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 0%, var(--purple) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 24px);
  margin: 14px 0 28px;
  letter-spacing: 0.02em;
}

.hero-copy {
  color: var(--muted);
  font-size: 21px;
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.scroll-cue {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
}

.scroll-cue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, var(--muted), transparent);
  display: block;
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}

/* Sections ------------------------------------------------------- */

.section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 56px;
  color: var(--text);
}

/* Feature grid ----------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* Pieces list -------------------------------------------------------- */

.pieces {
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.06), transparent);
}

.pieces-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
}

.pieces-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}

.piece-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--purple);
}

.piece-label {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* Notify form -------------------------------------------------------- */

.notify-section {
  background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.14), transparent 60%);
}

.notify-copy {
  color: var(--muted);
  font-size: 19px;
  max-width: 460px;
  margin: 0 auto 36px;
}

.notify-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

.notify-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--purple);
}

.notify-form input[type="email"]::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.notify-form .btn {
  border: none;
  cursor: pointer;
}

.notify-message {
  margin-top: 20px;
  min-height: 24px;
  font-size: 17px;
  color: var(--gold);
}

.notify-message.is-error {
  color: var(--crimson);
}

/* Footer ------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px 50px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  margin: 6px 0 24px;
}

.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
}

/* Responsive ----------------------------------------------------------- */

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

  .pieces-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 72px 20px;
  }

  .hero-content {
    padding: 72px 20px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-cue span {
    animation: none;
  }
  .feature-card {
    transition: none;
  }
}
