/* home.css — the dankloot.com front page. The game's own identity (html/game/theme.js and
   docs/ART-BIBLE.md "UI panels"): near-black ground, a panel one step lighter with a dim gold
   rim, candle gold for the name and the one thing to press, parchment ink, the visitor's
   Georgia serif. Rarity colours appear only where loot is named. */
:root {
  color-scheme: dark;
  --ground: #0d0a0a;
  --lift: #1a1312;
  --gold: #d4a24c;
  --gold-dim: #8a6a33;
  --ink: #e8dccb;
  --muted: #bfb3a2;
  --ember: #e07a2e;
  --lantern: #58c08a;
  --forge: #e8892e;
  --unique: #f06ad8;
  --rare: #f0d45a;
  --magic: #7f9cf0;
  --set: #5cf03c;
  --radius: 12px;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0; color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.55;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(224, 122, 46, .14), transparent 60%),
    var(--ground);
}
a { color: var(--gold); }
a:focus-visible, .play:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }

/* first screen: the name, the pitch, Play, the clip */
.top { display: grid; gap: 20px; padding: 28px 0 32px; }
.name {
  margin: 0; font-size: clamp(44px, 13vw, 96px); line-height: 1; letter-spacing: .08em;
  color: var(--gold); text-shadow: 0 0 24px rgba(212, 162, 76, .35);
}
.tag { margin: 6px 0 0; font-size: clamp(19px, 4.6vw, 26px); font-style: italic; color: var(--ink); }
.pitch { margin: 14px 0 0; max-width: 36em; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.play {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; min-width: 200px;
  padding: 12px 34px; border-radius: var(--radius); border: 2px solid var(--gold);
  background: linear-gradient(#2a1d14, var(--lift)); color: var(--gold);
  font: 700 26px/1 var(--serif); letter-spacing: .14em; text-decoration: none; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 6px 22px rgba(212, 162, 76, .18);
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.play:hover { background: #2e2016; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 6px 30px rgba(212, 162, 76, .35); transform: translateY(-1px); }
.fine { margin: 0; font-size: 15px; color: var(--muted); }
.clip {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--gold-dim);
  background: var(--lift); aspect-ratio: 4 / 5; width: 100%; max-width: 480px; justify-self: center;
}
.clip video { width: 100%; height: 100%; object-fit: cover; }

/* sections */
section { padding: 26px 0; border-top: 1px solid rgba(138, 106, 51, .35); }
h2 { margin: 0 0 6px; font-size: clamp(24px, 5.4vw, 32px); color: var(--gold); font-weight: 700; }
.lede { margin: 0 0 18px; max-width: 42em; color: var(--muted); }

.shots { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.shots figure {
  margin: 0; height: 100%; background: var(--lift); border: 1.5px solid var(--gold-dim);
  border-radius: var(--radius); overflow: hidden;
}
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #120e0d; }
.shots figcaption { padding: 10px 14px 12px; font-size: 15px; color: var(--muted); }
.shots figcaption b { color: var(--ink); }

.today { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.today li {
  display: grid; grid-template-columns: 3.2ch 1fr; gap: 0 12px; align-items: baseline;
  padding: 12px 14px; background: var(--lift); border: 1.5px solid var(--gold-dim); border-radius: var(--radius);
}
.today .n { font-size: 30px; line-height: 1; color: var(--gold); font-weight: 700; text-align: right; }
.today .what { color: var(--ink); }
.today .what span { display: block; color: var(--muted); font-size: 15px; }
.band1 { color: var(--ember); } .band2 { color: var(--lantern); } .band3 { color: var(--forge); }
.r-unique { color: var(--unique); } .r-rare { color: var(--rare); } .r-magic { color: var(--magic); } .r-set { color: var(--set); }

.how { margin: 0; padding-left: 1.3em; max-width: 44em; }
.how li { margin: 0 0 10px; }
.how li::marker { color: var(--gold); }
.limits { max-width: 44em; color: var(--muted); }

footer { padding: 26px 0 40px; border-top: 1px solid rgba(138, 106, 51, .35); color: var(--muted); font-size: 15px; }
footer .play { margin-bottom: 18px; }

@media (min-width: 720px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .today { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  body { font-size: 18px; }
  .top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 40px; padding: 56px 0 48px; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .today { grid-template-columns: repeat(3, 1fr); }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .play { transition: none; }
  .play:hover { transform: none; }
}
