/* V19: public page only; existing admin styles and transaction logic unchanged. */
html:has(body.premium-draw){background:#090c0b}
body.premium-draw{--accent:#dcb96c;--muted:#bdb7a8;background:radial-gradient(ellipse at 50% 35%,#17352b55,transparent 48%),radial-gradient(ellipse at 0 0,#98734220,transparent 35%),repeating-linear-gradient(125deg,transparent 0 110px,#e5c67c03 111px,transparent 113px 220px),#090c0b;color:#fcf7e9}
.premium-draw .public-shell{padding:28px 16px;min-height:100svh}
.premium-draw .game-card{width:min(580px,100%);padding:38px 32px 30px;border-radius:4px;border:1px solid #b28a4659;background:radial-gradient(ellipse at 50% 37%,#98734216,transparent 52%),linear-gradient(145deg,#171815c9,#090c0bf2);box-shadow:0 24px 80px #0008,inset 0 0 70px #0005;backdrop-filter:none;isolation:isolate}
.premium-draw .game-card:before{inset:8px;width:auto;height:auto;border:1px solid #cba65f38;background:none;z-index:-1}
.premium-draw .game-card:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 32%,#e8c270aa 0 1px,transparent 2px),radial-gradient(circle at 91% 43%,#e8c27099 0 1px,transparent 2px),radial-gradient(circle at 6% 62%,#e8c27066 0 1px,transparent 2px),radial-gradient(circle at 89% 24%,#e8c27066 0 1px,transparent 2px);z-index:-1}
.premium-draw .brand-kicker{display:flex;align-items:center;justify-content:center;gap:16px;font-size:11px;letter-spacing:.35em;font-weight:600;color:#ead19b}
.premium-draw .brand-kicker:before,.premium-draw .brand-kicker:after{content:'';width:35px;height:1px;background:linear-gradient(90deg,transparent,#dcb96c)}
.premium-draw .brand-kicker:after{transform:rotate(180deg)}
.premium-draw h1{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.04em;font-size:clamp(42px,9vw,66px);line-height:1.08;margin:14px 0 12px;color:#fff6df;text-shadow:0 3px 24px #d5b77922}
.premium-draw .lead{font-size:13px;line-height:1.65;max-width:350px;margin-bottom:24px;color:#bfb9aa}
.premium-draw .wheel-wrap{width:min(360px,100%);margin:22px auto 28px;filter:drop-shadow(0 0 24px #d4a13b1c)}
.premium-draw .wheel-wrap:before{content:'';position:absolute;inset:-9px;border:1px solid #d3b06945;border-radius:50%;box-shadow:0 0 0 5px #a27b2810}
.premium-draw .wheel{border:9px solid #d8b465;background:repeating-conic-gradient(from 0deg,#a58648 0deg 0.5deg,transparent .5deg 45deg),conic-gradient(#183d30 0 45deg,#1b201d 45deg 90deg,#254b3a 90deg 135deg,#20221e 135deg 180deg,#153b2e 180deg 225deg,#2a2921 225deg 270deg,#204433 270deg 315deg,#191e19 315deg 360deg);box-shadow:0 18px 45px #0009,inset 0 0 0 2px #f5dda5,inset 0 0 36px #000a,0 0 0 2px #80602d,0 0 0 4px #f1d398}
.premium-draw .wheel:before{content:'';position:absolute;inset:3px;border-radius:50%;border:1px solid #e6c47a65;background:radial-gradient(circle at 32% 15%,#fff7ce12,transparent 50%);pointer-events:none}
.premium-draw .wheel:after{width:27%;height:27%;border:4px solid #e0bc70;background:radial-gradient(circle at 30% 15%,#373429,#111511 65%);color:#f6dfab;font-family:Georgia,serif;font-size:clamp(16px,4.5vw,23px);font-weight:500;box-shadow:0 5px 18px #0009,inset 0 0 0 2px #8b6c36}
.premium-draw .pointer{width:35px;height:44px;top:-17px;border:0;clip-path:polygon(0 0,100% 0,50% 100%);background:linear-gradient(110deg,#fff1bc,#d9ae54 48%,#fff1b3 51%,#9b712c);filter:none;z-index:6}
.premium-draw .wheel-icon{width:26px;height:26px;color:#edd08b;filter:drop-shadow(0 2px 2px #0008)}
.premium-draw .wheel-icon svg{width:100%;height:100%;fill:currentColor;stroke:#fff0bf;stroke-width:.6;stroke-linejoin:round}
.premium-draw .w1{top:12%;left:60%}.premium-draw .w2{top:31%;right:10%}.premium-draw .w3{top:61%;right:12%}.premium-draw .w4{right:31%;bottom:10%}.premium-draw .w5{left:30%;bottom:11%}.premium-draw .w6{left:10%;bottom:31%}.premium-draw .w7{top:30%;left:10%}.premium-draw .w8{top:11%;left:31%}
.premium-draw .link-code-overlay{position:relative;left:auto;bottom:auto;transform:none;width:min(380px,100%);margin:0 auto 20px;padding:13px 12px 15px;border:1px solid #c9a45c;border-radius:8px;background:linear-gradient(120deg,#29271c80,#101411);box-shadow:inset 0 0 0 3px #0b0e0b,inset 0 0 0 4px #b3914b33,0 8px 22px #0004}
.premium-draw .link-code-overlay span{color:#cfb67f;font-size:9px;letter-spacing:.28em;margin-bottom:7px;font-weight:600}
.premium-draw .link-code-overlay strong{color:#f6dfab;text-shadow:none;font-size:clamp(12px,3.5vw,18px);letter-spacing:.08em;line-height:1.4}
.premium-draw .play-btn{width:min(380px,100%);border:1px solid #f3d99f;border-radius:8px;background:linear-gradient(115deg,#a87932,#eacb86 35%,#f6dfab 50%,#c69a4e);color:#201b10;font-size:16px;letter-spacing:.15em;padding:17px;box-shadow:0 6px 24px #d0a54c20,inset 0 1px #fff4d2;transition:filter .2s,transform .2s}
.premium-draw .play-btn:hover:not(:disabled){filter:brightness(1.1)}
.premium-draw .play-btn:disabled{opacity:.48}
.premium-draw .play-btn:focus-visible{outline:3px solid #fff0c6;outline-offset:5px}
.premium-draw .status-box{margin:18px auto 0;border-radius:6px;background:#ffffff04;border-color:#bfa16830;font-size:12px;line-height:1.55;color:#bdb7a8}
.premium-draw .status-box.ok-text{background:#0c302480;border-color:#77af9640;color:#a9d9c2}
.premium-draw .status-box.error{color:#f2b5aa;border-color:#bd73634d;background:#562c252b}
.premium-draw .result{position:relative;padding:27px 18px 24px;border-radius:8px;border:1px solid #c9a45c;background:radial-gradient(ellipse at top,#cba65717,transparent 80%),#101410;box-shadow:inset 0 0 0 4px #101410,inset 0 0 0 5px #c9a45c30;margin-top:24px}
.premium-draw .result .eyebrow{font-size:10px;letter-spacing:.25em;color:#e6c784;font-weight:600}
.premium-draw .result .prize{font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,7.5vw,45px);font-weight:500;line-height:1.15;margin:12px 0;overflow-wrap:anywhere;color:#fff7e6}
.premium-draw .result .muted{font-size:12px;line-height:1.6}
.premium-draw .confetti{z-index:9}
.premium-draw .confetti i{background:#dbba6e!important}
@media(max-width:420px){.premium-draw .public-shell{padding:12px 8px}.premium-draw .game-card{padding:27px 20px 24px}.premium-draw .lead{font-size:12px}.premium-draw .wheel-icon{width:22px;height:22px}.premium-draw .brand-kicker{letter-spacing:.25em}}
@media(prefers-reduced-motion:reduce){.premium-draw .wheel{transition:none}.premium-draw .confetti{display:none}.premium-draw .btn{transition:none}}
