@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Russo+One&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --mrb-red:      #B71C1C;
    --mrb-red-dark: #7F1010;
    --mrb-red-deep: #4a0808;
    --mrb-black:    #0A0A0A;
    --mrb-orange:   #E85D2F;
    --mrb-cream:    #F5E6D3;
    --mrb-white:    #FFFFFF;
    --mrb-gold:     #F4B844;
    --radius:       16px;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--mrb-red-deep);
    min-height: 100dvh;
    color: var(--mrb-white);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        repeating-conic-gradient(rgba(255,255,255,.02) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px,
        radial-gradient(ellipse at 50% 0%, var(--mrb-red) 0%, var(--mrb-red-dark) 40%, var(--mrb-red-deep) 100%);
    pointer-events: none; z-index: 0;
}

/* ── CHEDDAR DRIP ── */
.cheddar-drip {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    pointer-events: none;
}
.cheddar-drip svg {
    width: 100%;
    height: 50px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(180,100,0,.4));
}
.cheddar-drip .drip-streams {
    position: absolute;
    top: 10px; left: 0; right: 0;
    height: 100vh;
    pointer-events: none;
}
.cheddar-drip .drip {
    position: absolute;
    top: 0;
    width: 8px;
    background: linear-gradient(180deg, #F4A623 0%, #E8961E 60%, #D4820A 100%);
    opacity: .8;
    animation: dripStretch ease-in infinite;
    clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 30% 100%);
}
.cheddar-drip .drip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 24px;
    border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
    background: radial-gradient(ellipse at 35% 30%, #F4C854 0%, #F4A623 35%, #E8961E 60%, #C47A0A 100%);
    box-shadow: inset -3px 3px 5px rgba(0,0,0,.2), inset 2px -1px 3px rgba(255,220,100,.3), 0 4px 8px rgba(180,100,0,.4);
    animation: dropFall ease-in infinite;
    animation-duration: inherit;
    animation-delay: inherit;
}
.cheddar-drip .drip:nth-child(1)  { left: 5%;  width: 9px;  animation-duration: 3.5s; animation-delay: 0s; }
.cheddar-drip .drip:nth-child(1)::after  { width: 22px; height: 26px; }
.cheddar-drip .drip:nth-child(2)  { left: 14%; width: 7px;  animation-duration: 5s;   animation-delay: 1s; }
.cheddar-drip .drip:nth-child(2)::after  { width: 18px; height: 22px; }
.cheddar-drip .drip:nth-child(3)  { left: 22%; width: 10px; animation-duration: 3s;   animation-delay: 2.2s; }
.cheddar-drip .drip:nth-child(3)::after  { width: 24px; height: 28px; }
.cheddar-drip .drip:nth-child(4)  { left: 33%; width: 6px;  animation-duration: 5.5s; animation-delay: 0.5s; }
.cheddar-drip .drip:nth-child(4)::after  { width: 16px; height: 20px; }
.cheddar-drip .drip:nth-child(5)  { left: 42%; width: 9px;  animation-duration: 4s;   animation-delay: 1.8s; }
.cheddar-drip .drip:nth-child(5)::after  { width: 22px; height: 26px; }
.cheddar-drip .drip:nth-child(6)  { left: 53%; width: 7px;  animation-duration: 4.5s; animation-delay: 3s; }
.cheddar-drip .drip:nth-child(6)::after  { width: 18px; height: 22px; }
.cheddar-drip .drip:nth-child(7)  { left: 62%; width: 10px; animation-duration: 3.2s; animation-delay: 0.8s; }
.cheddar-drip .drip:nth-child(7)::after  { width: 24px; height: 28px; }
.cheddar-drip .drip:nth-child(8)  { left: 72%; width: 6px;  animation-duration: 5s;   animation-delay: 2.5s; }
.cheddar-drip .drip:nth-child(8)::after  { width: 16px; height: 20px; }
.cheddar-drip .drip:nth-child(9)  { left: 83%; width: 8px;  animation-duration: 3.8s; animation-delay: 1.3s; }
.cheddar-drip .drip:nth-child(9)::after  { width: 20px; height: 24px; }
.cheddar-drip .drip:nth-child(10) { left: 92%; width: 7px;  animation-duration: 4.5s; animation-delay: 0.3s; }
.cheddar-drip .drip:nth-child(10)::after { width: 18px; height: 22px; }
.cheddar-drip .drip:nth-child(11) { left: 9%;  width: 5px;  animation-duration: 6s;   animation-delay: 3.5s; }
.cheddar-drip .drip:nth-child(11)::after { width: 14px; height: 18px; }
.cheddar-drip .drip:nth-child(12) { left: 47%; width: 8px;  animation-duration: 4.2s; animation-delay: 2s; }
.cheddar-drip .drip:nth-child(12)::after { width: 20px; height: 24px; }

@keyframes dripStretch {
    0%   { height: 0; opacity: 0; }
    8%   { height: 20px; opacity: .85; }
    50%  { height: 25vh; opacity: .8; }
    75%  { height: 25vh; opacity: .7; }
    100% { height: 25vh; opacity: 0; }
}

@keyframes dropFall {
    0%   { transform: translateX(-50%) translateY(0); opacity: 0; }
    8%   { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%  { transform: translateX(-50%) translateY(0); opacity: 1; }
    75%  { transform: translateX(-50%) translateY(0) scale(1.2); opacity: .9; }
    76%  { transform: translateX(-50%) translateY(0) scale(1); opacity: .8; }
    100% { transform: translateX(-50%) translateY(40vh) scale(.6); opacity: 0; }
}

/* ── FIRE PARTICLES ── */
.fire-particles {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.fire-particles span {
    position: absolute;
    bottom: -20px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mrb-orange);
    opacity: 0;
    animation: fireFloat 4s ease-in infinite;
}
.fire-particles span:nth-child(1)  { left: 5%;  animation-delay: 0s;   background: var(--mrb-gold); }
.fire-particles span:nth-child(2)  { left: 15%; animation-delay: .7s;  width: 4px; height: 4px; }
.fire-particles span:nth-child(3)  { left: 28%; animation-delay: 1.4s; background: var(--mrb-gold); }
.fire-particles span:nth-child(4)  { left: 40%; animation-delay: .3s;  width: 5px; height: 5px; }
.fire-particles span:nth-child(5)  { left: 55%; animation-delay: 2.1s; }
.fire-particles span:nth-child(6)  { left: 65%; animation-delay: 1s;   background: var(--mrb-gold); width: 4px; height: 4px; }
.fire-particles span:nth-child(7)  { left: 75%; animation-delay: .5s; }
.fire-particles span:nth-child(8)  { left: 82%; animation-delay: 1.8s; background: var(--mrb-gold); }
.fire-particles span:nth-child(9)  { left: 90%; animation-delay: 2.5s; width: 5px; height: 5px; }
.fire-particles span:nth-child(10) { left: 95%; animation-delay: 1.2s; }

@keyframes fireFloat {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: .8; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* ── BURGER RAIN ── */
.burger-rain {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.burger-rain span {
    position: absolute;
    top: -60px;
    opacity: 0;
    animation: burgerFall linear infinite;
}
.burger-rain span img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.burger-rain span:nth-child(1)  { left: 3%;  animation-duration: 6s;  animation-delay: 0s;   font-size: 1.2rem; }
.burger-rain span:nth-child(2)  { left: 12%; animation-duration: 8s;  animation-delay: 1.2s; font-size: 1.6rem; }
.burger-rain span:nth-child(3)  { left: 22%; animation-duration: 7s;  animation-delay: 3s;   font-size: 1rem; }
.burger-rain span:nth-child(4)  { left: 32%; animation-duration: 9s;  animation-delay: 0.5s; font-size: 1.8rem; }
.burger-rain span:nth-child(5)  { left: 42%; animation-duration: 6.5s;animation-delay: 2s; }
.burger-rain span:nth-child(6)  { left: 52%; animation-duration: 8.5s;animation-delay: 4s;   font-size: 1.1rem; }
.burger-rain span:nth-child(7)  { left: 60%; animation-duration: 7.5s;animation-delay: 1s;   font-size: 1.5rem; }
.burger-rain span:nth-child(8)  { left: 70%; animation-duration: 6s;  animation-delay: 3.5s; font-size: 1.3rem; }
.burger-rain span:nth-child(9)  { left: 78%; animation-duration: 9.5s;animation-delay: 0.8s; }
.burger-rain span:nth-child(10) { left: 87%; animation-duration: 7s;  animation-delay: 2.5s; font-size: 1.7rem; }
.burger-rain span:nth-child(11) { left: 8%;  animation-duration: 8s;  animation-delay: 5s;   font-size: 1rem; }
.burger-rain span:nth-child(12) { left: 47%; animation-duration: 7s;  animation-delay: 1.8s; font-size: 1.4rem; }
.burger-rain span:nth-child(13) { left: 65%; animation-duration: 6.5s;animation-delay: 4.5s; font-size: 1.2rem; }
.burger-rain span:nth-child(14) { left: 93%; animation-duration: 8.5s;animation-delay: 0.3s; font-size: 1.6rem; }
.burger-rain span:nth-child(15) { left: 25%; animation-duration: 9s;  animation-delay: 3.2s; }
.burger-rain span:nth-child(16) { left: 6%;  animation-duration: 7.5s;animation-delay: 5.5s; }
.burger-rain span:nth-child(17) { left: 18%; animation-duration: 6.5s;animation-delay: 0.2s; }
.burger-rain span:nth-child(18) { left: 35%; animation-duration: 8s;  animation-delay: 2.8s; }
.burger-rain span:nth-child(19) { left: 44%; animation-duration: 7s;  animation-delay: 4.2s; }
.burger-rain span:nth-child(20) { left: 56%; animation-duration: 9s;  animation-delay: 1.5s; }
.burger-rain span:nth-child(21) { left: 63%; animation-duration: 6s;  animation-delay: 3.8s; }
.burger-rain span:nth-child(22) { left: 73%; animation-duration: 8.5s;animation-delay: 0.7s; }
.burger-rain span:nth-child(23) { left: 80%; animation-duration: 7.5s;animation-delay: 5s; }
.burger-rain span:nth-child(24) { left: 88%; animation-duration: 6.5s;animation-delay: 2.2s; }
.burger-rain span:nth-child(25) { left: 95%; animation-duration: 8s;  animation-delay: 4.8s; }
.burger-rain span:nth-child(26) { left: 10%; animation-duration: 9.5s;animation-delay: 1.8s; }
.burger-rain span:nth-child(27) { left: 30%; animation-duration: 7s;  animation-delay: 3.5s; }
.burger-rain span:nth-child(28) { left: 50%; animation-duration: 6s;  animation-delay: 0.9s; }
.burger-rain span:nth-child(29) { left: 68%; animation-duration: 8.5s;animation-delay: 4.5s; }
.burger-rain span:nth-child(30) { left: 85%; animation-duration: 7.5s;animation-delay: 2.6s; }

@keyframes burgerFall {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    5%   { opacity: .9; }
    90%  { opacity: .75; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ── SCREENS ── */
.screen {
    display: none;
    min-height: 100dvh;
    align-items: center; justify-content: center;
    padding: 1.5rem 1rem;
    position: relative; z-index: 1;
}
.screen.active {
    display: flex;
    animation: screenIn .5s cubic-bezier(.22,.68,0,1.15);
}
@keyframes screenIn {
    from { opacity: 0; transform: scale(.92) translateY(24px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── LOGO ── */
.logo-header { text-align: center; margin-bottom: 1.2rem; }

.logo-glow {
    position: relative;
    display: inline-block;
}
.logo-glow::after {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,184,68,.3) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}
.logo-glow img {
    width: 120px; height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--mrb-gold);
    box-shadow: 0 0 20px rgba(244,184,68,.4), 0 8px 24px rgba(0,0,0,.5);
    animation: logoFloat 3s ease-in-out infinite;
}
.logo-glow.small img { width: 80px; height: 80px; border-width: 3px; }

@keyframes glowPulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.1); }
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

.tagline {
    font-family: 'Russo One', sans-serif;
    font-size: .95rem;
    color: var(--mrb-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: .6rem;
    text-shadow: 1px 1px 0 var(--mrb-black);
}
.fire-text {
    color: var(--mrb-orange);
    text-shadow: 0 0 10px rgba(232,93,47,.6);
}

/* ── CARD ── */
.card {
    background: linear-gradient(170deg, rgba(15,15,15,.6) 0%, rgba(5,5,5,.75) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid rgba(244,184,68,.2);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    width: 100%; max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
    position: relative; overflow: hidden;
}
.card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--mrb-orange), var(--mrb-gold), var(--mrb-orange), transparent);
}

/* ── MASCOT IMAGES ── */
.mascot-img {
    display: block;
    margin: 0 auto .8rem;
    width: 120px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
}
.mascot-bounce {
    animation: mascotBounce 2.5s ease-in-out infinite;
}
.mascot-celebrate {
    animation: mascotPop .6s cubic-bezier(.22,.68,0,1.4);
}
@keyframes mascotBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-8px) rotate(-2deg); }
    70% { transform: translateY(-4px) rotate(2deg); }
}
@keyframes mascotPop {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ── FORM ── */
form { display: flex; flex-direction: column; gap: .6rem; }

.input-group { display: flex; flex-direction: column; gap: .2rem; }

label {
    font-family: 'Russo One', sans-serif;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mrb-gold);
    opacity: .8;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(244,184,68,.15);
    background: rgba(255,255,255,.06);
    color: var(--mrb-white);
    font-size: 1rem; font-weight: 500;
    outline: none;
    transition: all .3s ease;
}
input::placeholder { color: rgba(255,255,255,.25); }
input:focus {
    border-color: var(--mrb-gold);
    background: rgba(255,255,255,.1);
    box-shadow: 0 0 0 3px rgba(244,184,68,.12), 0 0 20px rgba(244,184,68,.08);
    transform: translateY(-1px);
}

/* ── BUTTONS ── */
.btn-mrb {
    width: 100%; padding: 1rem 1.2rem;
    border: 3px solid var(--mrb-black);
    border-radius: 14px;
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 1.15rem; cursor: pointer;
    transition: transform .1s, box-shadow .1s;
    letter-spacing: 1.5px; text-transform: uppercase;
    background: var(--mrb-orange);
    color: var(--mrb-white);
    box-shadow: 0 6px 0 var(--mrb-black), 0 10px 24px rgba(0,0,0,.5);
    position: relative;
    text-shadow: 1px 2px 0 rgba(0,0,0,.4);
}
.btn-mrb:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--mrb-black), 0 14px 32px rgba(0,0,0,.6);
}
.btn-mrb:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--mrb-black), 0 4px 8px rgba(0,0,0,.4);
}
.btn-mrb:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

.btn-mrb.btn-gold {
    background: linear-gradient(135deg, var(--mrb-gold) 0%, #e8a520 100%);
    color: var(--mrb-black); text-shadow: none;
}

.btn-pulse { animation: btnPulse 2.5s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 6px 0 var(--mrb-black), 0 10px 24px rgba(0,0,0,.5); }
    50%      { box-shadow: 0 6px 0 var(--mrb-black), 0 10px 24px rgba(0,0,0,.5), 0 0 30px rgba(244,184,68,.3); }
}

/* ── SPIN BUTTON ── */
.btn-spin-cta {
    max-width: 240px;
    font-size: 1.4rem; padding: 1.1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mrb-orange) 0%, #c4421a 100%);
}
.btn-spin-text, .btn-spin-fire {
    display: block; transition: transform .3s, opacity .3s;
}
.btn-spin-fire {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--mrb-gold) 0%, var(--mrb-orange) 100%);
    color: var(--mrb-black);
    transform: translateY(100%); opacity: 0;
    text-shadow: none;
    font-size: 1.4rem; letter-spacing: 1.5px;
}
.btn-spin-cta:hover .btn-spin-text { transform: translateY(-100%); opacity: 0; }
.btn-spin-cta:hover .btn-spin-fire { transform: translateY(0); opacity: 1; }

/* ── ERROR ── */
.error-msg {
    text-align: center;
    background: rgba(183,28,28,.5);
    border: 2px solid var(--mrb-orange);
    border-radius: 10px;
    padding: .7rem 1rem; font-size: .85rem; font-weight: 600;
    margin-top: .5rem; animation: shake .4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.hidden { display: none !important; }

/* ── WHEEL ── */
.wheel-container {
    display: flex; flex-direction: column;
    align-items: center; gap: 1.4rem;
    width: 100%; padding: .5rem 1rem;
}

.greeting-text {
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 1.3rem; text-align: center;
    color: var(--mrb-cream);
    text-shadow: 2px 2px 0 var(--mrb-black), 0 0 20px rgba(244,184,68,.15);
}

.wheel-stage {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

/* LED Ring */
.led-ring {
    position: absolute;
    width: calc(82vw + 40px); height: calc(82vw + 40px);
    max-width: 360px; max-height: 360px;
    border-radius: 50%;
    pointer-events: none; z-index: 0;
}
.led-ring .led {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--mrb-gold);
    box-shadow: 0 0 6px var(--mrb-gold);
    opacity: .3;
    transition: opacity .15s, box-shadow .15s;
}
.led-ring .led.on {
    opacity: 1;
    box-shadow: 0 0 10px var(--mrb-gold), 0 0 20px rgba(244,184,68,.5);
}
.led-ring.spinning .led { animation: ledChase .1s ease infinite alternate; }

.wheel-wrapper {
    position: relative; display: inline-block; z-index: 1;
}

.wheel-arrow {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 24px solid var(--mrb-gold);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.8));
    z-index: 10;
    animation: arrowBob 1.2s ease-in-out infinite;
}
.wheel-arrow::after {
    content: '';
    position: absolute;
    top: -28px; left: -10px;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid rgba(255,255,255,.3);
}

@keyframes arrowBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(5px); }
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow:
        0 0 0 5px var(--mrb-gold),
        0 0 0 8px var(--mrb-black),
        0 0 0 11px rgba(244,184,68,.25),
        0 0 40px rgba(244,184,68,.15),
        0 12px 48px rgba(0,0,0,.6);
    display: block;
    max-width: 310px; width: 82vw;
    height: 82vw; max-height: 310px;
}

/* ── RESULT ── */
.result-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.win-flash {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(244,184,68,.2) 0%, transparent 70%);
    animation: winFlash 1.5s ease-out;
    pointer-events: none;
}
@keyframes winFlash {
    0%   { opacity: 1; transform: scale(.5); }
    100% { opacity: 0; transform: scale(2); }
}

.trophy-icon {
    font-size: 3.5rem;
    animation: trophyDrop .6s cubic-bezier(.22,.68,0,1.4);
    filter: drop-shadow(0 4px 12px rgba(244,184,68,.4));
}
@keyframes trophyDrop {
    0% { transform: translateY(-60px) scale(0); opacity: 0; }
    60% { transform: translateY(8px) scale(1.15); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.check-icon {
    font-size: 3rem;
    width: 64px; height: 64px;
    line-height: 64px;
    background: #25D366;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 0 #1da851, 0 8px 24px rgba(37,211,102,.3);
    animation: trophyDrop .6s cubic-bezier(.22,.68,0,1.4);
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: .8rem;
    opacity: .6;
}

.win-title {
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 2.2rem;
    color: var(--mrb-gold);
    text-shadow: 3px 3px 0 var(--mrb-black), 0 0 40px rgba(244,184,68,.25);
    margin-bottom: .5rem;
    letter-spacing: 3px;
    animation: titleReveal .5s ease-out .2s both;
}
@keyframes titleReveal {
    from { transform: scale(.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.prize-img {
    display: block;
    margin: 0 auto .5rem;
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
}

.prize-reveal {
    margin: 1rem 0 1.5rem;
    animation: prizeReveal .5s ease-out .5s both;
}
@keyframes prizeReveal {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.prize-label {
    display: block;
    font-size: .8rem;
    color: var(--mrb-cream);
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .3rem;
}
.prize-name {
    display: block;
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 1.6rem;
    color: var(--mrb-gold);
    text-shadow: 2px 2px 0 var(--mrb-black);
    padding: .6rem 1rem;
    background: rgba(244,184,68,.1);
    border: 2px solid rgba(244,184,68,.2);
    border-radius: 12px;
}

/* ── LOCAL ── */
.local-title {
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 1.15rem;
    color: var(--mrb-white);
    text-shadow: 2px 2px 0 var(--mrb-black);
}

.local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.2rem 0;
}
.local-btn {
    padding: 1.2rem .8rem;
    border: 3px solid var(--mrb-gold);
    border-radius: 14px;
    background: rgba(0,0,0,.4);
    color: var(--mrb-white);
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
    box-shadow: 0 4px 0 var(--mrb-black);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.local-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(244,184,68,.15) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.local-btn:hover {
    background: var(--mrb-orange);
    border-color: var(--mrb-orange);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 7px 0 var(--mrb-black), 0 10px 28px rgba(232,93,47,.3);
}
.local-btn:hover::after { opacity: 1; }
.local-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--mrb-black);
}

/* ── FINAL ── */
.final-msg {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mrb-cream);
    margin-bottom: .5rem;
}
.final-sub {
    margin-top: 1.2rem;
    font-size: .82rem;
    color: var(--mrb-cream);
    opacity: .5;
    line-height: 1.6;
}
.final-sub strong { color: var(--mrb-gold); opacity: 1; }

.whatsapp-badge {
    display: inline-flex;
    align-items: center; gap: .5rem;
    background: linear-gradient(135deg, #25D366 0%, #20bd5a 100%);
    color: white;
    padding: .6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700; font-size: .85rem;
    margin-top: .8rem;
    box-shadow: 0 4px 0 #1a9e4a, 0 8px 20px rgba(37,211,102,.25);
    letter-spacing: .5px;
    animation: badgePop .4s ease-out .6s both;
}
@keyframes badgePop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
.whatsapp-badge svg { width: 18px; height: 18px; fill: white; }

.whatsapp-badge.btn-claim-wpp {
    padding: .8rem 1.6rem;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.whatsapp-badge.btn-claim-wpp:active {
    transform: scale(.95);
    box-shadow: 0 2px 0 #1a9e4a;
}

.point-arrow {
    font-size: 1.6rem;
    animation: bounceDown .7s ease-in-out infinite;
    margin: .3rem 0 0;
    line-height: 1;
}
.point-arrow::after { content: '\25BC'; }
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: .6; }
    50%      { transform: translateY(8px); opacity: 1; }
}

/* ── LOCK ── */
.lock-card { text-align: center; }

.lock-title {
    font-family: 'Bowlby One SC', sans-serif;
    color: var(--mrb-orange);
    font-size: 1.3rem;
    text-shadow: 2px 2px 0 var(--mrb-black);
    margin-bottom: .3rem;
}
.lock-sub {
    color: var(--mrb-cream);
    font-size: .95rem;
}
.lock-footer {
    color: var(--mrb-cream);
    opacity: .4;
    font-size: .78rem;
    margin-top: .8rem;
}

.countdown {
    font-family: 'Bowlby One SC', sans-serif;
    font-size: 2.8rem;
    color: var(--mrb-gold);
    margin: 1rem 0;
    text-shadow: 3px 3px 0 var(--mrb-black);
    letter-spacing: 5px;
    background: rgba(0,0,0,.35);
    display: inline-block;
    padding: .6rem 1.8rem;
    border-radius: 14px;
    border: 2px solid rgba(244,184,68,.15);
}

/* ── CONFETTI ── */
/* ── MUSIC TOGGLE ── */
.music-toggle {
    position: fixed;
    bottom: 16px; right: 16px;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(244,184,68,.3);
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    color: var(--mrb-gold);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    transition: all .2s;
    opacity: .6;
}
.music-toggle:hover { opacity: 1; border-color: var(--mrb-gold); }
.music-toggle.playing {
    opacity: 1;
    border-color: var(--mrb-gold);
    animation: musicPulse 1s ease-in-out infinite;
}
@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244,184,68,.3); }
    50%      { box-shadow: 0 0 0 8px rgba(244,184,68,0); }
}

#confetti-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 999;
}

/* ── SCREEN SHAKE ── */
.screen-shake { animation: screenShake .5s ease; }
@keyframes screenShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-4px) rotate(-.5deg); }
    30% { transform: translateX(4px) rotate(.5deg); }
    50% { transform: translateX(-3px); }
    70% { transform: translateX(3px); }
    90% { transform: translateX(-1px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 360px) {
    .card { padding: 1.5rem 1.2rem; }
    .logo-glow img { width: 100px; height: 100px; }
    .win-title { font-size: 1.8rem; }
    .prize-name { font-size: 1.3rem; }
    .btn-mrb { font-size: 1rem; }
    .countdown { font-size: 2.2rem; }
    .tagline { letter-spacing: 4px; font-size: .8rem; }
}

@media (min-width: 500px) {
    .card { padding: 2.5rem 2rem; }
    .logo-glow img { width: 140px; height: 140px; }
    #wheelCanvas { max-width: 370px; max-height: 370px; }
    .led-ring { max-width: 420px; max-height: 420px; }
}
