:root {
  color-scheme: light;
  --navy: #102c76;
  --blue: #0863ed;
  --red: #ed2439;
  --yellow: #ffe348;
  --ink: #173467;
  --muted: #637a9a;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f4f8ff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body:before { content: ""; position: absolute; inset: 0 0 auto; height: 840px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 0 30%, #dfeaff 0, transparent 38%), radial-gradient(ellipse at 100% 60%, #e4edff 0, transparent 40%); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: wait; opacity: .6; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ed7c26; outline-offset: 4px; }
.skip-link { position: fixed; top: 0; left: 16px; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); z-index: 100; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; width: auto; height: auto; padding: 14px; clip-path: none; overflow: visible; }
.promo-header { height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 24px; background: #fff; border-bottom: 1px solid #e7eefb; }
.promo-brand { display: flex; gap: 10px; align-items: center; font-size: 33px; font-weight: 950; line-height: 1; letter-spacing: -2px; text-decoration: none; color: var(--navy); }
.promo-brand>span { border-left: 1px solid #d8e3f5; padding: 5px 0 5px 10px; font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.header-tag { color: #6a81a5; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.header-spark { color: var(--red); font-size: 18px; }
.promo-main { width: min(530px, calc(100% - 32px)); margin: 0 auto; }
.scratch-section { padding-top: 27px; scroll-margin-top: 16px; }
.promo-product-intro { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 22px; align-items: center; margin: 0 0 24px; }
.promo-product-kicker { display: block; color: #5578a9; font-size: 8px; font-weight: 850; letter-spacing: .07em; margin-bottom: 11px; }
.promo-product-copy h1 { color: var(--navy); font-size: 32px; line-height: 1.1; letter-spacing: -1.1px; font-weight: 900; }
.promo-product-copy h1>span { color: var(--red); }
.promo-product-copy p { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.promo-product-copy p strong { color: #335e98; font-weight: 750; }
.promo-product-image { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 20px; box-shadow: 0 7px 22px #39609b0b; }
.scratch-section-heading { position: relative; text-align: center; margin-bottom: 23px; }
.scratch-section-heading h1 { font-size: 39px; letter-spacing: -1.5px; line-height: 1.1; font-weight: 900; }
.scratch-section-heading h1>span { color: var(--red); }
.scratch-section-heading p { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 9px; }
.heading-spark { position: absolute; font-size: 22px; color: #ffbb13; }
.heading-spark-left { left: 12px; top: 14px; transform: rotate(-12deg); }
.heading-spark-right { right: 11px; bottom: 0; color: #5190ff; font-size: 15px; }
.ticket { position: relative; overflow: hidden; border: 4px solid var(--yellow); border-radius: 27px; background: var(--blue); box-shadow: 0 9px 0 #173893, 0 20px 42px #184bab25; }
.ticket:before, .ticket:after { position: absolute; content: ""; top: 43px; width: 18px; height: 18px; border-radius: 50%; background: #f4f8ff; border: 3px solid var(--yellow); z-index: 2; }
.ticket:before { left: -12px; }
.ticket:after { right: -12px; }
.ticket-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #fff; background: var(--red); padding: 15px 22px; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.ticket-number { font-size: 9px; font-weight: 750; letter-spacing: .03em; white-space: nowrap; }
.ticket-body { padding: 20px 25px 17px; position: relative; background: radial-gradient(ellipse at 50% 35%, #2584ff, transparent 65%); }
.ticket-progress { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 16px; }
.ticket-progress>span { font-size: 9px; font-weight: 800; color: #d8eaff; letter-spacing: .1em; }
.attempts { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.attempts li>span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #81b3ff; font-size: 11px; font-weight: 800; color: white; }
.attempts li[aria-current]>span { color: #123a7e; background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 3px #ffe34825; }
.attempts li.is-complete>span { background: #fff; border-color: #fff; color: #1662bb; }
.ticket-progress .bonus-round-label { color: var(--yellow); font-size: 10px; }
.ticket-body h2 { color: #fff; font-size: 26px; letter-spacing: -.6px; text-align: center; font-weight: 850; }
.ticket-instruction { color: #d7e8ff; font-size: 11px; text-align: center; line-height: 1.5; margin: 7px 0 19px; }
.scratch-board { position: relative; overflow: hidden; height: 249px; border: 3px solid #fff2b3; border-radius: 18px; background: #e6f2ff; box-shadow: 0 5px 0 #0248b7, inset 0 0 0 1px #bfd9ff; user-select: none; -webkit-user-select: none; isolation: isolate; }
.scratch-symbols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 18px 12px; align-items: center; }
.scratch-symbol { position: relative; min-width: 0; height: 162px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; overflow: hidden; background: #fff; border: 2px solid #d7e6fb; border-radius: 13px; box-shadow: 0 4px 0 #c5daf5; }
.scratch-symbol svg { width: 51px; height: 51px; stroke-width: 1.8; color: var(--blue); }
.scratch-symbol img { width: 92px; height: 97px; object-fit: contain; mix-blend-mode: multiply; }
.scratch-symbol span { font-size: 9px; font-weight: 850; letter-spacing: .04em; color: #285b9f; }
.scratch-symbol:has(img) { gap: 4px; }
.scratch-symbol.is-match { background: #fffdef; border-color: #f2c727; box-shadow: 0 4px 0 #d5b33d; }
.scratch-symbol:after { content: "?"; display: grid; place-items: center; position: absolute; inset: 0; background: linear-gradient(135deg, #1c64eb, #1046b8); color: var(--yellow); font-size: 60px; font-weight: 900; opacity: 0; transition: opacity .3s, transform .45s; pointer-events: none; }
.scratch-symbol.is-hidden:after { opacity: 1; }
.scratch-symbol.is-arriving { animation: symbol-arrive .8s ease-out both; }
.scratch-board.is-final-reveal .board-sheen { animation: ticket-sheen 1.4s ease-in-out; }
.scratch-board.is-final-match { box-shadow: 0 5px 0 #0248b7, 0 0 0 5px #ffe34870; }
.scratch-board.is-staging .scratch-symbol:not(:last-child) { animation: symbol-pop .5s ease-out both; }
.scratch-board.is-staging .scratch-symbol:nth-child(2) { animation-delay: .2s; }
#scratch-canvas { position: absolute; width: 100%; height: 100%; inset: 0; cursor: crosshair; touch-action: none; transition: opacity .25s; }
.is-revealed #scratch-canvas { opacity: 0; pointer-events: none; }
.scratch-board:not(.is-ready) .scratch-symbols { visibility: hidden; }
.board-sheen { position: absolute; pointer-events: none; inset: 0; opacity: 0; background: linear-gradient(110deg, transparent 20%, #fff9 47%, transparent 70%); transform: translateX(-110%); }
.is-staging .board-sheen { animation: ticket-sheen .9s ease-in-out; }
.scratch-board.is-near-miss { animation: near-miss .48s ease-in-out; }
.ticket-status { min-height: 64px; padding: 14px 0 11px; display: flex; justify-content: center; flex-direction: column; gap: 4px; text-align: center; color: #dfedff; font-size: 11px; line-height: 1.5; }
.ticket-status strong { color: #fff; font-size: 16px; font-weight: 850; }
.ticket-status .status-surprise { color: var(--yellow); }
.button { display: flex; width: 100%; min-height: 53px; padding: 13px 11px; justify-content: center; align-items: center; gap: 9px; border-radius: 12px; font-size: 13px; font-weight: 850; text-align: center; line-height: 1.4; text-decoration: none; transition: background .2s, transform .2s; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.button>span { font-size: 18px; }
.button:active { transform: translateY(2px); }
.button-reveal { border: 1px solid #79aaff; color: #fff; background: #034cb2; }
.button-yellow { color: var(--navy); background: var(--yellow); box-shadow: 0 4px 0 #d4a90f; }
.button-bonus { position: relative; overflow: hidden; background: var(--yellow); color: #123b83; box-shadow: 0 5px 0 #d4aa15; border: 2px solid #fff7b8; font-size: 13px; letter-spacing: .025em; animation: bonus-pop 1.5s ease-in-out 3; }
.button-bonus:before { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent 25%, #fff9 48%, transparent 75%); animation: bonus-sheen 1.5s ease-in-out 3; pointer-events: none; }
.button-bonus .bonus-button-icon { height: 31px; min-width: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: white; font-size: 15px; letter-spacing: -1px; transform: rotate(-9deg); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 4px 0 #b51630; }
.ticket-footnote { display: block; text-align: center; margin-top: 13px; color: #d9eaff; font-size: 11px; line-height: 1.5; }
.ticket-footer { border-top: 1px dashed #75a9ff; color: #d6e8ff; padding: 13px 12px; font-size: 8px; letter-spacing: .15em; text-align: center; font-weight: 800; background: #064bbe; }
.ticket-footer>span { color: var(--yellow); font-size: 11px; margin: 0 10px; }
.unlocked-offer { position: relative; overflow: hidden; padding: 27px 26px 25px; border: 3px solid #ffdc3d; box-shadow: 0 8px 0 #1745a8, 0 18px 40px #13458420; border-radius: 25px; background: #fff; text-align: center; }
.winner-ribbon { display: inline-block; background: #fff2ad; color: #8c5900; font-size: 9px; letter-spacing: .12em; font-weight: 850; border-radius: 30px; padding: 9px 15px; margin-bottom: 17px; }
.unlocked-offer h2 { color: var(--blue); font-size: 40px; line-height: 1.04; letter-spacing: -1.4px; font-weight: 900; }
.winner-copy { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 13px; }
.unlocked-image { width: 176px; border-radius: 16px; margin: 16px auto 8px; }
.unlocked-offer h3 { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.unlocked-detail { font-size: 11px; color: var(--muted); margin-top: 6px; }
.unlocked-pricing { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.unlocked-pricing>strong { font-size: 48px; font-weight: 900; letter-spacing: -2px; color: var(--navy); line-height: 1.2; }
.price-conditions { font-size: 11px; }
.price-conditions>span { margin: 0 5px; }
.price-conditions b { color: #218053; }
.unlocked-savings { font-size: 11px; border-radius: 8px; background: #eff5ff; color: #3c638b; padding: 10px 7px; margin: 15px 0 18px; }
.unlocked-savings>span[aria-hidden] { margin: 0 5px; }
.offer-footnote { color: var(--muted); font-size: 10px; margin-top: 14px; }
.celebration { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -30px; left: var(--x); width: 8px; height: 17px; background: var(--confetti-color); border-radius: 2px; animation: confetti-fall 2.3s ease-out var(--delay) both; }
.promo-trust:empty, .promo-reviews:empty { display: none; }
.promo-rules { margin: 28px 0 0; padding: 0 1px 15px; border-bottom: 1px solid #d9e3f3; color: #647b99; font-size: 11px; line-height: 1.75; }
.promo-rules summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding: 5px 0; font-size: 11px; font-weight: 750; color: #4b6890; }
.promo-rules summary::-webkit-details-marker { display: none; }
.promo-rules summary>span { font-size: 20px; font-weight: 400; transition: transform .2s; }
.promo-rules[open] summary>span { transform: rotate(45deg); }
.promo-rules p { margin-top: 12px; }
.promo-footer { width: min(530px, calc(100% - 32px)); margin: 24px auto 0; padding: 0 0 25px; text-align: center; color: #7388a6; font-size: 9px; line-height: 1.7; }
.promo-footer>p { margin-bottom: 6px; }
.promo-footer span { margin: 0 5px; }
.promo-footer a { text-underline-offset: 3px; }
.storage-notice { margin: 20px 0; padding: 15px 17px; border: 1px solid #cf9a27; border-radius: 12px; background: #fff7db; color: #725500; font-size: 12px; line-height: 1.6; }
.storage-notice p { margin-top: 7px; }
.text-button { background: none; padding: 8px 0; color: inherit; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.load-error { margin-bottom: 16px; padding: 13px 15px; border: 1px solid #e2a5b3; border-radius: 12px; background: #fff0f4; color: #98334b; font-size: 12px; line-height: 1.6; }
.bonus-dialog { width: min(430px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); padding: 29px 28px 24px; border: 3px solid #ffdf4c; border-radius: 24px; box-shadow: 0 28px 100px #08285677; color: var(--ink); background: #fff; overflow: auto; }
.bonus-dialog::backdrop { background: #0d286ba8; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #edf3fd; color: #7b91b4; font-size: 25px; font-weight: 350; }
.bonus-icon { display: grid; place-items: center; height: 61px; width: 61px; margin: 0 auto 20px; border-radius: 17px; transform: rotate(-9deg); background: var(--yellow); box-shadow: 0 4px 0 #e8b426; color: var(--blue); font-weight: 900; font-size: 28px; letter-spacing: -1px; }
.section-kicker { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 850; color: #4774b9; text-align: center; margin-bottom: 10px; }
.bonus-dialog h2 { color: var(--navy); font-size: 29px; letter-spacing: -1px; line-height: 1.13; font-weight: 900; text-align: center; }
.bonus-copy { max-width: 310px; margin: 14px auto 23px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.bonus-dialog label { display: block; font-size: 12px; font-weight: 750; margin-bottom: 8px; }
.bonus-dialog input { width: 100%; height: 49px; margin-bottom: 17px; border: 1px solid #c8d8ee; border-radius: 9px; background: #f8fbff; padding: 0 12px; font-size: 16px; color: var(--navy); }
.bonus-dialog input::placeholder { font-size: 12px; color: #8296b2; }
.bonus-dialog input[aria-invalid="true"] { border-color: var(--red); background: #fff7f8; }
.bonus-dialog form>.button { margin-top: 4px; font-size: 12px; }
.form-error { font-size: 11px; color: #bc1e3a; line-height: 1.6; margin: -5px 0 15px; }
.bonus-privacy { display: flex; gap: 8px; font-size: 10px; color: #71849f; line-height: 1.6; margin-top: 19px; }
.bonus-privacy svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .button-reveal:hover { background: #03439e; }
  .button-yellow:hover { background: #ffec78; }
  .button-bonus:hover { background: #ffed8a; }
  .button-primary:hover { background: #d91e34; }
  .dialog-close:hover { background: #deeaff; }
}
@keyframes symbol-pop { 0% { transform: scale(.84) translateY(7px); } 65% { transform: scale(1.04) translateY(-2px); } 100% { transform: none; } }
@keyframes symbol-arrive { 0% { transform: scale(.88) translateY(8px); } 65% { transform: scale(1.035) translateY(-2px); } 100% { transform: none; } }
@keyframes ticket-sheen { 0% { opacity: 0; transform: translateX(-110%); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateX(110%); } }
@keyframes near-miss { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px) rotate(-.3deg); } 65% { transform: translateX(3px) rotate(.3deg); } }
@keyframes bonus-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes bonus-sheen { 0%, 30% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes confetti-fall { 0% { opacity: 0; transform: translateY(-20px) rotate(0); } 10% { opacity: 1; } 90% { opacity: .9; } 100% { opacity: 0; transform: translateY(700px) rotate(var(--spin)); } }
@media (max-width: 600px) {
  .promo-header { height: 55px; gap: 21px; padding: 0 16px; }
  .promo-brand { font-size: 29px; }
  .header-tag { font-size: 7px; }
  .header-spark { font-size: 16px; }
  .promo-main { width: min(440px, calc(100% - 28px)); }
  .scratch-section { padding-top: 22px; }
  .promo-product-intro { grid-template-columns: minmax(0, 1fr) 145px; gap: 12px; margin-bottom: 22px; }
  .promo-product-kicker { font-size: 8px; letter-spacing: .035em; margin-bottom: 10px; }
  .promo-product-copy h1 { font-size: 23px; letter-spacing: -.75px; }
  .promo-product-copy p { font-size: 10px; line-height: 1.65; margin-top: 10px; }
  .promo-product-image { border-radius: 17px; }
  .scratch-section-heading { margin-bottom: 20px; }
  .scratch-section-heading h1 { font-size: 33px; letter-spacing: -1.3px; }
  .scratch-section-heading p { font-size: 11px; margin-top: 8px; }
  .heading-spark-left { font-size: 16px; left: 0; top: 28px; }
  .heading-spark-right { font-size: 12px; right: 1px; bottom: 9px; }
  .ticket { border-radius: 24px; }
  .ticket-topline { padding: 14px 18px; font-size: 9px; }
  .ticket-number { font-size: 8px; }
  .ticket:before, .ticket:after { top: 35px; }
  .ticket-body { padding: 18px 17px 15px; }
  .ticket-progress { margin-bottom: 15px; gap: 12px; }
  .ticket-progress>span { font-size: 8px; }
  .ticket-body h2 { font-size: 24px; }
  .ticket-instruction { font-size: 10px; margin: 7px 0 17px; }
  .scratch-board { height: 226px; border-radius: 16px; }
  .scratch-symbols { gap: 7px; padding: 15px 8px; }
  .scratch-symbol { height: 148px; border-radius: 11px; }
  .scratch-symbol img { width: 76px; height: 85px; }
  .scratch-symbol svg { width: 43px; height: 43px; }
  .scratch-symbol span { font-size: 7px; }
  .ticket-status { min-height: 64px; font-size: 10px; }
  .ticket-status strong { font-size: 15px; }
  .button { min-height: 53px; font-size: 12px; }
  .button-bonus { font-size: 12px; }
  .ticket-footer { font-size: 7px; padding: 12px; }
  .unlocked-offer { padding: 23px 20px; }
  .unlocked-offer h2 { font-size: 37px; }
  .unlocked-pricing>strong { font-size: 45px; }
  .unlocked-image { width: 164px; }
  .unlocked-offer h3 { font-size: 15px; }
  .unlocked-savings { font-size: 10px; }
  .bonus-dialog { padding-left: 23px; padding-right: 23px; }
}
@media (max-width: 350px) {
  .promo-main { width: calc(100% - 24px); }
  .promo-product-intro { grid-template-columns: minmax(0, 1fr) 123px; gap: 10px; }
  .promo-product-kicker { font-size: 7px; margin-bottom: 8px; }
  .promo-product-copy h1 { font-size: 20px; letter-spacing: -.7px; }
  .promo-product-copy p { font-size: 9px; margin-top: 8px; }
  .scratch-section-heading h1 { font-size: 29px; }
  .scratch-section-heading p { font-size: 10px; }
  .ticket-body { padding-left: 13px; padding-right: 13px; }
  .ticket-body h2 { font-size: 22px; }
  .scratch-board { height: 210px; }
  .scratch-symbols { gap: 5px; padding-left: 6px; padding-right: 6px; }
  .scratch-symbol { height: 139px; }
  .scratch-symbol img { width: 65px; height: 78px; }
  .button-bonus { font-size: 10px; gap: 6px; }
  .ticket-status strong { font-size: 14px; }
  .bonus-dialog { padding-left: 18px; padding-right: 18px; }
  .bonus-dialog h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .celebration, .board-sheen { display: none; }
}
