@font-face { font-family: 'Luckiest Guy'; src: url('3d/assets/fonts/LuckiestGuy-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Oswald'; src: url('3d/assets/fonts/Oswald.ttf') format('truetype'); }

:root {
  --bg: #0d1222;
  --card: #1a2340;
  --line: rgba(255, 255, 255, 0.1);
  --cream: #FFF1D1;
  --muted: rgba(255, 241, 209, 0.66);
  --gold: #FFD84A;
  --red: #E0413D;
  --shadow: 0 3px 0 #9c2a26, 0 0 9px rgba(15, 23, 45, 0.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(ellipse at top, #24305a, var(--bg) 70%); color: var(--cream); font-family: 'Oswald', system-ui, sans-serif; }

main { max-width: 1040px; margin: 0 auto; padding: 48px 16px 40px; text-align: center; }
.display { font-family: 'Luckiest Guy', system-ui, sans-serif; letter-spacing: 0.02em; }
h1 { margin: 0; font-size: clamp(32px, 9vw, 92px); line-height: 1; color: var(--gold); text-shadow: var(--shadow); font-weight: normal; }
.say { margin: 12px 0 36px; font-size: clamp(16px, 2.2vw, 21px); color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; text-align: left; }
.card { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: 18px; overflow: hidden;
  color: inherit; text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--gold); outline: none; }
.shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.shot img, .shot video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.name { font-size: 28px; color: var(--gold); }
.body p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--muted); flex: 1; }
.go { align-self: flex-start; margin-top: 8px; padding: 10px 26px 6px; font-size: 22px; background: var(--red); color: var(--cream); border-radius: 12px; }
.card:hover .go { background: #f25450; }

.foot { margin-top: 32px; font-size: 15px; color: var(--muted); }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 16px 16px 0; }
.pill { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06);
  color: var(--cream); font: 600 16px 'Oswald', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.pill:hover, .pill:focus-visible { border-color: var(--gold); outline: none; }
.pill--gold { background: var(--gold); border-color: var(--gold); color: #1D2E59; }
.pill--gold:hover { background: #ffe37a; }
main { padding-top: 24px; }

.overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 18, 0.7); }
.overlay[hidden] { display: none; }
.sheet { position: relative; width: min(420px, 100%); padding: 28px 24px 24px; border-radius: 18px; background: var(--card); border: 2px solid var(--line); text-align: center; }
.sheet h2 { margin: 0; font-size: 34px; font-weight: normal; color: var(--gold); }
.sheet p { margin: 10px 0 18px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.sheet .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.sheet img { display: block; margin: 0 auto 8px; border-radius: 10px; background: #fff; padding: 6px; }
.sheet small { color: var(--muted); font-size: 14px; }
.close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--cream); font-size: 16px; cursor: pointer; }
