/*==================================================
=             KEVINGEEKS - JUEGOS
==================================================*/

:root{

    --kg-primary:#7c5cff;
    --kg-primary-dark:#6040ef;

    --kg-secondary:#00d084;

    --kg-card:rgba(18,23,34,.70);

    --kg-card-hover:rgba(20,25,38,.86);

    --kg-border:rgba(255,255,255,.08);

    --kg-text:#ffffff;

    --kg-text-soft:#c7d0df;

    --kg-shadow:
        0 15px 40px rgba(0,0,0,.30);

    --kg-radius:22px;

}

/*==================================================
=                 SECCIONES
==================================================*/

.games-hero,
.eneba-section,
.hero-banner,
.support-section,
.offers-section,
.benefits-section,
.games-footer{

    position:relative;

    width:100%;

    background:transparent;

}

/*==================================================
=                    HERO
==================================================*/

.games-hero{

    margin-top:-1.5rem;

    padding:20px 0;

}

.games-header{

    max-width:760px;

    margin:auto;

    text-align:center;

}

.games-mini-title{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    color:#fff;

    font-size:.9rem;

    margin-bottom:20px;

}

.games-header h1{

    color:#fff;

    font-size:2.8rem;

    font-weight:800;

    line-height:1.2;

    margin-bottom:16px;

}

.games-header p{

    max-width:650px;

    margin:0 auto 10px;

    color:var(--kg-text-soft);

    line-height:1.8;

    font-size:1.05rem;

}

/*==================================================
=                BOTÓN HERO
==================================================*/

.hero-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-top:20px;

    padding:16px 34px;

    border-radius:15px;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    background:

        linear-gradient(
            135deg,
            var(--kg-primary),
            #977dff
        );

    transition:.30s;

}

.hero-button:hover{

    transform:translateY(-4px);

    box-shadow:

        0 20px 35px rgba(124,92,255,.35);

}

/*==================================================
=              TARJETA ENEBA
==================================================*/

.eneba-section{

    padding:18px 0;

}

.eneba-card{

    display:flex;

    align-items:center;

    gap:30px;

    padding:26px 30px;

    border-radius:var(--kg-radius);

    background:var(--kg-card);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border:1px solid var(--kg-border);

    box-shadow:var(--kg-shadow);

}

.eneba-card-left{

    flex-shrink:0;

}

.eneba-logo{

    width:auto;

    height:54px;

}

.eneba-card-center{

    flex:1;

}

.eneba-card-center h2{

    color:#fff;

    margin-bottom:10px;

    font-size:1.65rem;

}

.eneba-card-center p{

    color:var(--kg-text-soft);

    line-height:1.7;

}

.eneba-card-right{

    flex-shrink:0;

}

.eneba-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 28px;

    border-radius:14px;

    background:

        linear-gradient(
            135deg,
            #00d084,
            #00b96f
        );

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.30s;

}

.eneba-btn:hover{

    transform:translateY(-3px);

}

/*==================================================
=                 BANNER
==================================================*/

.hero-banner{

    padding:20px 0;

}

.hero-banner-image{

    width:100%;

    height:auto;

    max-height:none;

    object-fit:contain;

    display:block;

    border-radius:22px;

    box-shadow:var(--kg-shadow);

}

/*==================================================
=          APOYA A KEVINGEEK
==================================================*/

.support-section{

    padding:25px 0 45px;

}

.support-card{

    display:flex;

    gap:30px;

    align-items:center;

    padding:32px;

    border-radius:24px;

    background:var(--kg-card);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border:1px solid var(--kg-border);

    box-shadow:var(--kg-shadow);

}

.support-icon{

    width:82px;

    height:82px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:50%;

    background:rgba(124,92,255,.18);

    font-size:2.4rem;

}

.support-content{

    flex:1;

}

.support-content h2{

    color:#fff;

    margin-bottom:14px;

    font-size:2rem;

}

.support-content p{

    color:var(--kg-text-soft);

    line-height:1.8;

    margin-bottom:24px;

}

.support-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.feature{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px 18px;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    color:#fff;

    font-weight:600;

}
/*==================================================
=             OFERTAS / CARRUSEL
==================================================*/

.offers-section{

    padding:35px 0 16px;

}

.section-title{

    max-width:760px;

    margin:0 auto 40px;

    padding:24px;

    border:1px solid rgba(255,255,255,.16);

    border-radius:22px;

    background:rgba(27,18,77,.28);

    text-align:center;

}

.section-title h2{

    color:#fff;

    font-size:2.4rem;

    margin-bottom:14px;

}

.section-title p{

    color:#f3f6ff;

    font-weight:500;

    line-height:1.8;

}

/*==================================================
=              CONTENEDOR SWIPER
==================================================*/

.games-wrapper{

    position:relative;

}

.gamesSwiper{

    width:100%;

    overflow:hidden;

    padding:12px 6px 22px;

}

.gamesSwiper .swiper{

    overflow:hidden;

}

/* MUY IMPORTANTE */

.gamesSwiper .swiper-wrapper{

    display:flex !important;

    align-items:stretch;

}

.gamesSwiper .swiper-slide{

    display:flex;

    flex-shrink:0;

    height:auto;

}

/*==================================================
=                 TARJETA
==================================================*/

.game-card{

    display:flex;

    flex-direction:column;

    width:100%;

    overflow:hidden;

    border-radius:22px;

    background:var(--kg-card);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border:1px solid var(--kg-border);

    box-shadow:var(--kg-shadow);

    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;

}

.game-card:hover{

    transform:translateY(-8px);

    border-color:rgba(124,92,255,.55);

    box-shadow:

        0 25px 50px rgba(0,0,0,.35);

}

/*==================================================
=              JUEGOS DESTACADOS
==================================================*/

.featured-card{

    border:2px solid rgba(255,193,7,.45);

}

.featured-badge{

    position:absolute;

    top:14px;

    left:14px;

    z-index:20;

    padding:8px 15px;

    border-radius:999px;

    background:

        linear-gradient(
            135deg,
            #ffd54f,
            #ff9800
        );

    color:#111;

    font-size:.78rem;

    font-weight:700;

}

/*==================================================
=                 IMAGEN
==================================================*/

.game-image{

    position:relative;

    overflow:hidden;

    background:#10141d;

    aspect-ratio:16/9;

}

.game-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .35s;

}

.game-card:hover img{

    transform:scale(1.06);

}

/*==================================================
=                 CONTENIDO
==================================================*/

.game-body{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:22px;

}

.game-platform{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:10px;

    margin-bottom:18px;

}

.platform{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:7px 14px;

    border-radius:999px;

    color:#fff;

    font-size:.80rem;

    font-weight:700;

}

.platform-steam{background:#1b2838;}
.platform-xbox{background:#107c10;}
.platform-playstation{background:#003791;}
.platform-nintendo{background:#e60012;}
.platform-epic{background:#303030;}
.platform-ea{background:#ff6600;}
.platform-ubisoft{background:#0066ff;}
.platform-battle{background:#148eff;}
.platform-generic{background:#6b7280;}

.game-region{

    padding:6px 12px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:.78rem;

}

.game-title{

    flex:1;

    color:#fff;

    font-size:1.05rem;

    font-weight:700;

    line-height:1.55;

    margin-bottom:22px;

}

.game-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.game-price{

    color:#00d084;

    font-size:1.9rem;

    font-weight:800;

}

.game-stock{

    padding:7px 12px;

    border-radius:999px;

    font-size:.78rem;

    font-weight:700;

}

.stock-ok{

    background:rgba(0,208,132,.16);

    color:#00d084;

}

.stock-out{

    background:rgba(255,82,82,.18);

    color:#ff7070;

}

/*==================================================
=              BOTÓN COMPRAR
==================================================*/

.buy-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    padding:15px;

    margin-top:auto;

    border-radius:14px;

    background:

        linear-gradient(
            135deg,
            var(--kg-primary),
            #9174ff
        );

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.buy-btn:hover{

    transform:translateY(-3px);

}

/*==================================================
=                LOADER
==================================================*/

.games-loading{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    min-height:220px;

    gap:20px;

}

.loader{

    width:58px;

    height:58px;

    border-radius:50%;

    border:5px solid rgba(255,255,255,.10);

    border-top-color:var(--kg-primary);

    animation:spin .9s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

.games-loading span{

    color:#fff;

}

/*==================================================
=                ERROR
==================================================*/

.games-error{

    text-align:center;

    max-width:650px;

    margin:auto;

    padding:35px;

    border-radius:22px;

    background:rgba(255,70,70,.10);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,90,90,.25);

}

.retry-btn{

    margin-top:20px;

    padding:14px 28px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:#fff;

    background:var(--kg-primary);

    font-weight:700;

}
/*==================================================
=             FLECHAS SWIPER
==================================================*/

.gamesSwiper .swiper-button-next,
.gamesSwiper .swiper-button-prev{

    width:54px;

    height:54px;

    border-radius:50%;

    background:rgba(20,25,38,.75);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.10);

    color:#fff;

    transition:.25s;

}

.gamesSwiper .swiper-button-next:hover,
.gamesSwiper .swiper-button-prev:hover{

    background:var(--kg-primary);

    transform:scale(1.08);

}

.gamesSwiper .swiper-button-next::after,
.gamesSwiper .swiper-button-prev::after{

    font-size:18px;

    font-weight:700;

}

/*==================================================
=               PAGINACIÓN
==================================================*/

.gamesSwiper .swiper-pagination{

    position:relative;

    margin-top:20px;

    bottom:auto !important;

}

.gamesSwiper .swiper-pagination-bullet{

    width:11px;

    height:11px;

    margin:0 5px !important;

    background:rgba(255,255,255,.35);

    opacity:1;

    transition:.25s;

}

.gamesSwiper .swiper-pagination-bullet-active{

    width:34px;

    border-radius:999px;

    background:var(--kg-primary);

}

/*==================================================
=                 BENEFICIOS
==================================================*/

.benefits-section{

    padding:20px 0 60px;

}

.benefits-title{

    max-width:760px;

    margin:0 auto 35px;

    text-align:center;

}

.benefits-title h2{

    color:#fff;

    font-size:2.3rem;

    margin-bottom:15px;

}

.benefits-title p{

    color:var(--kg-text-soft);

    line-height:1.8;

}

.benefits-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

}

.benefit-card{

    padding:28px;

    border-radius:22px;

    background:var(--kg-card);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border:1px solid var(--kg-border);

    transition:.30s;

    text-align:center;

}

.benefit-card:hover{

    transform:translateY(-8px);

    background:var(--kg-card-hover);

}

.benefit-icon{

    width:70px;

    height:70px;

    margin:auto auto 18px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(124,92,255,.18);

    font-size:2rem;

}

.benefit-card h3{

    color:#fff;

    margin-bottom:12px;

}

.benefit-card p{

    color:var(--kg-text-soft);

    line-height:1.7;

}

/*==================================================
=                  CTA FINAL
==================================================*/

.games-footer{

    padding:60px 0;

    text-align:center;

}

.games-footer h2{

    color:#fff;

    font-size:2.4rem;

    margin-bottom:15px;

}

.games-footer p{

    max-width:700px;

    margin:0 auto 28px;

    color:var(--kg-text-soft);

    line-height:1.8;

}

.footer-buy-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 36px;

    border-radius:16px;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    background:linear-gradient(
        135deg,
        var(--kg-secondary),
        #00b96f
    );

    transition:.30s;

}

.footer-buy-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,208,132,.28);

}

/*==================================================
=              RESPONSIVE 1400
==================================================*/

@media(max-width:1400px){

    .games-header{

        max-width:700px;

    }

}

/*==================================================
=              RESPONSIVE 1200
==================================================*/

@media(max-width:1200px){

    .benefits-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/*==================================================
=               RESPONSIVE 992
==================================================*/

@media(max-width:992px){

    .games-header h1{

        font-size:2.4rem;

    }

    .eneba-card{

        flex-direction:column;

        text-align:center;

    }

    .support-card{

        flex-direction:column;

        text-align:center;

    }

    .support-features{

        grid-template-columns:1fr;

    }

}

/*==================================================
=               RESPONSIVE 768
==================================================*/

@media(max-width:768px){

    .games-hero{

        padding:20px 0 15px;

    }

    .games-header h1{

        font-size:2rem;

    }

    .games-header p{

        font-size:.98rem;

    }

    .game-platform{

        flex-direction:column;

        align-items:flex-start;

    }

    .game-footer{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .benefits-grid{

        grid-template-columns:1fr;

    }

    .gamesSwiper .swiper-button-next,
    .gamesSwiper .swiper-button-prev{

        display:none;

    }

}

/*==================================================
=               RESPONSIVE 576
==================================================*/

@media(max-width:576px){

    .support-card{

        padding:24px;

    }

    .support-icon{

        width:70px;

        height:70px;

        font-size:2rem;

    }

    .hero-banner-image{

        max-height:220px;

    }

}

/*==================================================
=               RESPONSIVE 480
==================================================*/

@media(max-width:480px){

    .games-header h1{

        font-size:1.8rem;

    }

    .section-title h2,
    .benefits-title h2,
    .games-footer h2{

        font-size:1.9rem;

    }

    .game-price{

        font-size:1.55rem;

    }

    .eneba-btn,
    .hero-button,
    .footer-buy-btn{

        width:100%;

    }

}

/*==================================================
=               RESPONSIVE 360
==================================================*/

@media(max-width:360px){

    .games-header h1{

        font-size:1.6rem;

    }

    .games-mini-title{

        font-size:.80rem;

    }

    .game-body{

        padding:18px;

    }

}
