/* =========================================================
   VARIABLES
========================================================= */

:root {

    --negro: #050505;
    --negro-2: #101010;
    --negro-3: #181818;

    --amarillo: #ffd400;
    --amarillo-2: #e5b900;

    --blanco: #ffffff;
    --gris: #f2f2f2;
    --gris-texto: #777777;

    --max-width: 1200px;

}



/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--gris);

    color: var(--negro);

    line-height: 1.5;
}


img {
    max-width: 100%;
}


a {
    text-decoration: none;
}



/* =========================================================
   CONTENEDOR
========================================================= */

.container {

    width: 90%;

    max-width: var(--max-width);

    margin: 0 auto;

}



/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: var(--negro);

    border-bottom:
        3px solid var(--amarillo);

}


.header-container {

    width: 90%;

    max-width: var(--max-width);

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}



/* MARCA */

.brand {

    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--blanco);

}


.brand-logo {

    width: 64px;

    height: 64px;

    object-fit: contain;

}


.brand-name {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}


.brand-name span {

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--amarillo);

}


.brand-name strong {

    font-size: 19px;

    letter-spacing: 0.5px;

}



/* MENU */

.menu {

    display: flex;

    align-items: center;

    gap: 28px;

}


.menu a {

    color: var(--blanco);

    font-size: 14px;

    font-weight: bold;

    transition: 0.2s;

}


.menu a:hover {

    color: var(--amarillo);

}



/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 560px;

    background:

        radial-gradient(
            circle at center,
            #222 0%,
            #080808 55%,
            #000 100%
        );

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            135deg,
            transparent 48%,
            rgba(255, 212, 0, 0.08) 49%,
            transparent 50%
        );

    background-size: 70px 70px;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    border-bottom:
        5px solid var(--amarillo);

}


.hero-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 1000px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 70px;

}


.hero-logo {

    width: 260px;

    height: 260px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 15px 25px rgba(0,0,0,0.7)
        );

}


.hero-text {

    color: var(--blanco);

}


.hero-small {

    color: var(--amarillo);

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 5px;

}


.hero h1 {

    margin: 10px 0;

    font-size: 58px;

    line-height: 0.95;

    font-weight: 900;

}


.hero p {

    font-size: 21px;

    color: #cccccc;

    margin-bottom: 30px;

}



/* BOTON */

.button {

    display: inline-block;

    padding: 14px 27px;

    background: var(--amarillo);

    color: var(--negro);

    font-size: 14px;

    font-weight: bold;

    border: 2px solid var(--amarillo);

    transition: 0.2s;

}


.button:hover {

    background: transparent;

    color: var(--amarillo);

}



/* =========================================================
   SECCIONES
========================================================= */

.section {

    padding: 75px 0;

    background: var(--gris);

}


.section-dark {

    background: var(--negro);

}


.section-title {

    text-align: center;

    margin-bottom: 45px;

}


.section-title span {

    display: block;

    color: var(--amarillo-2);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 8px;

}


.section-title h2 {

    font-size: 34px;

    font-weight: 900;

}


.section-title-light h2 {

    color: var(--blanco);

}



/* =========================================================
   PARTIDO
========================================================= */

.match-card {

    background: var(--blanco);

    border-top:
        5px solid var(--amarillo);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.08);

    padding: 35px;

}


.match-info {

    text-align: center;

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-bottom: 30px;

}


.match-info span {

    color: var(--amarillo-2);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

}


.match-info strong {

    font-size: 20px;

}


.match-info small {

    color: var(--gris-texto);

}



.teams {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 70px;

}


.team {

    text-align: center;

    width: 180px;

}


.team img {

    width: 110px;

    height: 110px;

    object-fit: contain;

}


.team h3 {

    margin-top: 10px;

    font-size: 16px;

}


.vs {

    font-size: 25px;

    font-weight: 900;

    color: var(--amarillo-2);

}



/* ESCUDO RIVAL */

.rival-logo {

    width: 110px;

    height: 110px;

    margin: 0 auto;

    border-radius: 50%;

    background: var(--negro);

    color: var(--amarillo);

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    border: 4px solid var(--amarillo);

}



/* =========================================================
   RESULTADO
========================================================= */

.result-card {

    max-width: 850px;

    margin: 0 auto;

    padding: 35px;

    background: var(--negro-2);

    border:
        1px solid #333;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 70px;

}


.result-team {

    width: 180px;

    text-align: center;

    color: var(--blanco);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

}


.result-team img {

    width: 90px;

    height: 90px;

    object-fit: contain;

}


.result-team .rival-logo {

    width: 90px;

    height: 90px;

}


.result-score {

    color: var(--amarillo);

    font-size: 55px;

    font-weight: 900;

    display: flex;

    gap: 15px;

}



/* =========================================================
   NOTICIAS
========================================================= */

.news-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.news-card {

    background: var(--blanco);

    box-shadow:
        0 5px 18px rgba(0,0,0,0.08);

}


.news-image {

    height: 180px;

    background:
        linear-gradient(
            135deg,
            var(--negro),
            #292929
        );

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--amarillo);

    font-size: 18px;

    font-weight: bold;

}


.news-content {

    padding: 25px;

}


.news-date {

    color: var(--amarillo-2);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

}


.news-content h3 {

    margin:
        10px 0;

    font-size: 20px;

}


.news-content p {

    color: var(--gris-texto);

    font-size: 14px;

    margin-bottom: 20px;

}


.news-content a {

    color: var(--negro);

    font-size: 12px;

    font-weight: bold;

}


.news-content a:hover {

    color: var(--amarillo-2);

}



/* =========================================================
   PLANTEL
========================================================= */

.players-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.player-card {

    text-align: center;

    background: var(--negro-2);

    border:
        1px solid #292929;

    padding: 20px;

    color: var(--blanco);

}


.player-photo {

    height: 220px;

    margin-bottom: 18px;

    background:
        linear-gradient(
            135deg,
            #222,
            #111
        );

    display: flex;

    align-items: center;

    justify-content: center;

    color: #777;

}


.player-card strong {

    display: block;

    font-size: 16px;

}


.player-card span {

    color: var(--amarillo);

    font-size: 12px;

}



/* =========================================================
   TABLA
========================================================= */

.table-wrapper {

    background: var(--blanco);

    overflow-x: auto;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);

}


table {

    width: 100%;

    border-collapse: collapse;

    min-width: 700px;

}


th {

    background: var(--negro);

    color: var(--blanco);

    padding: 15px;

    font-size: 12px;

}


td {

    padding: 15px;

    text-align: center;

    border-bottom:
        1px solid #eeeeee;

    font-size: 14px;

}


td:nth-child(2) {

    text-align: left;

    font-weight: bold;

}


.vial-row {

    background:
        rgba(255, 212, 0, 0.15);

    border-left:
        5px solid var(--amarillo);

}


.vial-row td {

    font-weight: bold;

}



/* =========================================================
   FOOTER
========================================================= */

footer {

    background: #000;

    color: var(--blanco);

    border-top:
        3px solid var(--amarillo);

}


.footer-container {

    width: 90%;

    max-width: var(--max-width);

    margin: 0 auto;

    padding: 45px 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    text-align: center;

}


.footer-logo {

    width: 90px;

    height: 90px;

    object-fit: contain;

}


.footer-container h2 {

    font-size: 14px;

    letter-spacing: 3px;

    color: var(--amarillo);

}


.footer-container strong {

    font-size: 20px;

}


.footer-container p {

    color: #999;

    margin-top: 8px;

}


.footer-bottom {

    border-top:
        1px solid #222;

    padding: 20px;

    text-align: center;

    color: #666;

    font-size: 12px;

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {


    .menu {

        gap: 15px;

    }


    .menu a {

        font-size: 12px;

    }


    .hero-content {

        gap: 35px;

    }


    .hero-logo {

        width: 210px;

        height: 210px;

    }


    .hero h1 {

        font-size: 45px;

    }


    .players-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .news-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}



@media (max-width: 650px) {


    .header-container {

        padding: 10px 0;

    }


    .menu {

        display: none;

    }


    .brand-name strong {

        font-size: 15px;

    }


    .brand-logo {

        width: 55px;

        height: 55px;

    }


    .hero {

        min-height: 650px;

    }


    .hero-content {

        flex-direction: column;

        gap: 20px;

        text-align: center;

    }


    .hero-logo {

        width: 190px;

        height: 190px;

    }


    .hero h1 {

        font-size: 40px;

    }


    .teams {

        gap: 15px;

    }


    .team {

        width: 130px;

    }


    .team img,
    .rival-logo {

        width: 80px;

        height: 80px;

    }


    .result-card {

        gap: 15px;

        padding: 20px;

    }


    .result-team {

        width: 120px;

    }


    .result-score {

        font-size: 35px;

        gap: 5px;

    }


    .news-grid {

        grid-template-columns: 1fr;

    }


    .players-grid {

        grid-template-columns: 1fr 1fr;

    }


    .section {

        padding: 55px 0;

    }

}


@media (max-width: 420px) {


    .players-grid {

        grid-template-columns: 1fr;

    }


    .brand-name span {

        font-size: 9px;

    }


    .brand-name strong {

        font-size: 13px;

    }


    .hero h1 {

        font-size: 34px;

    }

}