/* Fret Arcade promo pages (/<game>/): the shared look. Each game's promo page adds only its own bits.
   Colours and fonts are the same as the games (see BUILDING.md 4.1). */
:root {
  --bg: #0c0a0f; --panel: #19141f; --panel2: #231c2b; --line: rgba(255,255,255,.09);
  --text: #f6f0e7; --muted: #a69db1; --amber: #ffb547; --amber2: #ff7a2f; --good: #4ade80; --bad: #ff4d6d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font-family: 'Outfit', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  background:
    radial-gradient(1100px 600px at 15% -15%, rgba(255,130,50,.20), transparent 60%),
    radial-gradient(900px 520px at 95% -5%, rgba(140,80,255,.16), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; text-decoration: none; cursor: pointer;
  font: 400 18px/1 'Bungee', sans-serif; color: #2a1405; border: 0; background: linear-gradient(180deg, #ffd27a, var(--amber2)); box-shadow: 0 5px 0 #9a4512; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #9a4512; }
.btn.small { padding: 10px 16px; font-size: 14px; box-shadow: 0 3px 0 #9a4512; }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); box-shadow: none; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; }
.btn[hidden] { display: none; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 28px 0 56px; }
.hero h1 { margin: 0; font: 400 clamp(38px, 6.4vw, 76px)/1 'Bungee', sans-serif; white-space: nowrap; }
.hero h1 span { display: inline-block; background: linear-gradient(180deg, #ffe0a3, var(--amber2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(0,0,0,.35)); }
.hero h1 small { display: block; margin-top: 6px; font-size: .42em; letter-spacing: .12em; color: var(--amber); -webkit-text-fill-color: var(--amber); }
.hero .lead { margin: 18px 0 8px; font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; line-height: 1.4; }
.hero .sub { margin: 0 0 24px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ctas .note { width: 100%; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 12px; } }

/* sections */
section { padding: 44px 0; }
section h2 { margin: 0 0 8px; font: 400 clamp(26px, 4vw, 36px)/1.15 'Bungee', sans-serif; }
section .intro { margin: 0 0 26px; color: var(--muted); max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps div { position: relative; padding: 22px 20px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.steps div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
  font: 400 18px/1 'Bungee', sans-serif; color: #2a1405; background: linear-gradient(180deg, #ffd27a, var(--amber2)); }
.steps b, .cards b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps p, .cards p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.cards > div { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.cards .ic { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.cards .ic .pxi { width: 40px; height: 40px; image-rendering: pixelated; display: block; }   /* pixel icons (img/icons) */
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }

/* a feature banner linking to another game or mode */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,181,71,.35);
  background: linear-gradient(160deg, rgba(255,181,71,.10), rgba(167,139,250,.07) 60%), var(--panel); text-decoration: none; color: inherit; }
.feature img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.feature div { padding: 26px; }
.feature .tag { font: 400 11px/1 'Press Start 2P', 'Bungee', monospace; color: var(--amber); }
.feature h3 { margin: 10px 0 8px; font: 400 26px/1.15 'Bungee', sans-serif; }
.feature p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); font: 400 20px/1 'Bungee', sans-serif; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); max-width: 780px; }

/* final call to action (the header and footer are css/site.css) */
.final { text-align: center; padding: 56px 0; }
.final h2 { margin-bottom: 18px; }
