/* RuletaAmigos - Estilos mejorados */
.ruleta-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ruleta-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.ruleta-container {
    background: #181c2b;
    border-radius: 20px;
    padding: 25px 25px 25px 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    min-width: 340px;
    text-align: center;
    position: relative;
    max-width: 95vw;
}
.ruleta-header {
    margin-top: -15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 3;
}
.ruleta-title {
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: 1.3em;
    margin: 10px 0px 50px 0px;
}
.ruleta-canvas-container {
    position: relative;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 95vw;
}
#ruleta-canvas {
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 320px;
    border-radius: 50%;
    box-shadow: 0 0 32px #ffd70055, 0 4px 32px #000a;
    background: #fffbe0;
    display: block;
    position: relative;
    z-index: 1;
}
.ruleta-pointer-real {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    color: #ffb300;
    text-shadow: 0 2px 8px #ffd70099;
    z-index: 2;
    filter: drop-shadow(0 0 8px #ffd700cc);
    animation: pointerBounce 1.2s infinite;
    line-height: 1;
}
@keyframes pointerBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
.ruleta-result {
    margin: 24px 0 10px 0;
    font-size: 2em;
    color: #ffd700;
    font-weight: bold;
    background: #232a3d;
    border-radius: 16px;
    padding: 22px 0;
    box-shadow: 0 2px 8px #ffd70033;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #000a;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}
.close-ruleta-btn {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #232a3d;
    border: none;
    border-radius: 12px;
    padding: 16px 44px;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 22px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px #ffd70055;
}
.close-ruleta-btn:hover {
    background: linear-gradient(45deg, #ffb300, #ffd700);
    transform: scale(1.07);
}
@media (max-width: 400px) {

    #ruleta-canvas {
        max-width: 90vw;
        max-height: 90vw;
    }
    .ruleta-result {
        font-size: 1.2em;
        padding: 12px 0;
    }
    .close-ruleta-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
} 