    #fullscreen-scratch {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.85);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }
    #scratch-container {
        position: relative;
        width: 400px;
        height: 650px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 0 20px #0008;
    }
    #scratch-canvas {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 650px;
        cursor: url('../img/coin.png') 32 32, pointer;
        background: url(../img/winscratch.webp);
        background-size: cover;
        z-index: 2;
        border-radius: 12px;
    }

    #prize-content {
        width: 100%; height: 100%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        z-index: 1;
        position: absolute;
        top: 0; left: 0;
    }
    #buttons-container {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: url(../img/winscratch.webp);
        background-position: center;
        height: 100%;
        background-size: cover;
        z-index: 3;
        background-repeat: no-repeat;
        border-radius: 12px;
    }
    #buttons-container img {
        width: 120px;
        margin-bottom: 20px;
    }
    #buttons-container{
        justify-content: flex-end;
        align-items: center;
    }
    #buttons-container button {
        margin: 4px;
        padding: 8px 23px;
        border-radius: 13px;
        font-size: 14px;
        border: 2px solid black;
        color: white;
        font-family: 'Poppins';
        background: #a100b7;
    }
    .scratch{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background-color: #02d2e9;

    }
    #close-scratch {
        position: absolute;
        top: 16px; right: 16px;
        z-index: 10;
        background: #c00;
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 12px 24px;
        font-size: 20px;
        cursor: pointer;
    }
    #buttons-container .button-recharge {
        position: absolute;
        width: 117px;
        border-radius: 6px;
        padding: 6px;
        top: -11%;
        background: #0e6b00;
        display: flex;
        z-index: 9999999;
        justify-content: center;
        align-items: center;
    }

    #buttons-container .whats-button{
        display: flex;
        background: #229f22;
        color: #ffffff;
        scale: .9;
        font-size: 15px;
        width: 12%;
        position: relative;
        scale: 1.05;
        border-radius: 50%;
        bottom: 60%;
        box-shadow: 0 0 12px black;
        left: 37%;
        justify-content: center;
        border: none;
    }

    #buttons-container button {
        width: 70%;
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }
    a{
            text-decoration: none;
            background: #00000000;
            color: white;
    }

    .button-recharge a{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        flex-wrap: nowrap;
    }
    .fa-whatsapp{
        font-size: 30px;
        color: green;
    }

    .fa-instagram{
        background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
        border-radius: 20%;
        color: #ffffff;
        height: 25px;

    }
    #buttons-container .button-share{
        width: auto;
        padding: 10px;
        position: absolute;
        font-size: 20px;
        border-radius: 50%;
        left: 81.3%;
        scale: 1.1;
        border: none;
        bottom: 51%;
        box-shadow: 0 2px 8px #000000b5;
    }

    /* Animación de deslizamiento para el menú social (lado derecho) */
#social-float {
    display: none;
    position: fixed;
    top: 35%;
    right: 0;
    left: auto;
    z-index: 9999;
}
.fa-instagram:before {
    content: "\f16d";
    font-size: 26px;
}
#toggle-social {
    background: none;
    color: #fff;
    border: none;
    border-radius: 8px 0px 0px 8px;
    padding: 0px 0px;
    font-size: 24px;
    position: relative;
    cursor: pointer;
    box-shadow: 2px 2px 8px #0002;
    transition: background 0.2s;
    left: 1%;
}
#toggle-social:hover {
    background: none;
}
#social-menu {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px 0 0 8px;
    box-shadow: 2px 2px 12px #0002;
    margin-top: 8px;
    padding: 8px 0;
    min-width: 60px;
    /* Animación inicial: oculto a la derecha */
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
#social-float.open #social-menu {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
#social-menu a {
    color: #00acfe;
    display: flex
;
    font-size: 28px;
    padding: 12px 18px;
    text-align: left;
    transition: background 0.2s, color 0.2s;
    height: 63px;
    justify-content: center;
    align-items: center;
}

#toggle-social img{
    width: 80px;
}
#social-menu a:hover {
    background: #f0f0f0;
    color: #007bb5;
}
@media (max-width: 720px) {
    #buttons-container .button-share{
        background: #862dda;
        color: #ffffff;
        scale: 1.24;
        width: 42px;
        position: relative;
        display: flex;
        border-radius: 50%;
        border: none;
        bottom: 25%;
        box-shadow: 0 0 12px black;
        left: 36%;
        align-items: center;
        align-content: center;
        flex-direction: column;
   }
    .button-recharge{
    position: absolute;
    width: 31%;
    border-radius: 6px;
    padding: 3px;
    top: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    .fa-share-alt{
        font-size: 22px;
    }
    #scratch-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: url(../img/coin.png) 32 32, pointer;
        background: url(../img/winscratch.webp);
        background-size: cover;
        z-index: 2;
        border-radius: 12px;
    }
    html{
        overflow: hidden;
    }
    #buttons-container button {
        width: 80%;
        font-size: 12px;
        display: flex;
        justify-content: center;
        gap: 9px;      
        align-items: center;
    }
    #buttons-container {
        height: 100%;
    }
    #scratch-container {
        position: relative;
        width: 100%;
        height: 100%;
        margin: auto;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 0 20px #0008;
    }
    #buttons-container button {
        margin: 11px;
        margin-bottom: 30%;
    }
    i{
        font-size: 20px;
    }
    #buttons-container .whats-button {
        background: #229f22;
        color: #ffffff;
        font-size: 17px;
        width: 49px;
        scale: 1.10;
        position: relative;
        display: flex;
        border-radius: 50%;
        border: none;
        bottom: 58%;
        box-shadow: 0 0 12px black;
        left: 36%;
        align-items: center;
        align-content: center;
        flex-direction: column;
    }
}

@media (max-width: 360px) {
    #buttons-container button {
        width: 90%;}

            #scratch-container {
                position: relative;
                width: 350px;
                height: 590px;
                margin: auto;
                background: #fff;
                border-radius: 16px;
                box-shadow: 0 0 20px #0008;
            }
}
