*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}


body{

    height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background:
    linear-gradient(
        rgba(0,20,0,0.75),
        rgba(0,0,0,0.85)
    ),
    url("../img/fondo.jpg/fondo.jpg");

    background-size:cover;
    background-position:center;

    color:white;

}



.container{

    text-align:center;

    animation: aparecer 1.5s ease;

}



.logo{

    font-size:70px;
    font-weight:900;
    letter-spacing:10px;

    margin-bottom:30px;

    color:#00ff66;

    animation: brillo 2s infinite alternate;

}



h1{

    font-size:35px;
    margin-bottom:15px;

}


p{

    color:#aaa;
    margin-bottom:40px;

}



button{

    width:100%;

    max-width:500px;

    padding:15px;

    margin:0;

    border:none;
    border-radius:30px;

    background:#00ff66;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}



button:hover{

    transform:scale(1.08);

}



.buy{

    background:white;

}



@keyframes aparecer{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}



@keyframes brillo{


    from{

        text-shadow:
        0 0 10px #00ff66;

    }


    to{

        text-shadow:
        0 0 40px #00ff66,
        0 0 80px #00ff66;

    }


}
.apps-container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:40px;

}



.app-card{


    width:150px;

    height:150px;

    background:rgba(0,0,0,0.55);

    border:1px solid #00ff66;

    border-radius:20px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;


    cursor:pointer;

    transition:.3s;


}



.app-card img{


    width:60px;

    height:60px;

    object-fit:contain;

    margin-bottom:15px;


}



.app-card span{


    color:white;

    font-weight:bold;


}



.app-card:hover{


    transform:translateY(-10px) scale(1.05);

    box-shadow:
    0 0 20px #00ff66;


}
.back-button{

    margin-top:40px;

    width:200px;

    padding:15px;

    border-radius:30px;

    background:transparent;

    border:2px solid #00ff66;

    color:white;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}


.back-button:hover{

    background:#00ff66;

    color:black;

    box-shadow:0 0 20px #00ff66;

    transform:scale(1.05);

}
.app-card.selected{

    background:#00ff66;

    color:black;

    transform:scale(1.08);

    box-shadow:
    0 0 30px #00ff66;

}


.app-card.selected span{

    color:black;

}



.continue-button{

    margin-top:20px;

    background:#00ff66;

    color:black;

}
.oculto{

    display:none;

}
.form-box{

    display:flex;
    flex-direction:column;
    gap:20px;

    margin-top:20px;
    margin-bottom:15px;

}



.form-box input{

    width:300px;

    padding:15px;

    border-radius:25px;

    border:none;

    outline:none;

    background:rgba(255,255,255,0.9);

    font-size:16px;

}



.form-box input:focus{

    box-shadow:0 0 15px #00ff66;

}
.selected-app{

    margin-top:30px;

    padding:20px;

    border-radius:20px;

    border:1px solid #00ff66;

    background:rgba(0,0,0,0.5);

    animation: aparecer 1s ease;

}


.selected-app p{

    margin-bottom:10px;

    color:#aaa;

}


.selected-app h2{

    color:#00ff66;

}



.form-box{

    animation: aparecer 1s ease;

}



.start-button{

    margin-top:20px;

    background:#00ff66;

    color:black;

    font-size:16px;

}



.start-button:hover{

    box-shadow:0 0 25px #00ff66;

}
.selected-app img{

    width:80px;

    height:80px;

    object-fit:contain;

    margin:15px;

    border-radius:15px;

}
#mensaje{

    margin-top:20px;

    font-weight:bold;

    opacity:1;

    transition:.5s;

    padding:15px;

    border-radius:12px;

}


.success{

    opacity:1 !important;

    color:#00ff66;

    text-shadow:
    0 0 10px #00ff66;

}
.mensaje{

    margin-top:20px;
    padding:15px;
    text-align:center;
    font-size:18px;
    font-weight:bold;
    border-radius:10px;
    display:block;

}


.form-box{
    position:relative;
    z-index:10;
}

#mensaje{
    position:relative;
    z-index:20;
}
#botonesFinales{

    margin-top:25px;

    animation: aparecer 1s ease;

}


#botonesFinales button{

    display:block;

    margin:15px auto;

}
.volver-inicio{

    display:flex;
    justify-content:center;
    margin-top:0;

}

.volver-inicio button{

    width:250px;
    margin:0;

}

.producto{

    width:250px;

    background:#181d24;

    border-radius:15px;

    padding:20px;

    text-align:center;

    border:1px solid #2a313d;

}

.imgProducto{

    width:120px;

    height:120px;

    object-fit:contain;

    margin-bottom:15px;

}

.producto button:disabled{

    background:#555;

    cursor:not-allowed;

    color:#fff;

}

.card{

    width:320px;
    background:#1b1f27;
    border-radius:15px;
    padding:20px;
    text-align:center;
    margin:20px;
    transition:.3s;
}

.card:hover{

    transform:translateY(-5px);

}

.imagenProducto{

    width:220px;
    height:220px;
    object-fit:contain;
    margin-bottom:15px;

}

.card h2{

    color:#00ff66;
    margin:10px 0;

}

.card p{

    color:white;
    margin-bottom:20px;

}

.start-button{

    width:100%;

}
/* ===========================
   STOCK
=========================== */

#listaStock{

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;

}

#listaStock .card{

    width:280px;
    background:#1b1f27;
    border:1px solid rgba(0,255,102,.25);
    border-radius:18px;
    padding:20px;
    text-align:center;
    transition:.3s;
    box-shadow:0 0 15px rgba(0,255,102,.08);

}

#listaStock .card:hover{

    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(0,255,102,.25);

}

#listaStock .card img{

    width:150px;
    height:150px;
    object-fit:contain;
    margin-bottom:15px;

}

#listaStock .card h2{

    color:#00ff66;
    margin-bottom:10px;

}

#listaStock .card p{

    color:#fff;
    margin-bottom:20px;

}

/*==========================
BOTÓN TELEGRAM
==========================*/

.telegram-button{

    width:100%;

    margin-top:15px;

    padding:15px;

    border:none;

    border-radius:12px;

    background:#229ED9;

    color:white;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.telegram-button:hover{

    background:#0088cc;

    transform:translateY(-2px);

    box-shadow:0 0 18px rgba(34,158,217,.45);

}

/*==================================
        VERSIÓN MÓVIL
==================================*/

@media screen and (max-width:768px){

    body{

        height:auto;
        min-height:100vh;
        display:block;
        padding:20px 10px;

    }


    .container{

        width:100%;
        max-width:100%;
        padding:15px;
        overflow:hidden;

    }


    .logo{

        font-size:60px;
        letter-spacing:8px;

    }


    h1{

        font-size:28px;

    }


    p{

        font-size:16px;
        line-height:24px;

    }


    button{

        width:100%;
        max-width:350px;

    }


    .apps-container{

        display:grid;

        grid-template-columns:repeat(2,145px);

        justify-content:center;

        gap:15px;

        width:100%;

        margin:30px auto;

    }


    .app-card{

        width:145px;

        height:150px;

    }


    .app-card img{

        width:55px;

        height:55px;

    }


    .app-card span{

        font-size:14px;

        text-align:center;

        padding:0 5px;

    }


    .back-button,
    .continue-button{

        width:90%;
        max-width:300px;

    }

}
/*=========================
   COMPRA - MÓVIL
=========================*/

@media screen and (max-width:768px){

    #listaStock{

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:20px;

    }


    #listaStock .card{

        width:90%;

        max-width:330px;

        margin:10px auto;

        padding:15px;

    }


    #listaStock .card img{

        width:180px;

        height:180px;

    }


    #listaStock .card h2{

        font-size:22px;

    }


    #listaStock .card p{

        font-size:15px;

        line-height:22px;

    }


    #listaStock button{

        width:100%;

    }

}

/* ==========================
   MENSAJE TELEGRAM
========================== */

.telegram-info{

    max-width:650px;

    margin:18px auto 25px;

    padding:18px;

    background:rgba(34,158,217,.12);

    border:1px solid rgba(34,158,217,.35);

    border-radius:15px;

    color:#e8e8e8;

    font-size:16px;

    line-height:1.7;

    text-align:center;

}

.telegram-info strong{

    color:#00ff66;

}

@media(max-width:768px){

.telegram-info{

    font-size:15px;

    padding:15px;

}

}

.telegram-info{

    margin:25px auto;

    max-width:650px;

    text-align:center;

    font-size:17px;

    line-height:28px;

    color:#d8d8d8;

}
.telegram-info strong{

    color:#00ff66;

}

#mensajeTelegram{
    margin-top:20px;
}

#mensajeTelegram .telegram-button{
    margin-bottom:20px;
}

.start-button{
    position:relative;
    z-index:10;
}