/* MD88 AUS · Halloween Pumpkin Smash */
:root {
  color-scheme: dark;
  --bg: #0b1024;
  --panel: #141c35;
  --panel-light: #1d2542;
  --text: #f8f4ed;
  --muted: #a9b1c8;
  --cyan: #00b9ef;
  --cyan-light: #64dfff;
  --orange: #ff974b;
  --orange-deep: #f06325;
  --purple: #9472e7;
  --line: rgba(196, 207, 244, .12);
  --shadow: 0 20px 70px rgba(1, 4, 20, .28);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 15% 21%, rgba(58, 29, 109, .18), transparent 42%), radial-gradient(ellipse at 95% 48%, rgba(0, 112, 174, .08), transparent 40%), var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, a, input, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan-light); outline-offset: 5px; }
::selection { color: white; background: #7560bc; }
.site-header { background: #121827; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.header-inner { max-width: 1180px; min-height: 86px; padding: 16px 0; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.brand img { display: block; width: 122px; height: auto; max-height: 52px; object-fit: contain; }
.region { padding: 5px 10px; font-size: 10px; font-weight: 750; letter-spacing: .16em; color: #ced8ef; border-left: 1px solid #475069; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.demo-badge { border: 1px solid #35445c; background: #192438; color: #a6b5cb; border-radius: 20px; padding: 4px 10px; font-size: 11px; line-height: 20px; }
.activity-nav { background: #1b2436; border-bottom: 1px solid rgba(255,255,255,.04); }
.nav-inner { max-width: 1180px; margin: auto; min-height: 48px; display: flex; gap: 26px; align-items: stretch; }
.nav-inner a, .nav-button { display: inline-flex; justify-content: center; align-items: center; padding: 0 2px; color: #a5b1c6; font-size: 12px; font-weight: 600; border: 0; border-bottom: 2px solid transparent; background: transparent; white-space: nowrap; }
.nav-inner a.active { border-bottom-color: var(--cyan); color: #f4faff; }
.nav-inner a:hover, .nav-button:hover { color: var(--cyan-light); }
.nav-button { margin-left: auto; }
main { max-width: 1180px; margin: 0 auto; padding: 34px 0 48px; }
.hero {
  min-height: 350px; border: 1px solid rgba(173, 147, 239, .13); border-radius: 24px;
  background: radial-gradient(ellipse at 78% 45%, rgba(112, 57, 162, .44), transparent 46%), radial-gradient(ellipse at 88% 90%, rgba(19, 102, 164, .28), transparent 40%), linear-gradient(114deg, #201835, #18233c 66%, #161932);
  display: grid; grid-template-columns: 1.13fr 1fr; position: relative; overflow: hidden; isolation: isolate;
}
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(circle at 48% 17%, #eecc95 0 1px, transparent 2px), radial-gradient(circle at 68% 10%, #a49ad6 0 1px, transparent 2px), radial-gradient(circle at 79% 31%, #ffc379 0 1px, transparent 2px), radial-gradient(circle at 92% 19%, #dcddff 0 1px, transparent 2px), radial-gradient(circle at 57% 69%, #b5b8de 0 1px, transparent 2px), radial-gradient(circle at 87% 79%, #b6a1ff 0 1px, transparent 2px); }
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 80%; height: 130px; right: -20%; bottom: -68px; border-radius: 50%; background: #745597; filter: blur(40px); opacity: .3; }
.hero-content { padding: 43px 0 39px 44px; position: relative; z-index: 2; }
.eyebrow { color: var(--cyan-light); font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }
.season-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; margin-bottom: 17px; background: rgba(255, 162, 99, .1); border: 1px solid rgba(255, 162, 99, .19); border-radius: 30px; color: #f6bd8a; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
h1 { margin: 0 0 16px; font-size: clamp(38px, 4.35vw, 58px); font-weight: 850; letter-spacing: -.045em; line-height: 1.06; max-width: 600px; }
h1 span, h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 430px; margin: 0; font-size: 14px; line-height: 1.7; color: #bfc2d6; }
.hero-art { display: flex; align-items: center; justify-content: center; padding: 8px 15px 0 0; position: relative; }
.hero-art svg { width: 100%; max-width: 470px; height: auto; display: block; filter: drop-shadow(0 18px 22px rgba(6, 5, 21, .26)); }
.event-facts { display: flex; gap: 25px; margin-top: 26px; }
.fact { padding-right: 25px; border-right: 1px solid rgba(214, 193, 246, .15); color: #9fa7c0; font-size: 10px; line-height: 1.35; }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact-number { display: block; margin-bottom: 5px; font-weight: 750; color: #f3ede7; font-size: 18px; letter-spacing: -.02em; }
.dashboard { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 22px 0 39px; background: #121c32; border: 1px solid var(--line); border-radius: 16px; padding: 22px 27px; box-shadow: 0 5px 20px rgba(0,0,0,.06); }
.player-info { display: flex; align-items: center; gap: 13px; min-width: 145px; }
.avatar { flex: 0 0 auto; width: 43px; height: 43px; border-radius: 50%; background: #233455; border: 1px solid #384967; display: inline-flex; justify-content: center; align-items: center; color: #8ddfff; font-size: 19px; font-weight: 650; }
.player-name { font-size: 14px; display: block; color: #e1e9f7; font-weight: 700; }
.player-caption { color: #8998b2; font-size: 11px; margin: 3px 0 0; }
.deposit-info { display: flex; gap: 13px; align-items: baseline; white-space: nowrap; }
.deposit-label { color: #a1afc5; font-size: 12px; }
#deposit-total { color: #9beaff; font-size: 26px; line-height: 1; font-weight: 750; letter-spacing: -.045em; }
.account-progress { min-width: 205px; max-width: 300px; color: #96a6be; font-size: 11px; text-align: right; }
.account-progress strong { color: #e9e7ee; font-weight: 650; }
.account-progress progress { appearance: none; display: block; width: 100%; height: 5px; margin-top: 9px; border: 0; background: #283651; border-radius: 10px; overflow: hidden; }
.account-progress progress::-webkit-progress-bar { background: #283651; }
.account-progress progress::-webkit-progress-value { background: linear-gradient(90deg, #048ec2, #6ddffd); border-radius: 10px; }
.account-progress progress::-moz-progress-bar { background: #36c8f4; border-radius: 10px; }
.account-progress .progress-line { height: 5px; border-radius: 5px; overflow: hidden; margin-top: 9px; background: #283651; }
.account-progress .progress-line span { display: block; height: 100%; background: linear-gradient(90deg, #048ec2, #6ddffd); border-radius: 5px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin: 0 0 23px; }
.section-kicker { color: var(--orange); font-size: 10px; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: 27px; letter-spacing: -.025em; line-height: 1.25; margin: 0; font-weight: 750; }
.section-note { color: #96a3bb; font-size: 12px; margin: 0 0 3px; max-width: 300px; text-align: right; }
.pumpkin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pumpkin-card { position: relative; isolation: isolate; text-align: center; border: 1px solid #39404e; border-radius: 20px; min-height: 382px; background: radial-gradient(ellipse at 50% 48%, rgba(121, 64, 31, .17), transparent 61%), linear-gradient(160deg, #1e2231, #141c30); padding: 23px 23px 20px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; width: 100%; }
.pumpkin-card::before { content: ""; pointer-events: none; position: absolute; z-index: -1; width: 180px; height: 90px; border-radius: 50%; bottom: 120px; left: calc(50% - 90px); filter: blur(32px); background: #f3812a; opacity: .1; transition: opacity .3s; }
.pumpkin-card[data-state="ready"] { border-color: #c76b31; background: radial-gradient(ellipse at 50% 45%, rgba(174, 77, 19, .22), transparent 65%), linear-gradient(160deg, #282130, #191d31); box-shadow: inset 0 1px 0 rgba(255, 162, 97, .15); }
.pumpkin-card[data-state="ready"]::before { opacity: .25; }
.pumpkin-card[data-state="ready"]:hover { transform: translateY(-5px); border-color: #f9a266; box-shadow: 0 17px 30px rgba(0,0,0,.24), 0 0 28px rgba(255,121,35,.09); }
.pumpkin-card[data-state="locked"] { border-color: #303a50; }
.pumpkin-card[data-state="claimed"] { border-color: #36564f; background: radial-gradient(ellipse at 50% 42%, rgba(57, 106, 87, .16), transparent 60%), linear-gradient(160deg, #1d2937, #151d2e); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 2; }
.pumpkin-number { color: #c7c4d0; font-size: 11px; letter-spacing: .055em; font-weight: 650; }
.state-chip { border-radius: 20px; padding: 4px 9px; background: #292f40; border: 1px solid #3b4254; color: #a8b0c0; font-size: 9px; font-weight: 650; }
[data-state="ready"] .state-chip { background: #54311f; color: #ffc798; border-color: #865338; }
[data-state="claimed"] .state-chip { background: #263c39; color: #9fd6b9; border-color: #426257; }
.pumpkin-art { position: relative; width: 100%; height: 166px; display: flex; justify-content: center; align-items: center; margin: 8px 0 3px; }
.pumpkin-art svg { width: 205px; max-width: 94%; height: 164px; overflow: visible; filter: drop-shadow(0 13px 10px rgba(0,0,0,.18)); transition: transform .25s, filter .3s; }
[data-state="locked"] .pumpkin-art svg { filter: saturate(.55) brightness(.73) drop-shadow(0 13px 10px rgba(0,0,0,.2)); }
[data-state="claimed"] .pumpkin-art svg { filter: saturate(.7) brightness(.82) drop-shadow(0 13px 10px rgba(0,0,0,.2)); }
[data-state="ready"]:hover .pumpkin-art svg { transform: rotate(-3deg) translateY(-3px); }
.pumpkin-reward { display: flex; align-items: baseline; justify-content: center; gap: 7px; color: #ffbc7a; margin: 0; line-height: 1.2; }
.pumpkin-reward strong { font-size: 43px; font-weight: 800; letter-spacing: -.035em; }
.pumpkin-reward small { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
[data-state="locked"] .pumpkin-reward { color: #d2aa87; }
[data-state="claimed"] .pumpkin-reward { color: #becabb; }
.threshold { display: block; color: #a1a3b7; font-size: 11px; margin: 9px 0 19px; line-height: 1.5; }
.threshold strong { font-weight: 650; color: #e1ddd9; }
.card-action { width: 100%; border-radius: 9px; min-height: 41px; padding: 10px 7px; background: #263147; border: 1px solid #374259; display: flex; align-items: center; justify-content: center; gap: 7px; color: #929fb7; font-size: 12px; font-weight: 650; line-height: 1.5; }
[data-state="ready"] .card-action { background: linear-gradient(110deg, #ed7530, #ffad61); border-color: #ffaa63; color: #271509; box-shadow: 0 3px 12px rgba(251,134,53,.16); }
[data-state="claimed"] .card-action { color: #9fccb7; border-color: #3d5e53; background: #253c35; }
.lock-icon { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; }
.lock-icon svg { width: 13px; height: 13px; }
.pumpkin-card[data-state="smashing"] { border-color: #f7ac6c; box-shadow: 0 0 50px rgba(255,145,59,.19); }
[data-state="smashing"] .pumpkin-art svg { animation: pumpkin-smash .75s ease both; transform-origin: 50% 82%; }
[data-state="smashing"] .pumpkin-art::after { content: "🔨"; position: absolute; font-size: 59px; left: calc(50% + 21px); top: -5px; transform-origin: 90% 90%; animation: hammer-swing .72s ease-in both; filter: drop-shadow(2px 6px 4px rgba(0,0,0,.25)); }
[data-state="smashing"] .pumpkin-art::before { content: ""; position: absolute; width: 7px; height: 11px; border-radius: 2px; background: #ffad59; top: 65px; left: 49%; box-shadow: -50px -30px 0 #f3bd71, 46px -20px 0 #ed7134, -40px 38px 0 #ee9344, 53px 30px 0 #ffc47d, 15px -52px 0 #d9692c; animation: pumpkin-sparks .75s ease-out both; }
[data-state="smashing"] .card-action { background: #624028; border-color: #9c663e; color: #f4c399; }
.deposit-track { position: relative; margin: 23px 10px 41px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.track-line { position: absolute; height: 1px; width: 66.66%; left: 16.67%; top: 6px; background: #35405c; }
.track-marker { position: relative; z-index: 1; color: #74859f; font-size: 10px; }
.track-node { display: block; width: 13px; height: 13px; background: #172238; border: 2px solid #4b5771; border-radius: 50%; margin: 0 auto 8px; box-shadow: 0 0 0 5px #0c1226; }
.track-marker[data-state="ready"] { color: #e6ae77; }
.track-marker[data-state="ready"] .track-node { background: #ed944c; border-color: #ffbe77; }
.track-marker[data-state="claimed"] { color: #91c8b2; }
.track-marker[data-state="claimed"] .track-node { background: #8bcdad; border-color: #b8e8ce; }
.how-section { border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 30px; }
.how-section h2 { font-size: 22px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; margin-top: 20px; }
.how-step { display: flex; gap: 13px; align-items: flex-start; }
.step-no { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #1d2841; border: 1px solid #2c3b57; font-size: 11px; font-weight: 750; color: #87d6eb; }
.how-step h3 { font-size: 13px; margin: 2px 0 5px; font-weight: 650; color: #d8ddeb; }
.how-step p { color: #8191ab; font-size: 11px; line-height: 1.7; margin: 0; max-width: 275px; }
.details-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: start; }
.rules, .demo-controls { border: 1px solid #27334b; border-radius: 12px; background: #111b30; overflow: hidden; }
summary { padding: 17px 20px; color: #b6c3d7; font-size: 12px; font-weight: 650; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #7c91ac; font-size: 18px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details[open] summary { border-bottom: 1px solid #25314a; }
.rules ol { padding: 0 22px 0 38px; margin: 19px 0 21px; color: #8e9fb8; font-size: 11px; line-height: 1.8; }
.rules li { padding-left: 3px; margin: 7px 0; }
.demo-form { padding: 17px 20px 0; display: flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.demo-form label { color: #99acc4; font-size: 11px; flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 6px; }
.demo-form input { width: 100%; background: #0b1427; border: 1px solid #3a4b65; color: #eaf7fc; border-radius: 7px; padding: 9px 11px; height: 39px; font-size: 13px; }
.demo-form button { height: 39px; padding: 0 18px; font-size: 11px; }
.demo-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 20px 0; }
.demo-presets button { border: 1px solid #324362; color: #91bfda; background: #1d2c45; font-size: 10px; border-radius: 6px; padding: 5px 10px; }
.demo-presets button:hover { color: #daf6ff; border-color: #5c91ab; }
.demo-hint { color: #72869f; font-size: 10px; margin: 13px 20px 18px; line-height: 1.65; }
.primary { border: 1px solid #2cc5ef; background: linear-gradient(110deg, #04a8e0, #28c3ed); color: #042033; padding: 11px 21px; font-size: 12px; font-weight: 750; border-radius: 9px; box-shadow: 0 3px 15px rgba(0,172,227,.11); transition: background .2s, transform .2s; }
.primary:hover { background: linear-gradient(110deg, #27bbea, #67def9); transform: translateY(-1px); }
.outline { border: 1px solid #3b4b66; color: #b7cce0; padding: 11px 20px; background: transparent; font-size: 12px; font-weight: 600; border-radius: 9px; }
.outline:hover { color: #e6f8ff; background: #21314a; border-color: #6896ac; }
.text-button { border: 0; padding: 8px 0; color: #92a7c0; font-size: 11px; background: transparent; }
.text-button:hover { color: #6ddcfa; }
.wide { width: 100%; }
.site-footer { max-width: 1180px; margin: auto; padding: 25px 0 31px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #677d9a; font-size: 9px; letter-spacing: .07em; }
.footer-brand img { width: 76px; height: auto; opacity: .7; }
.footer-note { color: #657894; font-size: 10px; line-height: 1.7; max-width: 450px; text-align: right; }
.site-footer .text-button { font-size: 10px; color: #7d94af; white-space: nowrap; }
dialog { color: var(--text); background: radial-gradient(ellipse at 50% 25%, #35263e, transparent 64%), #151e32; border: 1px solid #46506c; border-radius: 24px; box-shadow: 0 25px 120px #010515aa; padding: 35px; width: min(430px, calc(100vw - 34px)); max-height: calc(100dvh - 50px); overflow: auto; }
dialog::backdrop { background: rgba(3, 7, 20, .78); backdrop-filter: blur(9px); }
.dialog-close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; background: #ffffff08; border: 1px solid #ffffff10; color: #919ab0; border-radius: 50%; font-size: 23px; font-weight: 300; line-height: 1; }
.dialog-close:hover { background: #ffffff12; color: white; }
.reward-dialog { text-align: center; padding-top: 27px; overflow: hidden; }
.reward-dialog .eyebrow { color: #e2ae7e; margin-bottom: 9px; font-size: 9px; }
.reward-dialog h2 { font-size: 30px; }
.reward-pumpkin { height: 145px; display: flex; align-items: center; justify-content: center; position: relative; }
.reward-pumpkin svg { width: 163px; height: 140px; filter: drop-shadow(0 8px 20px #ff8e2720); animation: reward-bob 2.8s ease-in-out infinite; }
.reward-number { font-size: 65px; line-height: 1.05; letter-spacing: -.05em; font-weight: 850; color: #ffb46c; margin: 18px 0 6px; }
.reward-number span, .reward-number small { color: #ffc597; font-size: 18px; letter-spacing: -.01em; }
.reward-description { color: #bac2d4; font-size: 13px; margin: 0 0 20px; }
.reward-meta { color: #939db7; font-size: 10px; border: 1px solid #454352; background: #ffffff04; border-radius: 9px; padding: 12px; margin: 20px 0; }
.reward-meta strong { color: #d9d4d4; }
.small-note { color: #818da6; font-size: 10px; line-height: 1.7; margin: 13px 0 0; }
.reward-confetti { position: absolute; pointer-events: none; left: 50%; top: 50px; width: 4px; height: 8px; background: #e58c48; box-shadow: -114px 46px #e29d6b, 113px 30px #705cbb, 127px 115px #d99a44, -134px 135px #60aace, 67px 168px #e9a04d, -77px 8px #ad81cb; transform: rotate(20deg); opacity: .75; }
.history-dialog h2, .reset-dialog h2 { margin-bottom: 14px; }
.dialog-copy { color: #9daac0; font-size: 12px; line-height: 1.8; margin-bottom: 24px; }
#history-list { margin: 22px 0; }
.history-row { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #324059; text-align: left; }
.history-row strong { color: #f4b87b; font-size: 15px; display: block; }
.history-row small, .history-row time { color: #8293b0; font-size: 10px; }
.history-row .history-icon { font-size: 25px; }
.history-empty { border: 1px dashed #3b4a65; border-radius: 10px; color: #9cacbf; padding: 32px 15px; text-align: center; font-size: 12px; }
.reset-dialog { background: #151f33; }
.reset-dialog .text-button { margin-top: 9px; }
.toast { position: fixed; bottom: 28px; left: 50%; z-index: 100; max-width: min(440px, calc(100vw - 30px)); width: max-content; background: #27344a; color: #f1f4f9; border: 1px solid #4c5a72; box-shadow: 0 8px 35px #0007; border-radius: 12px; padding: 13px 22px; font-size: 12px; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes hammer-swing { 0% { opacity: 0; transform: rotate(48deg) translate(25px,-32px); } 12% { opacity: 1; } 40% { transform: rotate(-52deg) translate(-15px,32px); } 55% { transform: rotate(-42deg) translate(-10px,20px); } 100% { opacity: 0; transform: rotate(20deg) translate(35px,-55px); } }
@keyframes pumpkin-smash { 0%, 35% { transform: rotate(0) scale(1); opacity: 1; } 40% { transform: rotate(5deg) scale(1.09,.89); } 46% { transform: rotate(-8deg) scale(.95,1.03); } 53% { transform: rotate(7deg) scale(1.04,.91); } 62% { transform: rotate(-4deg) scale(.98); } 75% { transform: rotate(0) scale(1.13); opacity: 1; } 100% { transform: rotate(0) scale(.85); opacity: .15; } }
@keyframes pumpkin-sparks { 0%, 39% { transform: scale(0) rotate(0); opacity: 0; } 43% { opacity: 1; } 100% { transform: scale(1.9) rotate(25deg); opacity: 0; } }
@keyframes reward-bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
@media (min-width: 1600px) { main { padding-top: 42px; } .hero { min-height: 370px; } }
@media (max-width: 1250px) { .header-inner, .nav-inner, main, .site-footer { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 980px) {
  .header-inner, .nav-inner, main, .site-footer { margin-left: 25px; margin-right: 25px; }
  .header-inner { min-height: 76px; }
  .hero-content { padding: 33px 0 32px 30px; }
  .hero { min-height: 340px; grid-template-columns: 1.1fr 1fr; }
  h1 { font-size: 43px; }
  .hero-art { padding: 15px 5px 0 0; }
  .hero-copy { font-size: 13px; }
  .event-facts { gap: 17px; }
  .fact { padding-right: 17px; }
  .dashboard { padding: 20px; gap: 18px; }
  .deposit-info { gap: 8px; flex-direction: column; }
  .account-progress { min-width: 170px; }
  .pumpkin-grid { gap: 14px; }
  .pumpkin-card { padding: 20px 17px 18px; min-height: 360px; }
  .pumpkin-art { height: 155px; }
  .pumpkin-art svg { width: 180px; height: 151px; }
  .pumpkin-reward strong { font-size: 39px; }
  .pumpkin-reward small { font-size: 9px; }
  .section-note { max-width: 270px; }
}
@media (max-width: 720px) {
  .header-inner, .nav-inner, main, .site-footer { margin-left: 20px; margin-right: 20px; }
  .header-inner { min-height: 72px; gap: 12px; padding: 14px 0; }
  .brand { gap: 9px; }
  .brand img { width: 99px; max-height: 40px; }
  .region { font-size: 8px; padding: 3px 7px; }
  .header-actions { gap: 8px; }
  .demo-badge { display: none; }
  .nav-inner { min-height: 44px; gap: 19px; }
  .nav-inner a, .nav-button { font-size: 11px; }
  main { padding-top: 22px; padding-bottom: 30px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 19px; }
  .hero-content { padding: 28px 25px 0; }
  .hero-content .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .season-chip { font-size: 10px; margin-bottom: 14px; }
  h1 { font-size: clamp(35px, 7.5vw, 49px); max-width: 500px; margin-bottom: 13px; }
  .hero-copy { max-width: 480px; font-size: 12px; }
  .event-facts { gap: 19px; margin-top: 21px; }
  .fact { padding-right: 19px; font-size: 9px; }
  .fact-number { font-size: 17px; }
  .hero-art { min-height: 205px; height: 235px; padding: 0 15px; margin-top: -8px; }
  .hero-art svg { width: 370px; height: 243px; max-width: 100%; }
  .dashboard { margin: 17px 0 29px; padding: 17px 19px; flex-wrap: wrap; column-gap: 12px; row-gap: 16px; }
  .player-info { min-width: 0; flex: 1; }
  .avatar { width: 36px; height: 36px; font-size: 15px; }
  .player-name { font-size: 12px; }
  .player-caption { font-size: 10px; }
  .deposit-info { gap: 6px; text-align: right; align-items: flex-end; }
  .deposit-label { font-size: 10px; }
  #deposit-total { font-size: 22px; }
  .account-progress { min-width: 100%; max-width: none; text-align: left; border-top: 1px solid #27334b; padding-top: 12px; font-size: 10px; }
  .section-heading { align-items: flex-start; margin-bottom: 19px; gap: 12px; }
  h2 { font-size: 24px; }
  .section-kicker { font-size: 9px; letter-spacing: .15em; }
  .section-note { font-size: 10px; max-width: 160px; padding-top: 3px; }
  .pumpkin-grid { grid-template-columns: 1fr; gap: 15px; }
  .pumpkin-card { min-height: 0; display: grid; grid-template-columns: 43% 57%; grid-template-rows: auto auto auto auto; padding: 18px 20px 20px; text-align: left; border-radius: 17px; }
  .card-heading { grid-column: 1 / -1; margin-bottom: 10px; }
  .pumpkin-number { font-size: 10px; }
  .state-chip { font-size: 9px; }
  .pumpkin-art { grid-column: 1; grid-row: 2 / 5; width: 100%; height: 148px; margin: 0; }
  .pumpkin-art svg { width: 155px; height: 142px; max-width: 110%; }
  .pumpkin-reward { grid-column: 2; justify-content: flex-start; align-self: end; padding: 8px 0 0 14px; gap: 7px; }
  .pumpkin-reward strong { font-size: 44px; }
  .pumpkin-reward small { font-size: 10px; max-width: 80px; }
  .threshold { grid-column: 2; margin: 7px 0 14px 14px; font-size: 10px; }
  .card-action { grid-column: 2; width: calc(100% - 14px); margin-left: 14px; min-height: 37px; font-size: 10px; padding: 8px 5px; }
  .pumpkin-card::before { width: 140px; height: 110px; left: 12px; top: 50px; bottom: auto; }
  [data-state="smashing"] .pumpkin-art::after { font-size: 46px; left: calc(50% + 4px); top: -3px; }
  .deposit-track { margin: 20px 4px 29px; }
  .track-marker { font-size: 9px; }
  .how-section { padding-top: 27px; margin-bottom: 24px; }
  .how-section h2 { font-size: 21px; }
  .how-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
  .how-step { gap: 13px; }
  .how-step h3 { font-size: 12px; }
  .how-step p { max-width: none; font-size: 11px; }
  .details-row { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { display: flex; flex-wrap: wrap; padding-top: 23px; row-gap: 14px; column-gap: 15px; }
  .footer-brand { flex: 1; min-width: 170px; font-size: 8px; }
  .footer-brand img { width: 70px; }
  .footer-note { text-align: left; order: 3; width: 100%; max-width: none; font-size: 9px; }
  .site-footer .text-button { font-size: 9px; }
  dialog { padding: 30px 25px; border-radius: 19px; }
  .reward-dialog h2 { font-size: 26px; }
  .reward-number { font-size: 59px; }
}
@media (max-width: 380px) {
  .header-inner, .nav-inner, main, .site-footer { margin-left: 15px; margin-right: 15px; }
  .region { display: none; }
  .nav-inner { gap: 13px; }
  .nav-inner a, .nav-button { font-size: 10px; }
  .hero-content { padding: 25px 20px 0; }
  h1 { font-size: 35px; }
  .hero-art { height: 213px; }
  .hero-art svg { height: 219px; }
  .event-facts { gap: 13px; }
  .fact { padding-right: 13px; font-size: 8px; }
  .section-heading { flex-direction: column; gap: 9px; }
  .section-note { text-align: left; max-width: none; }
  .pumpkin-card { padding: 16px; grid-template-columns: 42% 58%; }
  .pumpkin-reward strong { font-size: 38px; }
  .pumpkin-reward small { font-size: 9px; }
  .pumpkin-art svg { width: 143px; }
  .threshold { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pumpkin-card[data-state="ready"]:hover, [data-state="ready"]:hover .pumpkin-art svg { transform: none; }
  [data-state="smashing"] .pumpkin-art svg { opacity: .7; }
}
/* Activity-specific artwork and controls */
body.modal-open { overflow: hidden; }
h1 span, h1 em { display: block; }
h1 span { color: var(--text); }
.nav-button { margin-left: 0; }
.nav-inner > .season-chip { margin: auto 0 auto auto; font-size: 9px; padding: 4px 10px; border-color: #536077; color: #bdc7db; background: #29354b; }
.hero-art > svg { position: relative; z-index: 2; width: 355px; max-width: 90%; height: 310px; transform: rotate(7deg); }
.hero-moon { position: absolute; z-index: 1; width: 205px; height: 205px; top: 28px; right: 59px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #ffecc1, #eac794 65%, #b88d77); box-shadow: 0 0 0 12px #e0b88805, 0 0 0 35px #e0b88803, 0 0 65px #dcb28516; opacity: .28; }
.hero-bat { position: absolute; z-index: 3; width: 51px; height: 28px; font-size: 0; background: #0c1329; clip-path: polygon(0 7%, 13% 29%, 28% 36%, 32% 5%, 44% 30%, 50% 42%, 57% 30%, 66% 8%, 71% 39%, 85% 29%, 100% 5%, 92% 77%, 74% 58%, 63% 83%, 52% 100%, 39% 83%, 27% 60%, 9% 78%); }
.bat-one { top: 69px; left: 12%; transform: rotate(-21deg); }
.bat-two { top: 43px; right: 32px; width: 33px; height: 20px; transform: rotate(16deg); opacity: .8; }
.hero-art .pumpkin-sparkles { animation: sparkle-glow 3s ease-in-out infinite; }
#opened-count { display: block; color: #d8e3f1; font-size: 19px; font-weight: 750; margin-bottom: 3px; line-height: 1.2; }
.deposit-track::before { content: ""; position: absolute; height: 1px; width: 66.66%; left: 16.67%; top: 9px; background: #35405c; }
.track-node { width: 20px; height: 20px; font-size: 8px; line-height: 16px; font-weight: 700; color: #9aa5b9; }
.track-marker strong { display: block; color: #9aa8c0; font-size: 10px; font-weight: 650; margin-bottom: 1px; }
.track-marker small { display: block; font-size: 9px; }
.track-marker[data-state="ready"] .track-node { color: #44200d; }
.track-marker[data-state="claimed"] .track-node { color: #163c2d; }
.track-marker[data-state="ready"] strong { color: #ddbd9b; }
.track-marker[data-state="claimed"] strong { color: #b8d6c6; }
.pumpkin-card[data-state="claimed"]:hover { border-color: #7caf95; transform: translateY(-3px); }
[data-state="smashing"] .pumpkin-crack { opacity: 1; animation: crack-flash .75s both; }
.lock-icon { font-size: 0; position: relative; width: 11px; height: 10px; background: #7d8ba3; border-radius: 2px; margin-right: 2px; margin-top: 3px; }
.lock-icon::before { content: ""; position: absolute; width: 7px; height: 7px; border: 2px solid #7d8ba3; border-bottom: 0; border-radius: 5px 5px 0 0; top: -5px; left: 2px; box-sizing: border-box; }
summary > span:last-child:not(:first-child) { display: none; }
.demo-form { display: block; }
.demo-form > label { display: block; min-width: 0; margin-bottom: 7px; }
.demo-input-row { display: flex; align-items: center; gap: 8px; }
.demo-input-row input { flex: 1 1 130px; min-width: 0; }
.demo-input-row button { flex: 0 0 auto; padding: 0 13px; font-size: 10px; }
.reward-confetti { font-size: 0; }
.reward-dialog { overflow: auto; }
.reward-dialog .primary { margin-top: 20px; }
.history-dialog .outline { margin-top: 20px; }
.reset-dialog .primary { margin-top: 21px; }
.history-value { text-align: right; }
.history-value strong { font-size: 25px; letter-spacing: -.04em; }
@keyframes crack-flash { 0%,36% { opacity: 0; } 43%,100% { opacity: 1; } }
@keyframes sparkle-glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (max-width: 980px) { .hero-art > svg { width: 310px; height: 287px; } .hero-moon { width: 175px; height: 175px; right: 32px; top: 48px; } }
@media (max-width: 720px) {
  .nav-inner { gap: 18px; }
  .nav-inner > .season-chip { display: none; }
  .nav-button { margin-left: auto; }
  .hero-art > svg { width: 295px; height: 242px; max-width: 100%; }
  .hero-moon { width: 153px; height: 153px; right: calc(50% - 125px); top: 7px; }
  .bat-one { top: 29px; left: 20%; width: 35px; height: 21px; }
  .bat-two { top: 20px; right: 16%; width: 26px; height: 16px; }
  .account-progress { display: flex; align-items: baseline; gap: 6px; }
  #opened-count { display: inline; margin: 0; font-size: 13px; }
  .deposit-track::before { top: 9px; }
  .demo-input-row button { font-size: 10px; padding: 0 11px; }
}
@media (max-width: 380px) { .hero-art > svg { height: 223px; width: 265px; } .hero-moon { width: 142px; height: 142px; } .nav-inner { gap: 13px; } }
@media (min-width: 721px) {
  .header-inner { min-height: 68px; padding: 12px 0; }
  .brand img { width: 110px; max-height: 43px; }
  .nav-inner { min-height: 42px; }
  main { padding-top: 24px; }
  .hero { min-height: 267px; }
  .hero-content { padding: 26px 0 27px 34px; }
  .hero-content .eyebrow { margin-bottom: 11px; font-size: 9px; }
  h1 { font-size: clamp(39px, 4vw, 48px); margin-bottom: 12px; }
  .hero-copy { max-width: 445px; font-size: 12px; line-height: 1.65; }
  .event-facts { margin-top: 20px; }
  .fact-number { font-size: 17px; margin-bottom: 3px; }
  .fact { font-size: 9px; }
  .hero-art > svg { width: 290px; height: 258px; }
  .hero-moon { width: 170px; height: 170px; top: 21px; right: 70px; }
  .bat-one { top: 49px; }
  .dashboard { margin-top: 17px; margin-bottom: 27px; padding: 15px 25px; }
  .avatar { width: 38px; height: 38px; }
  .section-heading { margin-bottom: 19px; }
  h2 { font-size: 25px; }
  .pumpkin-card { min-height: 330px; padding: 18px 23px; }
  .pumpkin-art { height: 137px; margin: 6px 0 1px; }
  .pumpkin-art svg { width: 178px; height: 139px; }
  .pumpkin-reward strong { font-size: 38px; }
  .threshold { margin-top: 7px; margin-bottom: 15px; }
  .card-action { min-height: 38px; padding: 9px 7px; }
}

.hero-demo-link{display:inline-flex;align-items:center;gap:7px;color:#8ad6f5;font-size:12px;font-weight:600;text-decoration:none;margin:2px 0 10px}.hero-demo-link::after{content:"↘";font-size:16px}.hero-demo-link:hover{color:#fff}

.pumpkin-reward.concealed{min-height:52px;align-items:center}.pumpkin-reward.concealed strong{font-size:30px;letter-spacing:.01em}@media(max-width:460px){.pumpkin-reward.concealed strong{font-size:24px}.pumpkin-reward.concealed{min-height:40px}}

.account-notice{padding:14px 18px;margin:0 0 18px;border:1px solid #3b415d;border-radius:12px;background:#1a2234;color:#c6d6ea;font-size:13px;line-height:1.8}.account-notice:empty{display:none}.account-notice a{color:#82d1ef}.details-row{grid-template-columns:1fr}

.wagering-note{display:block;color:#bfa6cd;font-size:10px;margin-top:5px}
.final-card{position:relative;isolation:isolate;display:flex;align-items:center;gap:26px;padding:18px 32px 18px 20px;margin:0 0 34px;border:1px solid #765395;border-radius:22px;background:radial-gradient(ellipse at 12% 55%,#7643a355,transparent 53%),radial-gradient(ellipse at 90% 10%,#d2752515,transparent 45%),linear-gradient(120deg,#241b36,#18223b);box-shadow:inset 0 1px 0 #d3b3f515;overflow:hidden}
.final-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 6% 15%,#f6d09e 0 1px,transparent 2px),radial-gradient(circle at 32% 83%,#d0a7ed 0 1px,transparent 2px),radial-gradient(circle at 95% 77%,#f6d09e 0 1px,transparent 2px)}
.final-art{position:relative;flex:0 0 185px;height:174px;display:flex;align-items:center;justify-content:center}.final-art img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 15px #05051355)}
.gift-orbit{position:absolute;width:140px;height:140px;border:1px solid #b079d626;border-radius:50%;box-shadow:0 0 0 13px #b079d605,0 0 35px #b875e315}.gift-sparkle{position:absolute;color:#ffc87a;z-index:2;font-size:21px}.gift-sparkle-one{left:1px;top:44px}.gift-sparkle-two{right:3px;bottom:24px;font-size:16px}
.final-card[data-state="locked"] .final-art img{filter:saturate(.72) drop-shadow(0 12px 15px #05051355)}.final-card[data-state="ready"] .final-art img{animation:gift-float 3s ease-in-out infinite}.final-card[data-state="ready"] .gift-sparkle{animation:sparkle-glow 2s ease-in-out infinite}
.final-copy{flex:1;min-width:0}.final-copy h2{font-size:24px;color:#eadbff}.final-copy>p:not(.section-kicker){margin:9px 0;color:#b9b1ce;font-size:12px}.final-copy .section-kicker{color:#bc9dd7;font-size:9px}
.final-meta{display:flex;flex-wrap:wrap;gap:7px 15px;font-size:10px;color:#aaa0bf}.final-meta #final-progress{color:#ead6fb;font-weight:750}
.final-card .primary{white-space:nowrap;background:linear-gradient(110deg,#f58936,#ffbd74);border-color:#ffc58b;color:#361905;box-shadow:0 4px 22px #f589361b}.final-card .primary:disabled{background:#302841;color:#998eae;border-color:#544363;box-shadow:none;transform:none}
.final-card[data-state="ready"]{border-color:#b384d8;box-shadow:0 0 30px #9c6ccc13}.final-card[data-state="claimed"]{border-color:#5d8975}.final-card[data-state="claimed"] .final-meta{color:#a1c4b4}
.gift-reveal-art{width:195px;height:172px;object-fit:contain;filter:drop-shadow(0 0 20px #b76bf133);animation:gift-unveil .6s ease-out both}.reward-terms{font-size:12px;color:#e4b8ff;margin:10px 0}.history-terms{display:block}
@keyframes gift-float{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes gift-unveil{from{opacity:0;transform:translateY(18px) scale(.85)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:980px){.final-card{gap:18px;padding-right:24px}.final-art{flex-basis:150px;height:155px}.final-copy h2{font-size:22px}.final-card .primary{font-size:11px;padding:11px 15px}}
@media(max-width:720px){.final-card{padding:20px 22px 24px;gap:14px;flex-wrap:wrap}.final-art{flex-basis:100%;height:175px}.final-art img{width:205px}.gift-sparkle-one{left:calc(50% - 100px)}.gift-sparkle-two{right:calc(50% - 100px)}.final-copy{flex-basis:100%;text-align:center}.final-copy h2{font-size:24px}.final-meta{justify-content:center}.final-card>.primary{width:100%;margin-top:3px}.final-copy>p:not(.section-kicker){font-size:12px}.wagering-note{font-size:9px}.reward-dialog h2{overflow-wrap:anywhere}}
