/* lottery.dad-look.com - The Dad, Look Scratch */
:root {
	--purple: #5b1a8a;
	--purple-2: #74249f;
	--night: #2a103f;
	--gold: #f2c94c;
	--cream: #fff8e1;
	--ink: #2a103f;
	--red: #e2252f;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0%, #4a1a6e, var(--night) 60%); color: #ffffff; font-family: Helvetica, Arial, sans-serif; line-height: 1.5; min-height: 100vh; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lt-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; background: rgba(0, 0, 0, 0.25); }
.lt-logo { color: var(--gold); font-size: 20px; font-weight: 900; text-decoration: none; letter-spacing: 0.02em; }
.lt-top-note { margin: 0; font-size: 13px; color: #d8c8e8; }

.lt-page { max-width: 860px; margin: 0 auto; padding: 32px 24px 16px; }
.lt-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.lt-hero h1 { margin: 0 0 14px; font-size: clamp(30px, 6vw, 50px); line-height: 1.08; }
.lt-lede { margin: 0; max-width: 660px; font-size: 19px; color: #e6dcf0; }

/* The ticket */
.lt-play { margin-top: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lt-ticket { width: 100%; max-width: 520px; padding: 18px; background: var(--purple); border: 8px solid var(--gold); border-radius: 26px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.lt-ticket-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.lt-ticket-brand { font-size: 30px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.lt-ticket-sub { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.lt-scratch { position: relative; aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden; background: var(--cream); touch-action: none; }
.lt-prize { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 20px; color: var(--ink); }
.lt-books { display: flex; gap: 14px; margin-bottom: 4px; }
.lt-books i { position: relative; width: 34px; height: 46px; background: #1b1530; border-radius: 2px; }
.lt-books i::after { content: ""; position: absolute; left: 6px; right: 5px; top: 15px; height: 4px; background: var(--gold); }
.lt-prize.is-missing .lt-books i:last-child { opacity: 0.25; }
.lt-prize b { font-size: clamp(26px, 6vw, 38px); font-weight: 900; color: var(--red); text-transform: uppercase; line-height: 1.05; }
.lt-prize span:last-child { font-size: clamp(15px, 3.4vw, 19px); font-weight: 700; line-height: 1.35; max-width: 380px; }
.lt-foil { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; transition: opacity 0.5s ease; }
.lt-foil.is-gone { opacity: 0; pointer-events: none; }
.lt-ticket-fine { margin: 12px 0 0; font-size: 12px; color: #e6dcf0; }

.lt-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.lt-button, .lt-share { min-height: 50px; padding: 0 22px; border: 0; border-radius: 25px; background: var(--gold); color: var(--ink); font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.lt-button:hover, .lt-share:hover { background: #f7d97a; }
.lt-button-light { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.lt-button-light:hover { background: rgba(242, 201, 76, 0.15); }
.lt-result { min-height: 1.5em; margin: 14px 0 0; font-size: 17px; max-width: 520px; }
.lt-result a { font-weight: 900; }
.lt-share { margin-top: 6px; }
.lt-status { min-height: 1.5em; margin: 8px 0 0; font-size: 15px; color: #e6dcf0; }
.lt-count { margin: 6px 0 0; font-size: 14px; color: #d8c8e8; }

/* The draw */
.lt-draw, .lt-odds { margin-top: 44px; }
.lt-draw h2, .lt-odds h2 { margin: 0 0 6px; font-size: 28px; }
.lt-sub { margin: 0 0 16px; color: #d8c8e8; }
.lt-balls { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.lt-balls li { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #f2c94c 45%, #c9971d); color: var(--ink); font-size: 26px; font-weight: 900; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.lt-balls li:first-child { background: radial-gradient(circle at 35% 30%, #ffffff, #ff6b72 45%, #b3141c); color: #ffffff; }
.lt-draw-note { margin: 14px 0 0; color: #e6dcf0; }

/* The odds */
.lt-odds dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lt-odds dl div { padding: 14px 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(242, 201, 76, 0.35); border-radius: 10px; }
.lt-odds dt { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #d8c8e8; }
.lt-odds dd { margin: 2px 0 0; font-size: 22px; font-weight: 900; color: var(--gold); }

/* Call to action and footer */
.lt-bottom { max-width: 860px; margin: 0 auto; padding: 24px 24px 48px; }
.lt-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px; background: var(--cream); color: var(--ink); border-radius: 18px; text-align: center; }
.lt-cta-kicker { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.lt-cta h2 { margin: 0; font-size: 32px; }
.lt-cta p { margin: 0; max-width: 560px; color: #4a3560; }
.lt-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 600px; min-height: 76px; padding: 18px 24px; background: var(--red); color: #ffffff; font-size: 22px; font-weight: 900; text-transform: uppercase; text-decoration: none; border-radius: 10px; }
.lt-cta-button:hover { background: #c51d26; }
.lt-cta-arrow { display: inline-block; }
.lt-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 14px; border-top: 2px solid rgba(242, 201, 76, 0.5); font-size: 13px; color: #d8c8e8; }

@media (max-width: 600px) {
	.lt-page { padding: 24px 16px 12px; }
	.lt-bottom { padding: 16px 16px 40px; }
	.lt-ticket { padding: 12px; border-width: 6px; }
	.lt-ticket-brand { font-size: 24px; }
	.lt-balls li { width: 42px; height: 42px; font-size: 20px; }
	.lt-cta h2 { font-size: 26px; }
	.lt-cta-button { font-size: 18px; min-height: 66px; }
}

@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--d, 0) * 90ms); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
	.lt-balls li { animation: lt-drop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.4) both; animation-delay: calc(var(--d) * 0.15s); }
	.lt-prize.is-won b { animation: lt-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.4) both; }
	.lt-cta-button { animation: lt-glow 2.2s ease-in-out infinite; }
	.lt-cta-arrow { animation: lt-nudge 1.1s ease-in-out infinite; }
}
@keyframes lt-drop { from { opacity: 0; transform: translateY(-40px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes lt-pop { 0% { transform: scale(0.6); } 100% { transform: none; } }
@keyframes lt-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 37, 47, 0.45); } 50% { box-shadow: 0 0 0 12px rgba(226, 37, 47, 0); } }
@keyframes lt-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
