@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #070d22;
  --surface: #0b1430;
  --surface-2: #111d42;
  --text: #e9e3d2;
  --muted: #a9b0c4;
  --gold: #e6c77f;
  --gold-dim: #c8a764;
  --crystal: #7fd0ff;
  --line: rgba(200, 167, 100, 0.35);
  --heading: "Cinzel", "Times New Roman", serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(ellipse 120% 60% at 50% -10%, #1d3a78 0%, #0e1c45 40%, var(--bg) 75%) no-repeat;
  color: var(--text);
  font: 1.2rem/1.55 var(--body);
}
a { color: var(--crystal); }
a:hover { color: #fff; }
code { font: 0.9em ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgba(127, 208, 255, 0.1); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; margin: 0; }
h2 { font-size: 1.9rem; color: var(--gold); text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding: 0.6rem max(1rem, calc((100vw - 68rem) / 2));
  background: rgba(7, 13, 34, 0.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--gold); font: 700 1.1rem var(--heading); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; }
.top nav a { color: var(--text); text-decoration: none; font-family: var(--heading); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.top nav a:hover { color: var(--gold); }

section { max-width: 68rem; margin: 0 auto; padding: 3.5rem 1rem; }
section.wide { max-width: 80rem; }
.narrow { max-width: 44rem; margin-left: auto; margin-right: auto; text-align: center; }

.hero { text-align: center; padding-top: 4rem; padding-bottom: 2rem; }
.hero-icon { margin: 0 auto; border-radius: 22px; box-shadow: 0 8px 40px rgba(127, 208, 255, 0.3); }
.badge {
  display: inline-block; margin: 1rem 0 0.6rem; padding: 0.1rem 0.9rem;
  font: 700 0.85rem var(--heading); letter-spacing: 0.15em; text-transform: uppercase;
  color: #1a1204; background: var(--gold); border-radius: 999px;
}
h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); color: #fff; text-shadow: 0 2px 20px rgba(127, 208, 255, 0.35); }
h1 span { display: block; font-size: 0.6em; color: var(--gold); margin-top: 0.3rem; }
.lead { max-width: 44rem; margin: 1.4rem auto 2rem; font-size: 1.3rem; color: var(--text); }

.downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.button {
  display: flex; flex-direction: column; align-items: center; min-width: 17rem; padding: 0.8rem 1.6rem;
  color: var(--text); text-decoration: none; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1.5px solid var(--gold-dim); border-radius: 12px;
  box-shadow: 0 0 0 0 rgba(230, 199, 127, 0), 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.button strong { font: 700 1.05rem var(--heading); color: var(--gold); letter-spacing: 0.04em; }
.button small { color: var(--muted); font-size: 0.95rem; }
.button:hover, .button:focus-visible { border-color: var(--gold); box-shadow: 0 0 22px rgba(230, 199, 127, 0.35), 0 4px 20px rgba(0, 0, 0, 0.4); transform: translateY(-1px); color: #fff; }
.release-line { margin-top: 1rem; color: var(--muted); font-size: 1rem; }

figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.shot-hero { padding-top: 1rem; padding-bottom: 1rem; }
.shot-hero img, .shots img {
  border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.55);
}
.shot-hero figure { max-width: 56rem; margin: 0 auto; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; padding: 0; margin: 0 0 2rem; }
.steps li { counter-increment: step; position: relative; padding: 1.2rem 1.2rem 0.4rem 1.2rem; background: rgba(11, 20, 48, 0.7); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before {
  content: counter(step); position: absolute; top: -1rem; left: 1.1rem; width: 2rem; height: 2rem;
  display: grid; place-items: center; font: 700 1rem var(--heading); color: #1a1204; background: var(--gold); border-radius: 50%;
}
.steps h3 { margin-top: 0.4rem; }

.panel { padding: 1.3rem 1.5rem 0.5rem; background: rgba(11, 20, 48, 0.7); border: 1px solid var(--line); border-radius: 12px; }
.panel h3 { color: var(--gold); }
.panel ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.rom { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; }
.rom dt { color: var(--muted); }
.rom dd { margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; }
.grid article { padding: 1.2rem 1.3rem 0.4rem; background: rgba(11, 20, 48, 0.7); border: 1px solid var(--line); border-radius: 12px; }
.grid h3 { color: var(--gold); }

.shots { display: grid; gap: 2.5rem; max-width: 52rem; margin: 2rem auto 1.5rem; }
.shots figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }
.shots figcaption strong { font-family: var(--heading); color: var(--gold); margin-right: 0.5rem; letter-spacing: 0.04em; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }

#faq { max-width: 50rem; }
details { margin-bottom: 0.7rem; background: rgba(11, 20, 48, 0.7); border: 1px solid var(--line); border-radius: 10px; }
summary { padding: 0.8rem 1.1rem; cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 2.5rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.1rem; top: 0.55rem; color: var(--gold); font: 700 1.3rem var(--heading); }
details[open] summary::after { content: "\2212"; }
details[open] summary { color: var(--gold); }
details p { padding: 0 1.1rem; margin: 0 0 1rem; }

footer { padding: 2.5rem 1rem 3rem; text-align: center; border-top: 1px solid var(--line); background: rgba(5, 9, 24, 0.7); color: var(--muted); }
footer p { max-width: 50rem; margin: 0 auto 1rem; }
footer a { color: var(--text); }
footer a:hover { color: var(--gold); }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--crystal); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 40rem) {
  body { font-size: 1.1rem; }
  .top nav { display: none; }
  section { padding: 2.5rem 1rem; }
  .button { min-width: 0; width: 100%; }
  .downloads { flex-direction: column; }
  .rom { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
