.wh { --st-1: #0A1024; --st-2: #15203F; --st-3: #24365F; --st-ink: #FFFFFF; --st-mute: #B8C4E0; --st-line: rgba(255, 255, 255, .12); --gold: #FFB347; --gold-2: #FFD9A8; padding-bottom: 48px; }
.wh-hero { position: relative; overflow: hidden; color: var(--st-ink); background: radial-gradient(55% 75% at 30% 18%, #2D4785 0%, rgba(45, 71, 133, 0) 70%), radial-gradient(40% 50% at 85% 85%, rgba(244, 121, 32, .22), transparent 70%), linear-gradient(180deg, #121C3A 0%, var(--st-1) 100%); }
.wh-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 22px 22px; pointer-events: none; }
.wh-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 40px 44px; }
.wh-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wh-spot { position: absolute; top: -60px; left: 50%; width: 120%; height: 120%; transform: translateX(-50%); background: radial-gradient(45% 45% at 50% 42%, rgba(255, 217, 168, .18), transparent 70%); pointer-events: none; }
.wh-wheel { position: relative; width: min(100%, 440px); aspect-ratio: 1; filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .55)); }
.wh-wheel .wh-svg { width: 100%; height: 100%; }
.wh-rot { transform-origin: 150px 150px; transform: rotate(var(--wh-rot, 0deg)); }
.wh-wheel.is-spinning .wh-rot { transition: transform var(--wh-dur, 5.4s) cubic-bezier(.11, .67, .08, 1); }
.wh-pointer { position: absolute; top: -14px; left: 50%; z-index: 2; width: 44px; height: 56px; margin-left: -22px; background: linear-gradient(180deg, var(--gold-2), #F47920 60%, #B24A08); clip-path: polygon(50% 100%, 6% 22%, 22% 0, 78% 0, 94% 22%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.wh-pointer::after { content: ''; position: absolute; top: 9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.wh-wheel.is-spinning .wh-pointer { animation: wh-tick .12s linear infinite; }
@keyframes wh-tick { 50% { transform: rotate(-7deg); } }
.wh-bulb { fill: #FFF3DD; }
.wh-bulb-b { fill: #FFB347; }
.wh-wheel .wh-bulb { animation: wh-blink 1.1s steps(2) infinite; }
.wh-wheel .wh-bulb-b { animation-delay: .55s; }
.wh-wheel.is-spinning .wh-bulb { animation-duration: .25s; }
@keyframes wh-blink { 50% { opacity: .3; } }
.wh-slice.is-win path { stroke: #FFF3DD; stroke-width: 4; }
.wh-sold path { opacity: .9; }
.wh-floor { width: 62%; height: 22px; margin-top: -26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.wh-fair { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--st-line); color: #E6ECFA; font-size: 13px; line-height: 1.7; text-align: center; }
.wh-fair svg { flex: none; color: #6FE3A0; }
.wh-console { min-width: 0; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid var(--st-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.wh-step { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.wh-step[hidden], .wh-track[hidden] { display: none; }
.wh-step h1 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.4; font-weight: 800; }
.wh-step h2 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.5; }
.wh-lead { margin: 0; color: #DCE4F5; font-size: 16px; line-height: 1.9; }
.wh-hint { margin: -8px 0 0; color: var(--st-mute); font-size: 13.5px; line-height: 1.8; }
.wh-jackpot { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 179, 71, .22), rgba(255, 179, 71, .05)); border: 1px solid rgba(255, 179, 71, .35); color: #FFE7C4; font-size: 14px; }
.wh-jackpot svg { flex: none; color: var(--gold); }
.wh-go { align-self: flex-start; min-width: 220px; height: 58px; font-size: 18px; border-radius: 14px; box-shadow: 0 5px 0 #A9440B; }
.wh-go:active { transform: translateY(3px); box-shadow: 0 2px 0 #A9440B; }
.wh-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #C9D3EA; font-size: 13.5px; }
.wh-notes li { display: flex; gap: 8px; align-items: center; }
.wh-notes svg { flex: none; color: #6FE3A0; }
.wh-link { align-self: flex-start; color: var(--gold-2); font-size: 13.5px; text-decoration: underline; text-underline-offset: 5px; }
.wh-link:hover { color: #fff; }
.wh-closed { display: flex; gap: 8px; align-items: center; margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #E6ECFA; }
.wh-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; }
.wh-track li { position: relative; padding-top: 12px; color: var(--st-mute); font-size: 12px; text-align: center; }
.wh-track li::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.wh-track li.is-done::before, .wh-track li.is-on::before { background: linear-gradient(90deg, #FFB347, #F47920); }
.wh-track li.is-on { color: #fff; font-weight: 700; }
.wh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-chip input { position: absolute; opacity: 0; pointer-events: none; }
.wh-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #E6ECFA; font-size: 14px; cursor: pointer; transition: border-color .15s, background-color .15s, transform .1s; }
.wh-chip span:hover { border-color: rgba(255, 217, 168, .6); }
.wh-chip input:checked + span { border-color: #F47920; background: rgba(244, 121, 32, .22); color: #fff; font-weight: 700; }
.wh-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.wh-chips-s { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wh-chips-s .wh-chip { display: flex; }
.wh-chips-s .wh-chip span { flex: 1; min-height: 44px; font-size: 13px; line-height: 1.6; padding: 6px 12px; }
.wh-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.wh-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #DCE4F5; }
.wh-field small { color: var(--st-mute); }
.wh-field input { width: 100%; min-width: 0; box-sizing: border-box; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(5, 10, 26, .55); color: #fff; font-size: 16px; }
.wh-field input::placeholder { color: #7D8BAE; }
.wh-field input:focus { border-color: #F47920; outline: none; box-shadow: 0 0 0 3px rgba(244, 121, 32, .25); }
.wh-field input:disabled { opacity: .5; }
.wh-code input { height: 60px; font-size: 26px; letter-spacing: 10px; text-align: center; font-weight: 800; }
.wh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.8; color: #DCE4F5; }
.wh-check input { margin-top: 5px; width: 17px; height: 17px; flex: none; accent-color: #F47920; }
.wh-check a { color: var(--gold-2); }
.wh-only-in { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; border-top: 1px dashed var(--st-line); }
.wh-only-in[hidden] { display: none; }
.wh-sugs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.wh-sugs[hidden] { display: none; }
.wh-sugs button { min-height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; cursor: pointer; }
.wh-sugs button[aria-pressed="true"] { border-color: #F47920; background: rgba(244, 121, 32, .22); }
.wh-err { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 92, 92, .14); color: #FFB4B4; font-size: 13.5px; }
.wh-err[hidden] { display: none; }
.wh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wh-actions .btn { min-width: 140px; }
.wh-ghost { background: transparent !important; border-color: rgba(255, 255, 255, .25) !important; color: #E6ECFA !important; }
.wh-ghost:hover { border-color: rgba(255, 255, 255, .5) !important; }
.wh-textbtn { border: 0; padding: 0; background: none; color: var(--gold-2); font: inherit; text-decoration: underline; cursor: pointer; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.wh-ready { align-items: center; text-align: center; }
.wh-spin { position: relative; display: grid; place-items: center; width: 168px; height: 168px; margin: 6px auto; border: 0; border-radius: 50%; cursor: pointer; color: #fff; font: inherit; font-size: 26px; font-weight: 800; background: radial-gradient(circle at 35% 30%, #FFB066, #F47920 55%, #B24A08); box-shadow: 0 8px 0 #7C3305, 0 0 0 8px rgba(255, 179, 71, .18), 0 0 40px rgba(244, 121, 32, .55); transition: transform .1s, box-shadow .1s; animation: wh-breathe 2.2s ease-in-out infinite; }
.wh-spin:hover { filter: brightness(1.06); }
.wh-spin:active { transform: translateY(6px); box-shadow: 0 2px 0 #7C3305, 0 0 0 8px rgba(255, 179, 71, .18), 0 0 30px rgba(244, 121, 32, .5); }
.wh-spin:disabled { animation: none; opacity: .6; cursor: default; }
.wh-spin:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
@keyframes wh-breathe { 50% { box-shadow: 0 8px 0 #7C3305, 0 0 0 14px rgba(255, 179, 71, .1), 0 0 60px rgba(244, 121, 32, .7); } }
.wh-result { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid var(--st-line); }
.wh-result.is-win { background: linear-gradient(140deg, rgba(255, 179, 71, .25), rgba(244, 121, 32, .12) 45%, rgba(45, 71, 133, .3)); border-color: rgba(255, 179, 71, .55); }
.wh-result h2 { margin: 0; font-size: 19px; line-height: 1.6; }
.wh-prize-big { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.35; color: #FFD9A8; }
.wh-terms { display: grid; gap: 6px; margin: 0; padding: 12px 0 0; border-top: 1px dashed rgba(255, 255, 255, .25); list-style: none; color: #DCE4F5; font-size: 13.5px; line-height: 1.8; }
.wh-terms li { display: flex; gap: 8px; align-items: flex-start; }
.wh-terms svg { flex: none; margin-top: 5px; color: #6FE3A0; }
.wh-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(255, 217, 168, .5); color: var(--st-mute); font-size: 13px; }
.wh-code-tag { display: inline-block; white-space: nowrap; direction: ltr; font-family: inherit; letter-spacing: 1px; padding: 1px 8px; border-radius: 6px; background: rgba(5, 10, 26, .55); }
.wh-survey { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(5, 10, 26, .35); border: 1px solid var(--st-line); }
.wh-survey[hidden], .wh-q[hidden] { display: none; }
.wh-survey-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wh-survey-h b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.wh-survey-h .wh-hint { margin: 0; }
.wh-q { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.wh-q legend { margin-bottom: 10px; font-size: 15px; font-weight: 700; line-height: 1.7; }
.wh-thanks { margin: 0; color: #9CF0C0; font-size: 14px; }
.wh-sec { margin-top: 44px; }
.wh-suggest[hidden] { display: none; }
.wh-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wh-tk { --cut: var(--bg); position: relative; display: grid; grid-template-columns: 112px 1fr; min-height: 96px; border-radius: 14px; background: var(--s1); border: 1px solid var(--bd); overflow: hidden; }
.wh-tk::before, .wh-tk::after { content: ''; position: absolute; left: auto; right: 103px; width: 18px; height: 18px; border-radius: 50%; background: var(--cut); border: 1px solid var(--bd); }
.wh-tk::before { top: -10px; }
.wh-tk::after { bottom: -10px; }
.wh-tk-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; border-inline-end: 2px dashed var(--bd); background: linear-gradient(160deg, rgba(244, 121, 32, .16), rgba(244, 121, 32, .04)); text-align: center; }
.wh-tk-stub b { font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1.3; }
.wh-tk-stub small { font-size: 11.5px; color: var(--mt); }
.wh-tk-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px; font-size: 14px; line-height: 1.7; }
.wh-tk-body small { color: var(--mt); font-size: 12.5px; }
.wh-tk.is-gold { border-color: rgba(255, 179, 71, .7); }
.wh-tk.is-gold .wh-tk-stub { background: linear-gradient(160deg, #FFB347, #F47920); }
.wh-tk.is-gold .wh-tk-stub b, .wh-tk.is-gold .wh-tk-stub small { color: #2A1300; }
.wh-tk.is-sold { opacity: .55; }
.wh-tk-tag { position: absolute; top: 10px; left: 10px; padding: 2px 9px; border-radius: 99px; background: var(--s2); color: var(--mt); font-size: 11.5px; font-weight: 700; }
.wh-note { margin: 12px 0 0; color: var(--mt); font-size: 13px; }
.wh-how { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 28px; border-radius: 18px; background: var(--s1); border: 1px solid var(--bd); }
.wh-how-t { display: flex; flex-direction: column; gap: 12px; }
.wh-how-t .k-h { margin: 0; }
.wh-how-t p { margin: 0; color: var(--tx2); line-height: 1.95; }
.wh-how .wh-link { color: var(--brand); }
.wh-must { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(65, 203, 114, .12); color: var(--tx) !important; font-weight: 700; }
.wh-must svg { flex: none; margin-top: 3px; color: #2FB463; }
.wh-path { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wh-path::before { content: ''; position: absolute; top: 22px; bottom: 22px; right: 21px; width: 2px; background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); }
.wh-path li { position: relative; display: flex; gap: 14px; align-items: center; padding: 10px 0; font-size: 14.5px; line-height: 1.8; }
.wh-path b { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 17px; box-shadow: 0 0 0 5px var(--s1); }
.wh-rules-h { color: #fff; background: radial-gradient(50% 120% at 80% 0%, #2D4785, transparent 70%), linear-gradient(180deg, #121C3A, #0A1024); }
.wh-rules-h .wrap { display: flex; flex-direction: column; gap: 10px; padding-block: 34px 70px; }
.wh-rules-h h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.wh-rules-h p { margin: 0; max-width: 620px; color: #C9D3EA; line-height: 1.9; }
.wh-rules-h .wh-link { display: inline-flex; align-items: center; gap: 4px; color: #FFD9A8; }
.wh-rules-in { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: -44px; padding-bottom: 48px; }
.wh-facts { position: sticky; top: 90px; display: grid; gap: 10px; margin: 0; padding: 16px; border-radius: 18px; background: var(--s1); border: 1px solid var(--bd); list-style: none; box-shadow: 0 16px 40px rgba(10, 16, 36, .12); }
.wh-facts li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--s2); }
.wh-facts-i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(244, 121, 32, .14); color: var(--brand); }
.wh-facts b { font-size: 14.5px; }
.wh-facts small { color: var(--mt); font-size: 12.5px; line-height: 1.7; }
.wh-clauses { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px; border-radius: 18px; background: var(--s1); border: 1px solid var(--bd); box-shadow: 0 16px 40px rgba(10, 16, 36, .12); }
.wh-clauses h2 { margin: 0; font-size: 19px; }
.wh-clauses ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: c; }
.wh-clauses li { counter-increment: c; position: relative; padding: 14px 44px 14px 0; border-bottom: 1px solid var(--ln); line-height: 1.95; font-size: 14.5px; color: var(--tx2); }
.wh-clauses li:last-child { border-bottom: 0; }
.wh-clauses li::before { content: counter(c, persian); position: absolute; right: 0; top: 13px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--s2); color: var(--brand); font-weight: 800; font-size: 14px; }
.wh-clauses .btn { align-self: flex-start; }
@media (max-width: 960px) {
.wh-hero-in { grid-template-columns: 1fr; gap: 22px; padding-block: 22px 28px; }
.wh-wheel { width: min(100%, 340px); }
.wh-console { padding: 20px; }
.wh-how { grid-template-columns: 1fr; padding: 20px; }
.wh-rules-in { grid-template-columns: 1fr; }
.wh-facts { position: static; }
}
@media (max-width: 520px) {
.wh-chips-s { grid-template-columns: 1fr; }
.wh-go, .wh-actions .btn { width: 100%; }
.wh-tickets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wh-tk { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
.wh-tk::before, .wh-tk::after { display: none; }
.wh-tk-stub { flex-direction: row; gap: 6px; padding: 10px 8px; border-inline-end: 0; border-bottom: 2px dashed var(--bd); }
.wh-tk-stub b { font-size: 18px; }
.wh-tk-body { padding: 10px 12px; font-size: 13px; line-height: 1.6; }
.wh-tk-body small { font-size: 11.5px; }
.wh-tk-tag { top: auto; bottom: 8px; }
.wh-spin { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
.wh-wheel .wh-bulb, .wh-spin, .wh-wheel.is-spinning .wh-pointer { animation: none; }
.wh-wheel.is-spinning .wh-rot { transition-duration: .8s; }
}
.wh-elig { display: flex; align-items: center; gap: 6px; margin: 0; }
.wh-elig svg { flex: none; }
.wh-elig a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.wh-console { scroll-margin-top: 150px; }
