:root {
  --felt-top: #124a36;
  --felt-bottom: #08261c;
  --panel: rgba(255, 255, 255, .07);
  --rule: rgba(255, 255, 255, .12);
  --ink: #f6f2e8;
  --ink-soft: #b9c7bf;
  --gold: #f5c24f;
  --red: #d6293a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 194, 79, .14), transparent 55%),
              linear-gradient(var(--felt-top), var(--felt-bottom)) fixed;
  background-color: var(--felt-bottom);
  font: 400 17px/1.6 "Nunito", ui-rounded, system-ui, sans-serif;
}

main { max-width: 720px; margin: 0 auto; padding: 48px 16px 64px; }

a { color: var(--gold); }

h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); margin: 18px 0 8px; }
h1 em { font-style: normal; color: var(--gold); }
h2 { font-size: 1.45rem; margin: 40px 0 10px; }
h3 { margin: 22px 0 4px; font-size: 1.05rem; }

.lede { color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 28px; }

.hero { text-align: center; }
.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }

.fan { display: flex; justify-content: center; margin: 22px 0 6px; height: 96px; }
.fan span {
  width: 62px; height: 88px; margin: 0 -10px; border-radius: 9px;
  background: #fff; color: #1a1c21; font: 700 22px/1 ui-rounded, system-ui;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transform-origin: 50% 120%;
  animation: deal .8s cubic-bezier(.2, 1.3, .4, 1) both;
}
.fan span.r { color: var(--red); }
.fan span:nth-child(1) { --a: -18deg; animation-delay: .05s; }
.fan span:nth-child(2) { --a: -6deg; animation-delay: .12s; }
.fan span:nth-child(3) { --a: 6deg; animation-delay: .19s; }
.fan span:nth-child(4) { --a: 18deg; animation-delay: .26s; }
.fan span { transform: rotate(var(--a)); }
@keyframes deal { from { transform: translateY(80px) rotate(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fan span { animation: none; } }

.badge { display: inline-block; margin-top: 10px; }
.badge img { height: 54px; }

.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 6px 20px 16px;
  margin: 16px 0;
}

details { border-top: 1px solid var(--rule); padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--ink-soft); margin: 8px 0 0; }

.muted { color: var(--ink-soft); }
footer { margin-top: 48px; color: var(--ink-soft); font-size: .9rem; text-align: center; }
footer a { margin: 0 8px; }
