    @keyframes gradientBG {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Cortina aprimorada */
    .cortina {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 50%;
        background: linear-gradient(to bottom, #f5f0e6 0%, #d2c4a3 100%);
        z-index: 999;
        overflow: hidden;
        animation: abrirCortina 2s ease forwards;
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
        height: 100%;
    }

    .cortina::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 200%;
        background: radial-gradient(circle at center, rgba(210, 196, 163, 0.3) 20%, transparent 70%);
        opacity: 0.15;
        animation: ondas 1s infinite alternate ease-in-out;
    }

    .cortina.esquerda {
        left: 0;
        border-right: 2px solid #b2a87e;
    }

    .cortina.direita {
        right: 0;
        border-left: 2px solid #b2a87e;
    }

    @keyframes abrirCortina {
        0% {
            width: 50%;
        }

        100% {
            width: 0;
        }
    }

    @keyframes ondas {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }

    #container {
        position: relative;
        z-index: 10;
        background-size: 600% 600% !important;
        animation: gradientBG 15s ease infinite;
        padding: 20px;
        min-height: 353px;
    }

    #roleta {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 10px solid #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }

    #canvas {
        width: 100%;
        height: 100%;
        transition: transform 5s ease-out;
    }

    #seta {
        position: absolute;
        left: -15px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 20px solid transparent;
        /* inicialmente transparente */
        z-index: 11;
        animation: pulsarSeta 1.5s infinite ease-in-out;
        background: linear-gradient(135deg, #ff0080, #ff8c00);
        clip-path: polygon(0 50%, 100% 0, 100% 100%);
        box-shadow: 0 0 12px #ff0080, 0 0 20px #ff8c00;
        cursor: pointer;
    }

    @keyframes pulsarSeta {

        0%,
        100% {
            filter: brightness(1);
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 12px #ff0080, 0 0 20px #ff8c00;
        }

        50% {
            filter: brightness(1.3);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 0 24px #ff0080, 0 0 40px #ff8c00;
        }
    }

    #girar {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 12;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        background: linear-gradient(135deg, #ff0080, #ff8c00);
        color: #fff;
        border: none;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease, box-shadow 0.4s ease;
        animation: pulsarBotao 1.5s infinite ease-in-out;
    }

    #girar:hover {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 140, 0, 0.9);
    }

    @keyframes pulsarBotao {

        0%,
        100% {
            box-shadow: 0 4px 10px rgba(255, 140, 0, 0.7);
            transform: translate(-50%, -50%) scale(1);
        }

        50% {
            box-shadow: 0 8px 25px rgba(255, 140, 0, 1);
            transform: translate(-50%, -50%) scale(1.05);
        }
    }

    canvas.bg {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 0;
        width: 100%;
        height: 100%;
    }

    /* Modal de alerta customizado */
    #alertaCustom {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .alertaConteudo {
        background: linear-gradient(135deg, #ff0080, #ff8c00);
        padding: 25px 40px;
        border-radius: 12px;
        color: white;
        font-size: 18px;
        text-align: center;
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
        animation: abrirAlerta 0.4s ease forwards;
        max-width: 300px;
    }

    .alertaConteudo button {
        margin-top: 20px;
        background: #fff;
        color: #ff0080;
        border: none;
        padding: 10px 25px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(255, 140, 0, 0.6);
        transition: background-color 0.3s ease;
    }

    .alertaConteudo button:hover {
        background-color: #ff8c00;
        color: white;
    }

    @keyframes abrirAlerta {
        from {
            opacity: 0;
            transform: scale(0.8);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @media (max-width: 768px) {
        .roletaModal {
            height: 413px;
        }

        #alertaCustom {
            width: 100%;
            height: 449px;
        }
    }