body {
    margin: 0;
    /* Fundo vibrante, laranja para roxo, com brilho dourado */
    background: radial-gradient(circle at 50% 30%, #ffecb3 0%, #ff9800 40%, #ff5e62 70%, #7f53ac 100%);
    min-height: 100vh;
    min-height: -webkit-fill-available; /* para iOS */
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}
#slot-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 10px;
    box-sizing: border-box;
    /* Efeito de luz dourada ao redor */
    box-shadow: 0 0 120px 40px #ffd70055;
}
#slot-canvas {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    box-shadow:
        0 0 40px 10px #ffd700,
        0 0 80px 20px #ff9800 inset,
        0 0 0 8px #fffbe7,
        0 0 0 16px #ffd70055;
    border-radius: 32px;
    background: linear-gradient(135deg, #fffbe7 0%, #ffe082 100%);
    border: 6px solid #ffd700;
    animation: border-glow 2s infinite alternate;
}
@keyframes border-glow {
    0%   { box-shadow: 0 0 40px 10px #ffd700, 0 0 80px 20px #ff9800 inset, 0 0 0 8px #fffbe7, 0 0 0 16px #ffd70055; }
    100% { box-shadow: 0 0 80px 30px #ffd700, 0 0 120px 40px #ff9800 inset, 0 0 0 16px #fffbe7, 0 0 0 32px #ffd70099; }
}
#controls {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    box-sizing: border-box;
}
#spin-btn {
    background: linear-gradient(90deg, #1a237e 0%, #3f51b5 100%);
    color: #fff;
    border: 2px solid #ffd700;
    font-size: 2rem;
    border-radius: 20px;
    padding: 20px 60px;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.3),
        0 0 15px #ffd700;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    outline: none;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    width: 80%;
    max-width: 300px;
}
#spin-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
#feedback {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #ff5722;
    text-shadow: 0 0 10px #fffde7, 0 0 20px #ffd700;
    min-height: 40px;
}

@media (max-height: 700px) {
    #slot-canvas {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    #slot-canvas {
        max-height: 60vh;
    }
    
    #spin-btn {
        font-size: 1.5rem;
        padding: 15px 40px;
    }
    
    #feedback {
        font-size: 1.2rem;
    }
}
