@font-face { font-family: Cinzel; src: url(/static/Cinzel.ttf); }
@font-face { font-family: Nunito; src: url(/static/NunitoSans.ttf); }

:root {
  --glass: rgba(26, 21, 17, 0.92);
  --trim: #cca860;
  --trim-dim: #82683e;
  --text: #f4ead4;
  --muted: #b8a88e;
  --gold: #f6ca5c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 17px/1.6 Nunito, system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 20%, #4a321e 0%, #0e0a08 70%) fixed;
}

main { max-width: 880px; margin: 0 auto; padding: 48px 20px 64px; }

header { text-align: center; }
h1, h2, h3 { font-family: Cinzel, serif; color: var(--gold); font-weight: 400; letter-spacing: 0.04em; }
h1 { font-size: 64px; margin: 0; }
h2 { font-size: 26px; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 18px 0 4px; }
.pitch { color: var(--muted); max-width: 560px; margin: 14px auto 32px; }

.ornament { position: relative; height: 12px; width: 420px; max-width: 90%; margin: 8px auto 0; }
.ornament::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1.5px; background: var(--trim); }
.ornament span { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px;
  background: var(--trim); transform: rotate(45deg); }

.shot { width: 100%; border-radius: 14px; border: 2px solid var(--trim); box-shadow: 0 12px 40px rgba(0,0,0,.5); }

.panel {
  margin-top: 28px; padding: 26px 30px;
  background: var(--glass);
  border: 2px solid var(--trim); border-radius: 14px;
  box-shadow: inset 0 0 0 4px var(--glass), inset 0 0 0 5px rgba(130,104,62,.6), 0 8px 30px rgba(0,0,0,.4);
}

.downloads { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0 8px; }
.button {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 210px; padding: 12px 22px;
  color: #2c1a0a; text-decoration: none; font-weight: 700; font-size: 19px;
  background: linear-gradient(#e2b65a 55%, #a0722c 55%);
  border: 1.5px solid var(--gold); border-radius: 10px; box-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.button small { font-weight: 400; font-size: 14px; }
.button:hover { filter: brightness(1.1); }
.button.off { color: var(--muted); background: #2e2924; border-color: var(--trim-dim); }

.version { color: var(--muted); margin: 6px 0 0; }
.version strong { color: var(--text); font-family: ui-monospace, monospace; font-weight: 400; }
code, pre { font-family: ui-monospace, monospace; color: var(--text); background: rgba(0,0,0,.35); border-radius: 6px; }
code { padding: 1px 6px; }
pre { padding: 12px 16px; overflow-x: auto; }
footer { margin-top: 36px; text-align: center; color: var(--muted); font-size: 14px; }

.copy { position: relative; }
.copy pre { padding-right: 96px; white-space: pre-wrap; word-break: break-all; }
.copy button {
  position: absolute; top: 8px; right: 8px; padding: 6px 14px;
  font: 700 15px Nunito, sans-serif; color: #2c1a0a; cursor: pointer;
  background: linear-gradient(#e2b65a 55%, #a0722c 55%);
  border: 1.5px solid var(--gold); border-radius: 8px;
}
.copy button:hover { filter: brightness(1.1); }
