:root {
  color-scheme: dark;
  --gold: #ffe56b;
  --cyan: #21f5ec;
  --pink: #ff37cb;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; color: #fff; background: #090013; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
.wheel-page { position: relative; isolation: isolate; min-height: 100vh; overflow: clip; background: radial-gradient(ellipse at 50% 38%, #561361 0%, #22032e 48%, #08000f 90%); }
.wheel-page::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, #ffffff04 0 1px, transparent 1px 100px); }
.speed-lines { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.speed-lines i { position: absolute; width: 420px; height: 15px; transform: rotate(-24deg); background: linear-gradient(90deg, transparent, #eb38b7, #1ddbde, transparent); box-shadow: 0 48px 0 #c522a958; }
.speed-lines i:nth-child(1) { top: 52px; left: -120px; }
.speed-lines i:nth-child(2) { top: 80px; right: -120px; transform: rotate(25deg); }
.speed-lines i:nth-child(3) { bottom: 58px; left: -95px; transform: rotate(20deg); }
.speed-lines i:nth-child(4) { bottom: 50px; right: -85px; }
.stage { width: min(1600px, calc(100% - 40px)); margin: auto; padding: 20px 0 28px; }
.stage-top { display: grid; grid-template-columns: 180px minmax(0, 1fr) 120px; align-items: center; gap: 20px; min-height: 124px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-shadow: 0 3px 0 #982135, 0 0 20px #ffc23a44; }
.brand strong { font-family: Impact, "Arial Black", sans-serif; font-size: 46px; line-height: 1; color: #ffcc40; }
.brand span { font-size: 15px; font-weight: 900; color: #fff5a6; }
.title-lockup { display: flex; align-items: baseline; justify-content: center; gap: 18px; white-space: nowrap; }
.title-lockup > span { font-family: "Brush Script MT", "Segoe Script", cursive; color: #70ff68; font-size: 34px; font-style: italic; text-shadow: 0 0 16px #70ff6870; }
.title-lockup h1 { margin: 0; font-family: Impact, "Arial Narrow", "Arial Black", sans-serif; font-size: 60px; font-weight: 900; line-height: 1; text-transform: uppercase; background: linear-gradient(#fff6a7, #ffdc56 44%, #ffa037 68%, #f650b3); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #650d75); }
.top-meta { display: flex; align-items: center; justify-content: end; gap: 9px; }
.preview-label { position: absolute; top: 12px; font-size: 10px; color: #d9c5e1; text-transform: uppercase; }
.age-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #ffffff0c; border: 1px solid #ffffff40; font-size: 20px; font-weight: 900; }
.prize-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.15fr) minmax(0, .7fr); align-items: center; gap: 20px; padding: 44px 42px 112px; min-height: 720px; border: 1px solid #df66da29; border-radius: 8px; overflow: hidden; background: linear-gradient(90deg, #20002ddd, #62237070 50%, #180021ee), url("./assets/panel-bg.webp") center / cover; box-shadow: 0 25px 70px #00000070; }
.prize-panel::before { position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 80px, #df52cc0a 81px 83px, transparent 84px 180px); }
.hostess { position: absolute; z-index: 5; left: 4.8%; bottom: 83px; width: 330px; max-height: calc(100% - 116px); object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 18px #a224b848); pointer-events: none; }
.wheel-zone { grid-column: 2; min-width: 0; z-index: 4; display: grid; justify-items: center; }
.spin-title { margin: 0 0 36px; line-height: 1; font-size: 44px; font-weight: 900; text-transform: uppercase; white-space: nowrap; background: linear-gradient(90deg, #19f8ee, #d9ffc3 38%, #ffebae 60%, #ff55ce); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #240032); }
.wheel-frame { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; display: grid; place-items: center; }
.wheel-pointer { position: absolute; z-index: 6; top: -5%; left: 50%; transform: translateX(-50%); width: 15%; height: 15%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #ffe96b; filter: drop-shadow(0 0 10px #ffe56b70); }
.wheel { position: absolute; inset: 0; border: 18px solid #140322; border-radius: 50%; background: conic-gradient(from -30deg, #ff34ce 0deg 60deg, #2c0d70 60deg 120deg, #b43eff 120deg 180deg, #15092c 180deg 240deg, #ff128b 240deg 300deg, #4518a9 300deg 360deg); box-shadow: 0 0 0 2px #cc3da8, inset 0 0 0 8px #ffffff14, inset 0 0 0 17px #00000020, 0 20px 60px #00000070; }
.wheel::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, transparent 49.5%, #ffffff18 49.6% 50.4%, transparent 50.5%), linear-gradient(30deg, transparent 49.5%, #ffffff18 49.6% 50.4%, transparent 50.5%), linear-gradient(-30deg, transparent 49.5%, #ffffff18 49.6% 50.4%, transparent 50.5%); }
.wheel-label { position: absolute; width: 112px; transform: translate(-50%, -50%) rotate(var(--angle)); font-size: 27px; font-weight: 900; line-height: 1; text-align: center; white-space: nowrap; text-shadow: 0 3px 7px #0009; }
.wheel-label small { display: block; font-size: 21px; margin-top: 3px; }
.label-one { left: 50%; top: 14%; --angle: 0deg; }
.label-two { left: 81.2%; top: 32%; --angle: 60deg; }
.label-three { left: 81.2%; top: 68%; --angle: 120deg; }
.label-four { left: 50%; top: 86%; --angle: 180deg; }
.label-five { left: 18.8%; top: 68%; --angle: 240deg; }
.label-six { left: 18.8%; top: 32%; --angle: 300deg; }
.spin-button { position: relative; z-index: 7; display: grid; align-content: center; width: 37%; aspect-ratio: 1; border: none; border-radius: 50%; color: #381600; background: radial-gradient(circle at 32% 27%, #fff9b7 0 11%, transparent 12%), linear-gradient(#ffe974, #ffb627 57%, #f27d18); box-shadow: inset 0 -10px 0 #a8440030, 0 0 0 9px #ffe26935, 0 0 38px #ffd45a60; cursor: pointer; text-transform: uppercase; }
.spin-button span, .spin-button strong { display: block; line-height: 1; font-size: 29px; font-weight: 900; }
.spin-button strong { font-size: 27px; }
.spin-button:hover { filter: brightness(1.08); }
.spin-button:disabled { cursor: default; }
.bonus-stack { grid-column: 3; position: relative; z-index: 4; display: grid; gap: 24px; align-self: center; }
.attempts, .bonus-stack article { border: 1px solid #ffffff22; border-radius: 8px; background: linear-gradient(100deg, #dc007f, #7425b4); box-shadow: 0 15px 32px #0003; }
.attempts { display: grid; place-items: center; min-height: 60px; padding: 10px 8px; font-size: 22px; font-weight: 900; white-space: nowrap; }
.bonus-stack article { display: flex; align-items: center; gap: 14px; min-height: 150px; padding: 22px 26px 22px 16px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.bonus-stack article:nth-of-type(2) { background: linear-gradient(100deg, #8435de, #235f80); }
.bonus-stack article > div { min-width: 0; }
.bonus-icon { flex: 0 0 50px; display: grid; place-items: center; width: 50px; height: 50px; background: linear-gradient(#fff4a1, #ffb224); color: #421900; border-radius: 50%; font-size: 20px; font-weight: 900; }
.bonus-stack p { margin: 0 0 5px; color: #f2d9f4; font-size: 16px; font-weight: 700; }
.bonus-stack strong { display: block; font-size: 31px; line-height: 1.1; white-space: nowrap; }
.bonus-detail { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; }
.ox, .rabbit { position: absolute; z-index: 6; bottom: 79px; pointer-events: none; filter: drop-shadow(0 0 12px #e66baa70); transform-origin: bottom center; animation: mascotFloat 3.4s ease-in-out infinite; }
.ox { left: 26%; width: 190px; }
.rabbit { right: 22%; width: 138px; }
.stage-footer { position: absolute; inset: auto 0 0; padding: 14px 16px; min-height: 72px; text-align: center; border-top: 1px solid #ffffff0c; background: #10001be0; color: #d8cadd; }
.stage-footer div { display: flex; justify-content: center; gap: 30px; font-size: 12px; line-height: 1.2; text-transform: uppercase; font-weight: 800; }
.stage-footer p { margin: 7px 0 0; font-size: 11px; }
.win-modal { position: fixed; width: min(440px, calc(100% - 32px)); padding: 38px 28px 28px; border: 1px solid #ca45b69c; border-radius: 8px; text-align: center; color: #fff; background: linear-gradient(#370746, #190224); box-shadow: 0 25px 80px #0009; }
.win-modal::backdrop { background: #10001bce; backdrop-filter: blur(6px); }
.modal-close { position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border: none; background: transparent; color: #e8d7ee; font-size: 30px; line-height: 1; cursor: pointer; }
.modal-kicker { margin: 0 0 16px; color: #62eae8; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.win-modal h2 { font-size: 42px; line-height: 1.1; margin: 0 0 16px; color: #ffde68; }
.modal-copy { margin: 0 0 22px; line-height: 1.5; font-size: 14px; color: #decae7; }
.claim-button { display: block; width: 100%; min-height: 48px; padding: 12px; border: 0; border-radius: 6px; background: #ffdc64; color: #39142b; font-size: 17px; font-weight: 900; cursor: pointer; text-decoration: none; }
@keyframes mascotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1320px) {
  .stage-top { grid-template-columns: 150px minmax(0, 1fr) 60px; }
  .brand strong { font-size: 38px; }
  .title-lockup { gap: 12px; }
  .title-lockup h1 { font-size: 48px; }
  .title-lockup > span { font-size: 29px; }
  .prize-panel { min-height: 650px; padding: 38px 28px 112px; gap: 14px; }
  .hostess { width: 285px; left: 3%; }
  .spin-title { font-size: 35px; }
  .wheel-label { font-size: 23px; }
  .wheel-label small { font-size: 18px; }
  .spin-button span { font-size: 25px; }
  .spin-button strong { font-size: 23px; }
  .bonus-stack { gap: 18px; }
  .bonus-stack article { min-height: 132px; gap: 10px; padding: 18px 18px 18px 12px; }
  .bonus-stack strong { font-size: 25px; }
  .bonus-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 17px; }
  .bonus-detail { font-size: 14px; }
  .attempts { font-size: 18px; }
  .ox { width: 165px; left: 26%; }
  .rabbit { width: 120px; }
}
@media (max-width: 1100px) {
  .stage { width: min(570px, calc(100% - 20px)); padding: 14px 0 26px; }
  .stage-top { grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 18px; min-height: 116px; }
  .brand strong { font-size: 38px; }
  .brand span { font-size: 14px; }
  .title-lockup { grid-column: 1 / -1; grid-row: 2; gap: 12px; }
  .title-lockup h1 { font-size: 39px; }
  .title-lockup > span { font-size: 26px; }
  .age-badge { width: 40px; height: 40px; font-size: 17px; }
  .preview-label { position: static; font-size: 9px; }
  .prize-panel { display: block; padding: 26px 16px 216px; min-height: 0; }
  .wheel-zone { display: block; }
  .spin-title { margin: 0 0 32px; font-size: 32px; text-align: center; }
  .wheel-frame { width: 87%; max-width: 440px; margin: 0 0 0 auto; }
  .wheel { border-width: 14px; }
  .hostess { left: 0; top: 126px; bottom: auto; width: 36%; max-height: none; object-fit: contain; opacity: 1; }
  .bonus-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
  .attempts { grid-column: 1 / -1; min-height: 48px; font-size: 20px; }
  .bonus-stack article { padding: 20px 16px 20px 12px; min-height: 112px; gap: 12px; }
  .bonus-stack strong { font-size: 27px; }
  .bonus-stack p { font-size: 14px; }
  .bonus-detail { font-size: 14px; }
  .ox, .rabbit { bottom: 78px; }
  .ox { left: 16px; width: 106px; }
  .rabbit { right: 16px; width: 77px; }
}
@media (max-width: 520px) {
  .stage { width: calc(100% - 16px); }
  .title-lockup { gap: 8px; }
  .title-lockup h1 { font-size: 30px; }
  .title-lockup > span { font-size: 20px; }
  .brand strong { font-size: 34px; }
  .prize-panel { padding: 24px 12px 210px; }
  .spin-title { font-size: 29px; }
  .wheel-label { width: 86px; font-size: 20px; }
  .wheel-label small { font-size: 15px; }
  .spin-button span { font-size: 24px; }
  .spin-button strong { font-size: 22px; }
  .bonus-stack { margin-top: 36px; gap: 10px; }
  .bonus-stack article { gap: 9px; padding: 18px 12px 18px 9px; min-height: 104px; }
  .bonus-stack strong { font-size: 22px; }
  .bonus-stack p { font-size: 12px; }
  .bonus-detail { font-size: 12px; }
  .bonus-icon { flex-basis: 35px; width: 35px; height: 35px; font-size: 15px; }
  .hostess { left: -8px; top: 113px; }
}
@media (max-width: 370px) {
  .title-lockup h1 { font-size: 25px; }
  .title-lockup > span { font-size: 17px; }
  .title-lockup { gap: 6px; }
  .preview-label { font-size: 8px; }
  .spin-title { font-size: 26px; }
  .spin-button span { font-size: 20px; }
  .spin-button strong { font-size: 18px; }
  .wheel-label { font-size: 17px; width: 76px; }
  .wheel-label small { font-size: 13px; }
  .bonus-stack strong { font-size: 18px; }
  .bonus-stack article { gap: 6px; padding: 16px 8px; }
  .bonus-icon { flex-basis: 28px; width: 28px; height: 28px; font-size: 12px; }
  .hostess { top: 110px; }
}
@media (prefers-reduced-motion: reduce) { .ox, .rabbit { animation: none; } }
