@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;600;700;800;900&display=swap');

:root{
    --dark:#05080b;
    --nav:#111927;
    --yellow:#ffd400;
    --green:#43c51c;
    --line:rgba(255,255,255,.13);
    --muted:#cfd4df;
    --white:#fff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#05080b;
    color:#fff;
    font-family:Inter,Arial,sans-serif;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
}

.contenedor{
    width:min(1640px,90vw);
    margin:auto;
}

/* =========================
   CABECERA
========================= */

.cabecera{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(5,8,11,.45);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:.35s ease;
}

.cabecera.scrolled{
    background:rgba(5,8,11,.84);
    box-shadow:0 18px 45px rgba(0,0,0,.32);
}

.navbar{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:46px;
    display:block;
    object-fit:contain;
}

.menu{
    display:flex;
    align-items:center;
    gap:30px;
    font-weight:800;
    font-size:16px;
}

.menu a{
    color:#f4f6fb;
    transition:.25s ease;
    white-space:nowrap;
}

.menu a:hover{
    color:var(--yellow);
}

.btn-nav{
    background:linear-gradient(135deg,#ffe600,#d1a500);
    color:#111 !important;
    padding:14px 28px;
    border-radius:999px;
    font-weight:900;
    box-shadow:0 10px 34px rgba(255,212,0,.18);
}

.menu-btn{
    display:none;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    font-size:25px;
    width:46px;
    height:46px;
    border-radius:12px;
    cursor:pointer;
}

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

.hero-slider{
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:112px 0 70px;
    isolation:isolate;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    opacity:0;
    transform:scale(1.04);
    transition:opacity 1.1s ease, transform 6s ease;
    z-index:-3;
}

.slide.activo{
    opacity:1;
    transform:scale(1);
}

/* Fondos desktop */
.slide-1{
    background-image:url('../img/fondomundial.png');
}

.slide-2{
    background-image:url('../img/fondomundial_v1.png');
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:-2;
    background:
    linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.42) 42%,rgba(0,0,0,.58) 100%),
    linear-gradient(180deg,rgba(0,0,0,.34) 0%,rgba(0,0,0,.16) 45%,rgba(0,0,0,.80) 100%);
}

.hero-slider::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:120px;
    background:linear-gradient(0deg,#05080b,transparent);
    z-index:-1;
}

.hero-grid{
    width:100%;
    display:grid;
    grid-template-columns:minmax(420px,680px) minmax(380px,610px);
    gap:70px;
    align-items:center;
    justify-content:space-between;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:rgba(15,25,12,.62);
    border:1px solid rgba(255,212,0,.35);
    color:var(--yellow);
    padding:12px 22px;
    border-radius:999px;
    font-weight:900;
    font-size:15px;
    letter-spacing:.2px;
}

.hero h1{
    font-family:Anton,Impact,sans-serif;
    font-size:clamp(48px,5.6vw,94px);
    line-height:.96;
    margin:30px 0 22px;
    text-transform:uppercase;
    letter-spacing:.5px;
    text-shadow:0 10px 28px rgba(0,0,0,.55);
    max-width:770px;
}

.hero h1 span{
    display:inline;
}

.amarillo{
    color:var(--yellow);
}

.verde{
    color:#48d11e;
}

.hero-copy p{
    max-width:690px;
    color:#f1f3f8;
    font-size:19px;
    line-height:1.58;
    margin-bottom:28px;
}

/* =========================
   STATS
========================= */

.stats{
    display:flex;
    flex-wrap:wrap;
    gap:28px;
    margin-bottom:30px;
}

.stats div{
    min-width:120px;
    display:flex;
    flex-direction:column;
    padding-left:18px;
    border-left:2px solid rgba(255,212,0,.45);
}

.stats b{
    font-size:22px;
    color:#fff;
    line-height:1.1;
}

.stats small{
    color:#dce2ec;
    font-size:14px;
    margin-top:4px;
}

/* =========================
   BOTONES
========================= */

.acciones{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.btn{
    min-height:56px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 28px;
    border-radius:12px;
    font-weight:900;
    transition:.25s ease;
    font-size:15px;
}

.primary{
    background:linear-gradient(135deg,#ffe600,#d2a500);
    color:#111;
    box-shadow:0 18px 44px rgba(255,212,0,.22);
}

.primary:hover{
    transform:translateY(-3px);
}

.ghost{
    border:1px solid rgba(71,209,30,.7);
    background:rgba(0,0,0,.25);
    color:#fff;
}

.ghost:hover{
    background:rgba(71,209,30,.16);
}

/* =========================
   CARD DERECHA
========================= */

.world-card{
    backdrop-filter:blur(15px);
    background:linear-gradient(180deg,rgba(13,20,13,.70),rgba(0,0,0,.74));
    border:1px solid rgba(67,197,28,.55);
    border-radius:30px;
    padding:34px;
    box-shadow:0 22px 70px rgba(0,0,0,.55), inset 0 0 90px rgba(255,255,255,.035);
}

.card-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:var(--yellow);
    font-weight:900;
    font-size:16px;
    text-transform:uppercase;
}

.world-card h2{
    font-size:clamp(34px,3.4vw,52px);
    line-height:1.04;
    margin:26px 0 18px;
    font-family:Anton,Impact,sans-serif;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.world-card h2 strong{
    display:block;
    color:#48d11e;
}

.world-card p{
    color:#d8dde8;
    line-height:1.55;
    font-size:17px;
    margin-bottom:20px;
}

.rank-item{
    margin-top:14px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;
    padding:18px;
    display:grid;
    grid-template-columns:42px 38px 1fr 18px;
    align-items:center;
    gap:14px;
}

.rank-item span{
    color:var(--yellow);
    font-weight:900;
    font-size:18px;
}

.rank-item i{
    font-style:normal;
    font-size:27px;
}

.rank-item b{
    display:block;
    margin-bottom:4px;
    font-size:16px;
}

.rank-item small{
    color:#d3d8e1;
    font-size:14px;
}

.rank-item em{
    color:#43e020;
    font-style:normal;
    font-size:34px;
    line-height:1;
}

.ranking{
    margin-top:18px;
    background:linear-gradient(135deg,rgba(63,185,28,.50),rgba(12,40,10,.62));
    padding:20px;
    border-radius:16px;
    position:relative;
    overflow:hidden;
}

.ranking::after{
    content:"⚽";
    position:absolute;
    right:18px;
    bottom:-32px;
    font-size:90px;
    opacity:.12;
}

.ranking b{
    display:block;
    color:#89ff5c;
    text-transform:uppercase;
}

.ranking small{
    display:block;
    margin-top:5px;
    color:#eef7ed;
}

/* =========================
   SLIDER CONTROLS
========================= */

.slider-controls{
    position:absolute;
    left:50%;
    bottom:26px;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:5;
}

.slider-dot{
    width:12px;
    height:12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.6);
    background:rgba(255,255,255,.2);
    cursor:pointer;
    transition:.25s ease;
}

.slider-dot.activo{
    width:34px;
    background:var(--yellow);
    border-color:var(--yellow);
}

/* =========================
   TICKER
========================= */

.ticker{
    background:#070b0c;
    border-top:1px solid rgba(255,212,0,.22);
    border-bottom:5px solid #3ab51a;
}

.ticker-grid{
    min-height:96px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;
    gap:26px;
    align-items:center;
}

.ticker-grid div{
    border-right:1px solid rgba(63,185,28,.25);
    min-height:48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.ticker-grid div:last-child{
    border:0;
}

.ticker span{
    color:#d8dde5;
    font-size:13px;
    text-transform:uppercase;
}

.ticker b{
    color:var(--yellow);
    font-size:17px;
    text-transform:uppercase;
}

/* =========================
   SECCIONES
========================= */

.seccion{
    padding:96px 0;
    background:#f5f6f8;
    color:#111;
}

.section-title{
    text-align:center;
    max-width:860px;
    margin:0 auto 48px;
}

.section-title span{
    color:#45bd1e;
    font-weight:950;
    letter-spacing:1px;
    text-transform:uppercase;
}

.section-title h2{
    font-size:42px;
    line-height:1.1;
    margin:14px 0;
}

.section-title p{
    color:#566070;
    line-height:1.6;
    font-size:17px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:22px;
}

.cards article{
    background:#fff;
    border:1px solid #e4e6eb;
    border-radius:24px;
    padding:30px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    transition:.25s ease;
}

.cards article:hover{
    transform:translateY(-6px);
}

.cards i{
    font-size:34px;
    font-style:normal;
}

.cards h3{
    font-size:21px;
    margin:18px 0 10px;
}

.cards p{
    color:#566070;
    line-height:1.55;
}

.cards .featured{
    background:#111927;
    color:#fff;
    border-color:#244c1d;
}

.cards .featured p{
    color:#d3d9e6;
}

.dark{
    background:#07100b;
    color:#fff;
}

.dark .section-title p{
    color:#cfd7d0;
}

.videos-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.video-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    overflow:hidden;
}

.video-card iframe{
    width:100%;
    aspect-ratio:16/9;
    border:0;
    display:block;
}

.video-card h3{
    padding:20px 22px 24px;
}

.comunidad{
    background:linear-gradient(135deg,#091108,#163b10);
    color:#fff;
}

.comunidad-box{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:40px;
    align-items:center;
    border:1px solid rgba(255,212,0,.2);
    background:rgba(0,0,0,.22);
    border-radius:34px;
    padding:58px;
}

.comunidad h2{
    font-family:Anton,Impact,sans-serif;
    font-size:56px;
    line-height:1.05;
    margin:28px 0 18px;
    text-transform:uppercase;
}

.comunidad p{
    font-size:20px;
    color:#dfe6dc;
    max-width:720px;
    line-height:1.55;
    margin-bottom:28px;
}

.big-cup{
    text-align:center;
    font-size:170px;
    filter:drop-shadow(0 20px 45px rgba(255,212,0,.25));
}

.footer{
    background:#05070a;
    color:#cbd1dd;
    padding:38px 0;
}

.footer-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.footer img{
    height:48px;
}

.footer a{
    color:var(--yellow);
    font-weight:800;
}

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

@media (min-width:1800px){
    .slide{
        background-size:cover;
        background-position:center center;
    }
}

@media (max-width:1280px){
    .hero-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .world-card{
        max-width:760px;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:900px){
    .navbar{
        min-height:78px;
    }

    .logo img{
        height:42px;
    }

    .menu-btn{
        display:block;
    }

    .menu{
        position:absolute;
        top:78px;
        left:0;
        right:0;
        display:none;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:18px 5vw 24px;
        background:rgba(5,8,11,.96);
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .menu.activo{
        display:flex;
    }

    .menu a{
        width:100%;
        padding:14px 0;
    }

    .btn-nav{
        width:100%;
        text-align:center;
        justify-content:center;
        padding:15px 22px !important;
        margin-top:8px;
    }

    .hero-slider{
        min-height:auto;
        padding:118px 0 64px;
    }

    .slide{
        background-position:center top;
    }

    .hero h1{
        font-size:clamp(44px,13vw,72px);
    }

    .hero-copy p{
        font-size:17px;
    }

    .world-card{
        padding:26px;
        border-radius:24px;
    }

    .rank-item{
        grid-template-columns:34px 34px 1fr;
    }

    .rank-item em{
        display:none;
    }

    .ticker-grid{
        grid-template-columns:1fr 1fr;
        gap:0;
    }

    .ticker-grid div{
        padding:18px 0;
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .videos-grid{
        grid-template-columns:1fr;
    }

    .comunidad-box{
        grid-template-columns:1fr;
        padding:34px;
    }
}

@media (max-width:620px){
    .contenedor{
        width:91vw;
    }

    .logo img{
        height:38px;
    }

    .hero-slider{
        min-height:100svh;
        padding:112px 0 70px;
    }

    .slide{
        background-size:cover;
        background-position:center top;
    }

    /* Fondos móviles optimizados */
    .slide-1{
        background-image:url('../img/fondomundial1_movil.png');
    }

    .slide-2{
        background-image:url('../img/fondomundial2_movil.png');
    }

    .badge{
        font-size:13px;
        padding:10px 16px;
    }

    .hero h1{
        font-size:48px;
        line-height:.98;
        margin:24px 0 18px;
    }

    .hero h1 span{
        display:inline;
    }

    .stats{
        gap:14px;
    }

    .stats div{
        min-width:calc(50% - 10px);
    }

    .btn{
        width:100%;
    }

    .world-card{
        padding:22px;
    }

    .world-card h2{
        font-size:36px;
    }

    .rank-item{
        padding:16px;
        gap:10px;
    }

    .ticker-grid{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:31px;
    }

    .seccion{
        padding:74px 0;
    }

    .comunidad h2{
        font-size:38px;
    }

    .comunidad p{
        font-size:17px;
    }

    .big-cup{
        font-size:112px;
    }

    .footer-grid{
        flex-direction:column;
        text-align:center;
    }
}


/* =========================
   IMÁGENES MÓVILES DEL SLIDER
   Estos nombres deben existir en assets/img/
========================= */
@media (max-width:620px){
    .slide-1{
        background-image:url('../img/fondomundial1_movil.png');
    }

    .slide-2{
        background-image:url('../img/fondomundial2_movil.png');
    }
}
/* =========================
   TESTIMONIOS REALES
========================= */

.testimonios{
    padding:74px 0 82px;
    background:
    radial-gradient(circle at 20% 20%, rgba(255,212,0,.10), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(67,197,28,.14), transparent 34%),
    linear-gradient(135deg,#05080b,#071509 55%,#030504);
    color:#fff;
    position:relative;
    overflow:hidden;
}

.testimonios::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(255,212,0,.05),transparent,rgba(67,197,28,.06));
    pointer-events:none;
}

.testimonios .contenedor{
    position:relative;
    z-index:2;
}

.testimonios-title{
    max-width:980px;
    margin:0 auto 42px;
}

.testimonios-title span{
    color:#ffd400;
    font-size:16px;
    letter-spacing:1px;
}

.testimonios-title h2{
    max-width:900px;
    margin:12px auto 18px;
    font-family:Anton,Impact,sans-serif;
    text-transform:uppercase;
    font-size:clamp(42px,4.5vw,74px);
    line-height:.93;
    letter-spacing:.4px;
    color:#fff;
}

.testimonios-title p{
    max-width:900px;
    margin:0 auto;
    color:#d8dde8;
    font-size:clamp(17px,1.45vw,22px);
    line-height:1.5;
}

.testimonios-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.testimonio-card{
    background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
    border:1px solid rgba(255,255,255,.10);
    border-radius:28px;
    padding:34px;
    box-shadow:0 25px 70px rgba(0,0,0,.28);
    backdrop-filter:blur(12px);
    transition:.3s ease;
}

.testimonio-card:hover{
    transform:translateY(-6px);
    border-color:rgba(255,212,0,.38);
}

.testimonio-card.destacado{
    border-color:rgba(255,212,0,.45);
    background:linear-gradient(180deg,rgba(255,212,0,.12),rgba(255,255,255,.04));
}

.testimonio-top{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:24px;
}

.avatar{
    width:62px;
    height:62px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#ffe600,#43c51c);
    color:#061006;
    font-weight:950;
    font-size:26px;
    box-shadow:0 14px 35px rgba(255,212,0,.18);
}

.testimonio-card h3{
    margin:0 0 5px;
    font-size:24px;
    color:#fff;
}

.testimonio-card span{
    color:#ffd400;
    font-weight:800;
    font-size:14px;
}

.testimonio-card p{
    color:#dce2ec;
    line-height:1.65;
    font-size:17px;
    margin-bottom:22px;
}

.testimonio-card strong{
    display:block;
    color:#fff;
    font-size:18px;
    line-height:1.45;
}

.testimonios-metricas{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    padding:26px;
    border:1px solid rgba(255,212,0,.18);
    border-radius:26px;
    background:rgba(0,0,0,.28);
}

.testimonios-metricas div{
    text-align:center;
    padding:12px;
}

.testimonios-metricas b{
    display:block;
    font-size:36px;
    color:#ffd400;
    line-height:1;
}

.testimonios-metricas span{
    display:block;
    margin-top:8px;
    color:#dce2ec;
    font-weight:800;
}

.testimonios-cta{
    margin-top:36px;
    text-align:center;
}

@media(max-width:1100px){
    .testimonios-grid{
        grid-template-columns:1fr;
    }

    .testimonios-metricas{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .testimonios{
        padding:58px 0 66px;
    }

    .testimonios-title{
        margin-bottom:30px;
    }

    .testimonios-title h2{
        font-size:clamp(36px,12vw,48px);
        line-height:.96;
    }

    .testimonio-card{
        padding:26px;
        border-radius:22px;
    }

    .testimonios-metricas{
        grid-template-columns:1fr;
    }

    .testimonios-title p{
        font-size:17px;
    }
}