*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:
    linear-gradient(
    180deg,
    #0b0b0b 0%,
    #111111 40%,
    #000000 100%
    );

    font-family:Arial, sans-serif;

    color:white;

    overflow-x:hidden;

    min-height:100vh;
}

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:

    radial-gradient(
    circle at top right,
    rgba(168,85,247,.12),
    transparent 30%
    ),

    radial-gradient(
    circle at bottom left,
    rgba(147,51,234,.10),
    transparent 35%
    );

    pointer-events:none;

    z-index:-1;
}

/* ================= HEADER ================= */

header{
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
    padding:16px 22px;
    background:linear-gradient(
90deg,
#140014,
#1b0000,
#240000
);
    border-bottom:1px solid rgba(255,255,255,.06);
    position:sticky;
    top:0;
    z-index:999;
}

/* ================= TABS ================= */

.tabs{
    display:flex;
    gap:10px;
    align-items:center;
}

.tab{

    background:
    linear-gradient(
    180deg,
    #2b0d42,
    #1b012b
    );

    border:
    1px solid rgba(168,85,247,.25);

    color:white;

    padding:10px 18px;

    border-radius:18px;

    cursor:pointer;

    transition:.25s;

    font-weight:600;

    box-shadow:
    0 0 10px rgba(0,0,0,.25);
}

.tab:hover{

    transform:
    translateY(-2px);

    background:
    linear-gradient(
    90deg,
    #7c3aed,
    #6d28d9
    );
}

.tab.active{

    background:
linear-gradient(
90deg,
#ff3c00,
#b80000
);

    border:
    1px solid rgba(255,255,255,.15);

    box-shadow:
    0 0 20px rgba(168,85,247,.55);
}

/* ================= SEARCH ================= */

.search{
    flex:1;
    max-width:380px;
}

.search input{

    width:100%;

    padding:14px 18px;

    border-radius:18px;

    border:
    1px solid rgba(255,60,60,.15);

    outline:none;

    background:
    linear-gradient(
    180deg,
    #1a1a1a,
    #101010
    );

    color:#ffffff;

    font-size:15px;

    font-weight:600;

    box-shadow:
    0 0 12px rgba(255,0,0,.10);
}

.search input::placeholder{
    color:#999;
}

/* ================= PROVIDERS ================= */

.providers{
    display:flex;
    align-items:center;
}

.providers select{

    background:
    linear-gradient(
    180deg,
    #1a1a1a,
    #0c0c0c
    );

    color:white;

    border:
    1px solid rgba(255,60,60,.15);

    padding:14px 18px;

    border-radius:18px;

    outline:none;

    cursor:pointer;

    font-weight:600;

    box-shadow:
    0 0 12px rgba(255,0,0,.10);
}

.providers select option{

    background:#1a0127;

    color:white;

    padding:12px;
}

/* ================= GRID ================= */

.grid{
    display:grid;
    gap:20px;
    padding:25px;
    grid-template-columns:
    repeat(auto-fill,minmax(220px,1fr));
}

/* ================= CARD ================= */

.card{

   background:
linear-gradient(
180deg,
#1a1a1a,
#0c0c0c
);

    border-radius:24px;

    overflow:hidden;

    cursor:pointer;

    transition:.25s;

    position:relative;

    border:
    1px solid rgba(168,85,247,.12);

    box-shadow:
    0 0 18px rgba(0,0,0,.35);
}

.card:hover{

    transform:
    translateY(-6px)
    scale(1.02);

    box-shadow:
    0 0 28px rgba(168,85,247,.35);
}

.card img{
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
}

.card h4{
    padding:14px;
    font-size:16px;
    font-weight:600;
}

/* ================= FAVORITO ================= */

.badge{
    position:absolute;
    right:10px;
    top:10px;

    background:#facc15;
    color:black;

    font-weight:bold;

    border-radius:12px;

    padding:4px 8px;

    font-size:12px;
}

/* ================= FOOTER ================= */

footer{
    padding:30px;
    text-align:center;
    color:#c9b5d8;
    opacity:.8;
    font-size:13px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    header{
        flex-direction:column;
        align-items:stretch;
    }

    .tabs{
        overflow:auto;
        padding-bottom:6px;
    }

    .search{
        max-width:100%;
    }

}

@media(max-width:600px){

    .grid{
        grid-template-columns:
        repeat(2,1fr);

        gap:14px;

        padding:14px;
    }

    .card img{
        height:130px;
    }

    .card h4{
        font-size:14px;
    }

}
/* ================= LOGO ================= */

.logo-area{

    display:flex;

    align-items:center;
}

.logo-area img{

    height:48px;

    width:auto;

    object-fit:contain;

    display:block;
}
/* =========================================
TOP HEADER PREMIUM
========================================= */

.top-header{

min-height:90px;

    background:
linear-gradient(
90deg,
#3b0012,
#5b0018,
#8b001f
height:90px !important;
    min-height:90px !important;
    overflow:hidden !important;
);

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 28px;

    border-bottom:
    1px solid rgba(168,85,247,.15);

    position:sticky;

    top:0;

    z-index:9999;
}

/* ================= LOGO ================= */

.logo-area{

    display:flex;

    align-items:center;
}

.logo-area img{

    height:48px;

    width:auto;

    object-fit:contain;

    display:block;
}

/* ================= MENU ================= */

.main-menu{

    position:absolute;

    top:88px;

    left:15px;

    right:15px;

    display:none;

    flex-direction:column;

    gap:12px;

    background:
    linear-gradient(
    180deg,
    #3b0012,
    #170008
    );

    padding:18px;

    border-radius:24px;

    z-index:99999;

    box-shadow:
    0 0 40px rgba(255,0,0,.20);

}

.main-menu a{

    color:#fff;

    text-decoration:none;

    font-size:18px;

    font-weight:800;

    padding:10px 0;

}
.main-menu a:hover{

    color:#c084fc;
}

/* ================= ACTIONS ================= */

.header-actions{

    display:flex;

    align-items:center;

    gap:14px;
}

/* ================= PROMO ================= */

.promo-btn{

    background:
linear-gradient(
180deg,
#ff2d2d,
#b80000
);

    color:white;

    border:none;

    padding:12px 20px;

    border-radius:18px;

    font-weight:700;

    cursor:pointer;

    box-shadow:
    0 0 20px rgba(168,85,247,.35);
}

/* ================= LOGIN ================= */

.login-btn{

    background:
linear-gradient(
180deg,
#ff2d2d,
#b80000
);

    border:none;

    color:white;

    padding:12px 28px;

    border-radius:18px;

    font-weight:700;

    cursor:pointer;
}
/* ================= LOGIN MODAL ================= */

.login-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(6px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.login-modal.show{
    display:flex;
}

.login-box{
    width:900px;
    max-width:92%;
    min-height:430px;
    background:#0d0d0d;
    border-radius:22px;
    display:grid;
    grid-template-columns:42% 58%;
    overflow:hidden;
    position:relative;
    box-shadow:0 0 40px rgba(168,85,247,.35);
}

.login-close{
    position:absolute;
    top:18px;
    right:22px;
    background:none;
    border:none;
    color:#c9b5d8;
    font-size:38px;
    cursor:pointer;
    z-index:5;
}

.login-image{
    background:
    linear-gradient(
    180deg,
    #111111,
    #050505
    );

    display:flex;
    align-items:center;
    justify-content:center;
    padding:25px;
}

.login-image img{
    width:100%;
    max-width:330px;
    object-fit:contain;
}

.login-form{
    padding:42px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-form h2{
    font-size:28px;
    margin-bottom:30px;
}

.login-form label{
    font-weight:700;
    margin-bottom:10px;
}

.login-form label span{
    color:#ff3b6b;
}

.login-form input{
    width:100%;
    background:#1a1a1a;
    border:1px solid rgba(255,60,60,.15);
    outline:none;
    color:white;
    padding:16px 20px;
    border-radius:22px;
    margin-bottom:26px;
    font-size:15px;
}

.password-box{
    position:relative;
}

.password-box input{
    padding-right:55px;
}

.password-box span{
    position:absolute;
    right:20px;
    top:15px;
    font-size:20px;
}

.login-submit{
    background:
    linear-gradient(
    90deg,
    #ff2d2d,
    #b80000
    );

    color:white;
    border:none;
    padding:16px;
    border-radius:22px;
    font-weight:800;
    cursor:pointer;

    box-shadow:
    0 0 18px rgba(255,0,0,.25);
}
@media(max-width:768px){

    .login-box{
        grid-template-columns:1fr;
        width:92%;
    }

    .login-image{
        padding:18px;
    }

    .login-image img{
        max-width:180px;
    }

    .login-form{
        padding:28px;
    }

}
/* ================= MOBILE HEADER ================= */

.mobile-top{

display:flex;

align-items:center;

justify-content:space-between;

width:100%;

}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .top-header{

        padding:14px;

        display:flex;

        flex-direction:row;

        align-items:stretch;
        position:relative;
    }

    /* ocultar menu normal */

    .main-menu{

    display:flex;

    flex-direction:row;

    gap:20px;

    overflow-x:auto;

    white-space:nowrap;

    margin-top:0;

    position:static;

    background:none;

    padding:0;

}

    /* mostrar cuando se haga click */

    .main-menu.show-menu{
        display:flex;
    }

    .main-menu a{

        width:100%;

        text-align:center;

        background:
        linear-gradient(
        180deg,
        #2a0000,
        #140000
        );

        padding:14px;

        border-radius:18px;

        border:
        1px solid rgba(255,60,60,.15);
    }

    /* top mobile */

    .mobile-top{

        display:flex;

        align-items:center;

        justify-content:space-between;

        margin-bottom:12px;
    }

    .menu-toggle{

        width:52px;
        height:52px;

        border:none;

        border-radius:14px;

        background:
        linear-gradient(
        180deg,
        #ff2d2d,
        #b80000
        );

        color:white;

        font-size:28px;

        cursor:pointer;

        box-shadow:
        0 0 18px rgba(255,0,0,.25);
    }

    .mobile-logo img{
    height:55px !important;
    width:auto !important;
    max-width:170px !important;
    object-fit:contain !important;
    display:block;
}

    /* botones */

    .header-actions{

        width:100%;

        display:flex;

        gap:12px;

        margin-top:14px;
    }

    .promo-btn,
    .login-btn{

        flex:1;

        height:54px;

        font-size:18px;

        border-radius:18px;
    }

}
.mobile-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.mobile-top{
    height:70px;
    overflow:hidden;
}
/* ===== FIX HEADER FINAL ===== */

.top-header{
    height:95px !important;
    min-height:95px !important;
    padding:0 28px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    overflow:visible !important;
}

.mobile-top{
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    height:auto !important;
    overflow:visible !important;
}

.mobile-logo img{
    height:58px !important;
    max-height:58px !important;
    max-width:180px !important;
    width:auto !important;
    object-fit:contain !important;
    display:block !important;
}

.menu-toggle{
    width:42px !important;
    height:42px !important;
    font-size:22px !important;
}

.main-menu{
    position:absolute !important;
    top:100px !important;
    left:20px !important;
    right:20px !important;
    display:none !important;
    flex-direction:column !important;
    gap:10px !important;
    background:linear-gradient(180deg,#3b0012,#120005) !important;
    padding:15px !important;
    border-radius:20px !important;
    z-index:99999 !important;
}

.main-menu.show-menu{
    display:flex !important;
}

.header-actions{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    width:auto !important;
    margin-top:0 !important;
}

.promo-btn,
.login-btn{
    height:48px !important;
    padding:0 28px !important;
    border-radius:28px !important;
    font-size:16px !important;
}

@media(max-width:768px){
    .top-header{
        height:120px !important;
        min-height:120px !important;
        padding:14px !important;
        flex-direction:column !important;
        align-items:stretch !important;
    }

    .mobile-logo img{
        height:48px !important;
        max-height:48px !important;
        max-width:130px !important;
    }

    .header-actions{
        width:100% !important;
        margin-top:12px !important;
    }

    .promo-btn,
    .login-btn{
        flex:1 !important;
        height:50px !important;
        font-size:15px !important;
    }

    .main-menu{
        top:72px !important;
        left:14px !important;
        right:14px !important;
    }
}