:root {
  color-scheme: dark;
  --ink: #100e0d;
  --panel: #1b1612;
  --paper: #f8f2e8;
  --muted: #c7b9a8;
  --gold: #ffc744;
  --line: #45372a;
  --display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --body: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
section[id], details[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 77rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .8rem 1rem; color: var(--ink); background: var(--gold); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { position: relative; z-index: 2; background: #100e0d; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(8rem, 15vw, 10.5rem); height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.header nav a, .header-action { font-size: .875rem; font-weight: 700; text-decoration: none; }
.header nav a:hover, .footer a:hover { color: var(--gold); }
.header-action { color: var(--gold); padding: .5rem .8rem; border: 1px solid #795b2c; text-align: center; }
.header-action:hover { border-color: var(--gold); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(38.5rem, 52vw, 51rem); overflow: hidden; background: #100d0b; }
.hero-art, .hero::after { position: absolute; inset: 0; }
.hero-art { z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero::after { z-index: -1; content: ''; background: linear-gradient(90deg, #100c0beb 0%, #100c0bb3 27%, #100c0b35 50%, transparent 66%), linear-gradient(0deg, #120e0dda 0%, transparent 27%); }
.hero-inset { padding-block: 2.35rem 3.2rem; }
.hero-copy { width: min(100%, 33rem); }
.hero-logo { width: clamp(13rem, 20.5vw, 18.5rem); height: auto; margin: 0 0 .6rem .15rem; filter: drop-shadow(0 .4rem 1.2rem #000b); }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .99; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 4.9vw, 4.9rem); margin: .4rem 0 .85rem; }
h2 { font-size: clamp(2.55rem, 5.6vw, 5rem); }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.hero-lead { max-width: 27rem; color: var(--paper); font-size: clamp(1rem, 1.6vw, 1.19rem); text-shadow: 0 1px 8px #000; }
.hero-reward { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .66rem 1.13rem; border: 1px solid transparent; border-radius: .2rem; font-size: .875rem; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button-gold { color: #181007; background: var(--gold); border-color: var(--gold); }
.button-gold:hover { background: #ffda73; border-color: #ffda73; }
.button-outline { color: var(--paper); background: #110e0bd9; border-color: #997646; }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-logo, .hero-message { animation: arrive .75s ease-out both; }
.hero-message { animation-delay: .11s; }
@keyframes arrive { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }

.section { padding-block: clamp(3.4rem, 8vw, 7rem); }
.section-intro .eyebrow, .prize .eyebrow { margin-bottom: .65rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.5rem); padding: 0; margin-top: 2rem; }
.steps li { border-top: 1px solid #7e6037; padding-top: 1.15rem; }
.step-number { display: block; width: fit-content; margin-bottom: .65rem; color: var(--gold); font: 1.75rem/1 var(--display); }
.steps h3, .example h3 { margin-bottom: .36rem; font-size: clamp(1.15rem, 2.5vw, 1.55rem); line-height: 1.22; }
.steps p, .example p:not(.eyebrow), .prize-copy p:not(.eyebrow), .receipt p, .rules-content, .faq-list p { color: var(--muted); }
.example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2.75rem; padding: clamp(1.2rem, 4vw, 2.35rem); border: 1px solid var(--line); background: linear-gradient(110deg, #251a12, #171310 68%); }
.example .eyebrow { margin-bottom: .5rem; }
.example strong { color: var(--paper); }
.simulator { min-width: 0; align-self: center; }
.simulator label { display: block; font-weight: 700; margin-bottom: .55rem; }
.simulator-controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.input-wrap { display: flex; align-items: center; flex: 1 1 9rem; gap: .35rem; padding-inline: .75rem; min-width: 0; min-height: 3.1rem; background: #130f0d; border: 1px solid #78614a; border-radius: .2rem; }
.input-wrap > span { color: var(--muted); }
.input-wrap:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.input-wrap input { width: 100%; min-width: 0; padding-block: .55rem; color: var(--paper); background: transparent; border: 0; outline: 0; }
.input-wrap:has([aria-invalid='true']) { border-color: #ff9f82; }
.simulator output { display: block; min-height: 1.5em; margin-top: .55rem; color: #ffda73; font-size: .9rem; }

.prize { background: radial-gradient(ellipse at 20% 30%, #2e1d14, transparent 62%), #1a1511; border-block: 1px solid var(--line); }
.prize-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 5vw, 4.25rem); align-items: center; padding-block: clamp(1.5rem, 5vw, 4.6rem); }
.prize-visual { position: relative; padding: .43rem; border: 1px solid #795734; }
.prize-visual img { width: 100%; height: auto; }
.prize-copy h2 em { display: block; }
.prize-copy > p:not(.eyebrow) { margin-top: 1.1rem; }

.participation { padding-bottom: 0; }
.participation-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.35rem, 5vw, 3.35rem); border: 1px solid #76562f; background: radial-gradient(ellipse at 0% 70%, #382513, transparent 59%), #1b1510; }
.participation h2 { font-size: clamp(2.3rem, 4.65vw, 4.35rem); }
.campaign-ball { width: clamp(6rem, 13vw, 10rem); height: auto; border-radius: 50%; box-shadow: .25rem .65rem 1rem #090503ab; }
.rules { margin-top: 1.2rem; border-block: 1px solid #76562f; }
.rules summary { padding-block: .75rem; color: var(--gold); font-weight: 700; cursor: pointer; }
.rules summary:hover { color: var(--paper); }
.rules-content { padding: 0 0 1rem; }
.rules-content ul { margin: 0; padding-inline-start: 1.2rem; }
.rules-content li + li { margin-top: .4rem; }
.rules-content a { display: inline-block; margin-top: .65rem; color: var(--gold); }
.receipt { margin-top: 1.25rem; }
.receipt h3 { font-size: 1.1rem; }
.receipt p { margin-top: .2rem; }
.receipt .actions { justify-content: flex-start; margin-top: 0; }
.receipt [data-unconfigured]:not([hidden]) + .actions:has(a:not([hidden])) { margin-top: .75rem; }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.7rem; gap: .75rem; padding-block: .8rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: .56rem; height: .56rem; margin-right: .25rem; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--gold); }
.faq-list p { margin: 0 1.4rem 1rem 0; }

.footer { border-top: 1px solid var(--line); padding-block: 2rem; background: #15110e; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.1rem 2.5rem; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.footer p { margin-bottom: .36rem; }
.footer-name, .footer strong { color: var(--paper); font-weight: 700; }
.footer strong { display: block; }
.footer a { text-underline-offset: .2em; }
.in-view { animation: section-arrive .55s ease-out; }
@keyframes section-arrive { from { opacity: .58; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 35rem); }
  .header-inner { min-height: 4rem; flex-wrap: wrap; gap: 0 .7rem; padding-block: .65rem 0; }
  .header nav { order: 3; justify-content: space-between; flex: 1 0 100%; margin-top: .55rem; border-top: 1px solid var(--line); }
  .header nav a { padding-block: .58rem; }
  .header-action { font-size: .8125rem; }
  .hero { min-height: auto; text-align: center; }
  .hero-art { height: min(96vw, 32rem); }
  .hero-art img { object-position: center 53%; }
  .hero::after { height: min(96vw, 32rem); background: linear-gradient(180deg, #0a080787, transparent 41%, transparent 69%, #100d0b); }
  .hero-inset { padding: 1rem 0 2.2rem; }
  .hero-copy { width: 100%; }
  .hero-logo { width: clamp(6rem, 26vw, 9.25rem); margin: 0 auto; }
  .hero-message { margin-top: clamp(9.5rem, 56vw, 19.5rem); }
  h1 { font-size: clamp(2.75rem, 9.7vw, 4.9rem); margin-bottom: .8rem; }
  .hero-lead { margin-inline: auto; }
  .actions { justify-content: center; margin-top: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1.15rem; margin-top: 1.45rem; }
  .steps li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; }
  .step-number { grid-row: 1 / span 2; margin-bottom: 0; min-width: 1.75rem; }
  .steps h3 { margin-bottom: 0; }
  .example, .prize-grid { grid-template-columns: 1fr; }
  .example { margin-top: 1.7rem; }
  .participation-panel { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .actions .button { width: 100%; }
  .simulator-controls .button { flex: 1 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
