/*
 * Delvebound landing — hero-only "coming soon" page.
 *
 * Cut down to one section per direction to stay minimal until more
 * shippable content (gameplay screens, Bound Souls scope) lands.
 *
 * Mobile-first. Cinzel display + Manrope body. Plum/wine background
 * with ember radial glow, gold/ember accents. One phone mockup, one
 * CTA.
 */

:root {
  --bg: #0c0509;
  --bg-deep: #06030a;
  --text: #ece2d2;
  --text-dim: #b0a092;
  --text-faint: #7a6a64;
  --gold: #c8a24a;
  --gold-bright: #e9c477;
  --gold-deep: #8a6a26;
  --gold-rule: rgba(200, 162, 74, 0.45);
  --ember: #d96a2c;

  --pad-x-mobile: 20px;
  --pad-x-tablet: 32px;
  --pad-x-desktop: 48px;

  --r-btn: 14px;

  --serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(217, 106, 44, 0.14), transparent 65%),
    radial-gradient(ellipse 70% 60% at 0% 40%, rgba(58, 15, 28, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 70%, rgba(42, 15, 35, 0.55), transparent 60%),
    linear-gradient(180deg, #0c0509 0%, #06030a 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: #fff; }

img { display: block; max-width: 100%; height: auto; }

/* ──────────────────────────────────────────────────────────────
   Eyebrow + button
   ────────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 220ms ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  min-height: 56px;
  padding: 0 28px;
  width: 100%;
}
.btn-primary {
  color: #1a0d05;
  background: linear-gradient(180deg, #e9c477 0%, #c8a24a 55%, #a17e2c 100%);
  border-color: rgba(58, 26, 8, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 220, 150, 0.55) inset,
    0 -2px 0 rgba(58, 26, 8, 0.5) inset,
    0 10px 28px rgba(168, 110, 30, 0.35),
    0 0 0 1px rgba(233, 196, 119, 0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 230, 170, 0.6) inset,
    0 -2px 0 rgba(58, 26, 8, 0.5) inset,
    0 14px 36px rgba(217, 150, 60, 0.45),
    0 0 0 1px rgba(233, 196, 119, 0.35);
}
.btn-primary:active { transform: translateY(0); }

@keyframes glow-pulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255, 220, 150, 0.55) inset,
      0 -2px 0 rgba(58, 26, 8, 0.5) inset,
      0 10px 28px rgba(168, 110, 30, 0.35),
      0 0 0 1px rgba(233, 196, 119, 0.22);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 230, 170, 0.6) inset,
      0 -2px 0 rgba(58, 26, 8, 0.5) inset,
      0 14px 44px rgba(217, 150, 60, 0.6),
      0 0 0 1px rgba(255, 220, 150, 0.5);
  }
}
.btn-glow { animation: glow-pulse 3.6s ease-in-out infinite; }

/* ──────────────────────────────────────────────────────────────
   HERO — single full-viewport section
   ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding:
    calc(env(safe-area-inset-top) + 36px)
    var(--pad-x-mobile)
    calc(env(safe-area-inset-bottom) + 32px);
  display: flex;
  flex-direction: column;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  text-align: left;
  max-width: 560px;
  order: 2;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 20px;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.4),
    0 0 24px rgba(217, 106, 44, 0.08);
}

.hero-subhead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  margin-top: 24px;
}
.cta-secondary {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
}

/* ── visual block — splash art panel, ember halo, faint floating sprites */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  order: 1;
}
.hero-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 106, 44, 0.32), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(58, 15, 28, 0.55), transparent 60%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.float-sprite {
  position: absolute;
  width: 56px;
  opacity: 0.22;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
  z-index: 1;
  pointer-events: none;
}
.float-sprite-a { top: 4%;  left: -10%; transform: rotate(-12deg); }
.float-sprite-b { bottom: 8%; right: -10%; transform: rotate(8deg); width: 64px; }
.float-sprite-c { top: 30%;  right: -14%; transform: rotate(18deg); width: 44px; opacity: 0.14; }

.art-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0a0508;
  border: 1px solid rgba(200, 162, 74, 0.3);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(233, 196, 119, 0.08),
    0 28px 48px rgba(0, 0, 0, 0.75),
    0 0 36px rgba(217, 106, 44, 0.18);
  animation: panel-rise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 100ms both;
}
.art-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55);
}
.art-panel img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes panel-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 1px;
  position: relative;
  padding-top: 24px;
  max-width: 320px;
}
.hero-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-rule), transparent);
}

/* ──────────────────────────────────────────────────────────────
   TABLET (>=720px)
   ────────────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .hero { padding-left: var(--pad-x-tablet); padding-right: var(--pad-x-tablet); }
  .hero-headline { font-size: 56px; }
  .hero-visual { max-width: 380px; }
}

/* ──────────────────────────────────────────────────────────────
   DESKTOP (>=960px)
   ────────────────────────────────────────────────────────────── */
@media (min-width: 960px) {
  .hero {
    padding: 96px var(--pad-x-desktop);
    justify-content: center;
  }
  .hero-inner {
    grid-template-columns: 46% 54%;
    gap: 64px;
  }
  .hero-copy { padding-right: 24px; order: 1; }
  .hero-visual { order: 2; max-width: 480px; }
  .hero-headline {
    font-size: 76px;
    letter-spacing: -1px;
    max-width: 520px;
  }
  .hero-subhead { font-size: 18px; max-width: 520px; }

  .cta-row {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .btn { width: auto; min-width: 240px; }
  .cta-secondary { text-align: left; padding: 0; }

  .float-sprite { width: 80px; }
  .float-sprite-b { width: 92px; }

  .hero-tag { margin-top: 72px; }
}

@media (min-width: 1280px) {
  .hero-inner { max-width: 1200px; }
}

/* ──────────────────────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
