/* EMBERMAW landing — dusk-arena palette: deep violet, ember amber, bone white. */
:root {
  --ink: #0e0a1a; --ink2: #171029; --panel: #1d1433;
  --ember: #ff8a3d; --gold: #ffc067; --blush: #ff5d6a;
  --text: #f0e9ff; --dim: #b7a8d8; --line: #3a2b5c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6; overflow-x: hidden;
}
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
/* hero */
#hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #2a1c4a 0%, var(--ink) 60%);
}
#hero-preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.9;
}
#hero-copy { position: relative; text-align: center; padding: 24px 20px 60px; max-width: 760px; }
.kicker {
  margin: 0 0 10px; letter-spacing: 5px; font-size: clamp(11px, 2vw, 14px);
  color: var(--gold); text-transform: uppercase;
}
#hero-copy h1 {
  margin: 0; font-size: clamp(52px, 13vw, 120px); line-height: 0.95; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffe9c4 15%, var(--gold) 45%, var(--ember) 70%, #d43a1a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(255, 120, 40, 0.35));
}
.tagline { color: var(--dim); font-size: clamp(15px, 2.6vw, 20px); margin: 18px auto 30px; max-width: 34ch; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
a#play-now, .big-cta {
  display: inline-block; text-decoration: none; font-weight: bold; letter-spacing: 2px;
  color: #21101e; padding: 16px 38px; border-radius: 14px; font-size: clamp(15px, 2.4vw, 19px);
  background: linear-gradient(180deg, var(--gold), var(--ember));
  box-shadow: 0 0 34px rgba(255, 138, 61, 0.45), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, box-shadow .15s;
}
a#play-now:hover, .big-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 52px rgba(255,138,61,.7); }
a.ghost {
  display: inline-block; text-decoration: none; color: var(--gold); letter-spacing: 2px;
  padding: 16px 26px; border-radius: 14px; border: 1px solid var(--line); font-size: clamp(13px, 2vw, 16px);
}
a.ghost:hover { border-color: var(--gold); }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--dim); animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
/* sections */
main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0 30px; }
h2 { font-size: clamp(26px, 5vw, 40px); margin: 0 0 26px; color: var(--gold); }
/* gallery */
#gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
#gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
#gallery img { display: block; width: 100%; height: auto; min-height: 120px; background: #0a0716; }
#gallery figcaption { padding: 10px 14px 14px; font-size: 13px; color: var(--dim); }
/* features */
#features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
#features li {
  background: linear-gradient(180deg, var(--panel), var(--ink2));
  border: 1px solid var(--line); border-left: 4px solid var(--ember);
  border-radius: 12px; padding: 16px 20px; color: var(--dim);
}
#features b { color: var(--text); }
/* controls */
.ctl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.ctl-grid div { background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.ctl-grid h3 { margin: 0 0 8px; color: var(--gold); font-size: 18px; letter-spacing: 1px; }
.ctl-grid p { margin: 0; color: var(--dim); font-size: 14px; }
kbd {
  display: inline-block; background: #241a3d; border: 1px solid var(--line); border-bottom-width: 3px;
  border-radius: 6px; padding: 1px 8px; margin: 2px 2px; font-family: inherit; font-size: 12px; color: var(--gold);
}
/* final cta */
.final { text-align: center; padding: 90px 0 110px; }
.final h2 { color: var(--text); }
footer {
  border-top: 1px solid var(--line); padding: 28px 20px 40px; text-align: center;
  color: #8f7fb4; font-size: 13px;
}
@media (max-width: 640px) {
  #hero { min-height: 92svh; }
  .tagline { max-width: 26ch; }
  section { padding: 48px 0 18px; }
  #gallery { grid-template-columns: 1fr 1fr; }
  #gallery figcaption { font-size: 11px; padding: 8px 10px 10px; }
}
@media (max-width: 420px) {
  #gallery { grid-template-columns: 1fr; }
  .cta-row a { width: min(300px, 82vw); text-align: center; }
}
