@import url('variables.css');
.page-eyebrow {
    color: #b77a18;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 8px;
}


.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.section-eyebrow {
    margin: 0 0 7px;
    color: var(--gold-dark, #b77a18);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
}

.section-link {
    color: var(--gold-dark, #b77a18);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.section-link:hover {
    text-decoration: underline;
}

.card-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 18px;

    color: var(--gold-dark, #b77a18);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .3px;
}

.card-link:hover {
    text-decoration: underline;
}

h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    line-height: .9;
    color: #09283c;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

h2 {
    font-family: "Barlow Condensed", sans-serif;
    color: #09283c;
    font-size: 30px;
    line-height: 1;
    margin: 48px 0 16px;
    letter-spacing: .5px;
}

h3 {
    color: #09283c;
}

.gold-line {
    width: 34px;
    height: 3px;
    background: #c89532;
    margin: 18px 0 22px;
}

.page-intro-lead {
    font-size: 21px;
    line-height: 1.45;
    font-weight: 500;
    color: #243b4b;
}
.page-intro {
    padding: 35px 0 25px;
    background: #f5f0e8;
}

.page-intro-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 65px;
    /*align-items: center;*/
}

.page-intro-image img {
    width: 100%;
    max-width: 371px;
    object-fit: cover;
    border-radius: 7px;
    display: block;
    margin: auto;
}

h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    line-height: .9;
    color: #09283c;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

h2 {
    font-family: "Barlow Condensed", sans-serif;
    color: #09283c;
    font-size: 30px;
    line-height: 1;
    margin: 48px 0 16px;
    letter-spacing: .5px;
}

h3 {
    color: #09283c;
}

@media (max-width: 1000px) {

    .page-intro-grid {
        grid-template-columns: 1fr 360px;
        gap: 40px;
        align-items: center;
    }

}


@media (max-width: 720px) {

    .page-intro {
        padding: 25px 0 40px;
    }

    .page-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-intro-image {
        order: -1;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 28px;
        margin-top: 38px;
    }   

}

@media (max-width: 480px) {


    h1 {
        font-size: 46px;
    }

    .page-intro-lead {
        font-size: 18px;
    }


}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.games-hero {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: var(--navy);
    display: flex;
    align-items: center;
}

.games-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.games-hero-background::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(11, 29, 43, 0.98) 0%,
            rgba(11, 29, 43, 0.90) 45%,
            rgba(11, 29, 43, 0.55) 65%,
            rgba(11, 29, 43, 0.65) 80%,
            rgba(11, 29, 43, 0.90) 100%
        );
    margin: 0 -28px;
}

.games-hero-background img {
    /*width: 100%;*/
    height: 100%;
    object-fit: cover;
    object-position: center;
    float: right;
}

.games-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 25px;
    padding-bottom: 25px;
    max-width: 1180px;
}

.games-hero .eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.games-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -1px;
}

.gold-line {
    width: 30px;
    height: 3px;
    background: var(--gold);
    margin: 24px 0;
}

.hero-description {
    max-width: 480px;
    margin: 0;
    color: rgba(255,255,255,.90);
    font-size: 17px;
    line-height: 1.7;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: #fff;
    font-size: 14px;
}

.hero-note-icon {
    color: var(--gold);
    font-size: 22px;
}

@media (max-width: 700px) {

    .games-hero {
        min-height: 330px;
    }

    .games-hero-background img {
        object-position: center;
    }

    .games-hero-content {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .games-hero h1 {
        font-size: 48px;
    }

    .hero-description {
        max-width: 90%;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-note {
        margin-top: 20px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {

    .games-hero {
        min-height: 300px;
    }

    .games-hero h1 {
        font-size: 42px;
    }

    .hero-description {
        max-width: 100%;
        font-size: 14px;
    }


}

@media (max-width: 700px) {
    .section-heading {
        display: block;
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-link {
        display: inline-block;
        margin-top: 12px;
    }
}


@media (max-width: 420px) {

    .section-heading h2 {
        font-size: 25px;
    }

}

/* =========================================================
   FILTROS
   ========================================================= */

.buttons-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 45px;
}

.buttons-filter {
    appearance: none;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--navy);
    padding: 9px 15px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.buttons-filter:hover {
    border-color: var(--navy);
}

.buttons-filter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--cream-light);
}

@media (max-width: 640px) {

    .buttons-filters {
        gap: 7px;
        margin-bottom: 35px;
    }

    .buttons-filter {
        padding: 8px 11px;
        font-size: 10px;
    }

}


/* =========================================
   BÚSQUEDA DE JUEGOS
   ========================================= */

.games-search {
    margin: 35px 0 30px;
    max-width: 100%;
}

.games-search label {
    display: block;
    margin-bottom: 9px;

    font-size: 13px;
    font-weight: 500;
    color: #0b1d2a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper i {
    position: absolute;
    top: 50%;
    left: 16px;

    transform: translateY(-50%);

    font-size: 15px;
    color: #0b1d2a;

    pointer-events: none;
}

.search-wrapper input {
    box-sizing: border-box;

    width: 100%;
    height: 46px;

    padding: 0 16px 0 43px;

    border: 1px solid #cfc9bd;
    border-radius: 0;

    background: #ffffff;
    color: #0b1d2a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-wrapper input::placeholder {
    color: #8b8984;
}

.search-wrapper input:hover {
    border-color: #aaa49a;
}

.search-wrapper input:focus {
    border-color: #d5a900;

    box-shadow: 0 0 0 2px rgba(213, 169, 0, 0.12);
}


/* Quitar el botón "X" de los input type="search" */

.search-wrapper input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}


/* Contador de resultados */

.games-count {
    margin: 10px 0 0;
text-align: right;
    font-size: 13px;
    color: #77736c;
}