/* ==========================================
   COLSMP - RANGOS CSS
========================================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}



body{

    background:
    linear-gradient(
        180deg,
        rgba(15,17,26,.75),
        rgba(15,17,26,.95)
    ),
    url("../assets/fondo.jpg") center/cover fixed;

    color:white;

    min-height:100vh;

    padding:35px 20px;

}




/* ==========================
 HERO
========================== */


.hero{

    width:100%;
    max-width:1000px;

    margin:auto;

    background:rgba(24,27,40,.88);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:20px;

    padding:45px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    overflow:hidden;

    margin-bottom:30px;

}



.hero-content{

    z-index:2;

}



.offer{

    background:#FFD43B;

    color:#111;

    padding:8px 15px;

    border-radius:50px;

    font-size:13px;

    font-weight:800;

}



.hero h1{

    margin-top:15px;

    font-size:55px;

    font-weight:900;

}



.hero p{

    color:#bfc5d1;

    margin-top:10px;

}




.hero-button{

    display:inline-block;

    margin-top:25px;

    padding:12px 30px;

    background:white;

    color:#111;

    text-decoration:none;

    border-radius:12px;

    font-weight:800;

    transition:.3s;

}



.hero-button:hover{

    transform:translateY(-4px);

}





.hero-image img{

    width:180px;

    animation:float 5s infinite;

}





/* ==========================
 NAV
========================== */


.store-nav{

    width:100%;

    max-width:1000px;

    margin:auto;

    display:flex;

    gap:12px;

    margin-bottom:35px;

}



.store-nav a{

    padding:12px 25px;

    background:#181b28;

    border:1px solid #333;

    border-radius:50px;

    color:white;

    text-decoration:none;

    transition:.3s;

}



.store-nav a:hover{

    border-color:white;

}



.store-nav .active{

    background:white;

    color:#111;

}






/* ==========================
 PRODUCTOS
========================== */


.products{

    width:100%;

    max-width:1000px;

    margin:auto;

}



.products h2{

    font-size:32px;

    margin-bottom:25px;

}




.products-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}





/* ==========================
 RANGOS
========================== */


.rank-card{


    background:#181b28;

    border:1px solid rgba(255,255,255,.12);

    border-radius:20px;

    padding:25px;

    text-align:center;

    position:relative;

    overflow:hidden;

    transition:.35s;

}



.rank-card:hover{

    transform:translateY(-8px);

}



.rank-card img{

    width:120px;

    height:120px;

    object-fit:contain;

    margin-bottom:15px;

}



.rank-card h3{

    font-size:30px;

    font-weight:900;

}



.price{

    font-size:28px;

    font-weight:900;

    margin:10px;

}



.description{

    color:#aeb4c0;

    font-size:14px;

}





.rank-card ul{

    list-style:none;

    margin-top:20px;

}



.rank-card li{

    padding:9px;

    color:#ddd;

    border-bottom:1px solid #292d3b;

}






/* ==========================
 COLORES
========================== */


/* STEEL */

.steel{

    border-color:#9ca3af;

}



.steel:hover{

    box-shadow:
    0 0 30px rgba(156,163,175,.35);

}



.steel h3,
.steel .price{

    color:#d1d5db;

}






/* COL */


.col{

    border-color:#2563eb;

}



.col:hover{

    box-shadow:
    0 0 35px rgba(37,99,235,.45);

}



.col h3,
.col .price{

    color:#3b82f6;

}








/* ==========================
 BOTON
========================== */


.buy-button{

    display:block;

    margin-top:25px;

    padding:13px;

    background:white;

    color:#111;

    border-radius:12px;

    text-decoration:none;

    font-weight:900;

    transition:.3s;

}



.buy-button:hover{

    transform:scale(1.05);

    background:#FFD43B;

}





/* ==========================
 FOOTER
========================== */


footer{

    margin-top:60px;

    text-align:center;

    color:#94a3b8;

}



footer img{

    width:100px;

}





/* ==========================
 ANIMACION
========================== */


@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-12px);
}

100%{
transform:translateY(0);
}

}






/* ==========================
 RESPONSIVE
========================== */


@media(max-width:800px){


.products-grid{

    grid-template-columns:1fr;

}



.hero{

    flex-direction:column;

    text-align:center;

}



.hero h1{

    font-size:40px;

}



.hero-image{

    margin-top:25px;

}



}

@media(max-width:500px){


body{

    padding:20px 12px;

}



.hero{

    padding:30px 20px;

    border-radius:16px;

}



.hero h1{

    font-size:34px;

}



.hero p{

    font-size:14px;

}



.hero-image img{

    width:140px;

}



.store-nav{

    justify-content:center;

    flex-wrap:wrap;

}



.store-nav a{

    padding:10px 20px;

    font-size:14px;

}



.products h2{

    font-size:26px;

    text-align:center;

}



.rank-card{

    padding:20px;

    border-radius:16px;

}



.rank-card img{

    width:100px;

    height:100px;

}



.rank-card h3{

    font-size:26px;

}



.price{

    font-size:24px;

}



.rank-card li{

    font-size:14px;

}



.buy-button{

    padding:12px;

    font-size:14px;

}


}