/* Lion's Den 1931 ACO — shared styles. Palette taken from the banner: black, crown gold, fire red. */
:root {
  color-scheme: dark;
  --ink: #0a0807;         /* page ground */
  --ink-2: #15100d;       /* raised panels */
  --ink-3: #1f1712;       /* inputs */
  --line: #3b2c1f;        /* hairlines */
  --text: #f4ecdf;        /* main text */
  --muted: #b3a48f;       /* secondary text */
  --gold: #e6b34a;        /* crown gold */
  --gold-deep: #a8741a;   /* gold shadow */
  --gold-ink: #1b1204;    /* text on gold */
  --red: #e0322a;         /* "ACO" red */
  --ok: #6fbf73;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; max-width: 62ch; }
.gold { background: linear-gradient(180deg, #ffe39a 0%, var(--gold) 45%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red); }
.label { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(10, 8, 7, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 400 1.35rem/1 var(--display); text-transform: uppercase; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav { display: flex; gap: 22px; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 6px; border: 1px solid var(--gold); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; background: transparent; color: var(--gold); }
.btn.primary { background: linear-gradient(180deg, #f3c763, var(--gold) 55%, var(--gold-deep)); color: var(--gold-ink); border-color: #f3c763; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 28px 40px; color: var(--muted); font-size: .88rem; }

@media (max-width: 720px) { .nav { display: none; } }
.brand { white-space: nowrap; }
@media (max-width: 480px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .top .btn { padding: 9px 14px; font-size: .88rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter .15s; } }

/* ---------- motion (all of it switches off for "reduce motion") ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* gold text shimmer */
  .gold { background-size: 100% 220%; animation: shimmer 5s ease-in-out infinite; }
  @keyframes shimmer { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 100%; } }
  .gold.shine { background-image: linear-gradient(100deg, var(--gold-deep) 20%, #fff2c4 40%, var(--gold) 50%, var(--gold-deep) 70%); background-size: 250% 100%; animation: sweep 4.5s linear infinite; }
  @keyframes sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }

  /* primary button breathing glow */
  .btn.primary { animation: breathe 2.8s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(230, 179, 74, 0); } 50% { box-shadow: 0 0 26px 2px rgba(230, 179, 74, .45); } }

  /* sections slide in as they scroll into view (only once JS has marked the page ready) */
  .fx-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .fx-ready [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- legal pages (terms, privacy) ---------- */
.legal { max-width: 780px; padding-block: 48px 24px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.5rem; margin-top: 22px; }
.legal p, .legal li { color: var(--muted); max-width: none; }
.legal b { color: var(--text); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* footer links */
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
