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

body {
    background: url('assets/background_v2.png') center center / cover no-repeat;
    background-size: 100% 100%;
    min-height: 100vh;
    font-family: 'Arial Black', Arial, sans-serif;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform;
}

#scene {
    position: fixed;
    inset: 0;
    user-select: none;
}

/* Phaser-injected canvas */
#scene canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: var(--vw) !important;
    height: var(--vh) !important;
}

#spin-btn {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid #f5c842;
    background: #ffffff;
    color: #c8860a;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 0 0 3px #a07010,
    0 0 20px rgba(212, 160, 23, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 2px 6px rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    transition: transform 0.1s, box-shadow 0.1s;
}

#spin-btn:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 0 0 3px #a07010,
    0 0 30px rgba(245, 200, 66, 0.8),
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 2px 6px rgba(255, 255, 255, 0.5);
}

#spin-btn:active {
    transform: translateX(-50%) scale(0.97);
}

#spin-btn:disabled {
    display: none;
    cursor: not-allowed;
}

#win-banner {
    position: absolute;
    bottom: 155px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: bannerPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#win-banner.hidden {
    display: none;
}

#win-label {
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 6px;
    text-transform: uppercase;
    padding: 7px 28px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 2px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
    box-shadow:
        0 0 20px rgba(255,255,255,0.1),
        inset 0 0 12px rgba(255,255,255,0.05);
}

#win-prize {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    max-width: 380px;
    line-height: 1.0;
    text-transform: uppercase;

    background: linear-gradient(180deg,
    #c88000 0%,
    #f0c040 15%,
    #d4a020 35%,
    #f5e080 60%,
    #fffde0 80%,
    #ffffff 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    filter: drop-shadow(0px 4px 0px rgba(80, 40, 0, 0.9)) drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0px 0px 30px rgba(245, 200, 66, 0.6));

    -webkit-text-stroke: 3px #7a4500;
    paint-order: stroke fill;
}

@keyframes bannerPop {
    from {
        transform: translateX(-50%) scale(0.3) translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) scale(1) translateY(0);
        opacity: 1;
    }
}

/*@media (max-width: 768px) {*/
/*    body {*/
/*        background: url('assets/background_v2.png') center center / cover no-repeat;*/
/*    }*/
/*}*/
