/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 26 de jul. de 2026, 14:18:34
    Author     : glaub
*/

/* ==========================================================
   PÁGINA TODOS OS JOGOS
========================================================== */

.all-games-page {
    min-height: 100vh;
}


/* HERO INTERNO */

.games-page-hero {
    position: relative;
    overflow: hidden;
    padding: 55px 0 65px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(124, 58, 237, 0.30),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(236, 72, 153, 0.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0d1117 0%,
            #17102a 50%,
            #101827 100%
        );
}

.games-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
    pointer-events: none;
}

.games-page-hero .container {
    position: relative;
    z-index: 2;
}


/* BREADCRUMB */

.games-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.35);
    --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.55);
}

.games-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    font-weight: 600;
}

.games-breadcrumb .breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.games-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}


/* TÍTULO */

.games-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 17px;
    padding: 8px 14px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);

    font-size: 0.85rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.games-page-title {
    max-width: 730px;
    margin: 0 0 17px;

    color: #fff;
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1;
}

.games-page-title span {
    background:
        linear-gradient(
            90deg,
            #c084fc,
            #f472b6,
            #60a5fa
        );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.games-page-description {
    max-width: 700px;
    margin: 0;

    color: rgba(255, 255, 255, 0.66);
    font-size: 1.03rem;
    line-height: 1.75;
}


/* ESTATÍSTICAS */

.games-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.games-stat-card {
    min-height: 125px;
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(14px);
}

.games-stat-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );

    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.30);
}

.games-stat-card strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
}

.games-stat-card span:not(.games-stat-icon) {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}


/* CONTEÚDO */

.games-content-section {
    padding: 38px 0 20px;
}


/* PAINEL DOS FILTROS */

.games-filter-panel {
    padding: 22px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 23px;

    background: rgba(22, 27, 34, 0.92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.17);
}

.games-filter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 21px;
    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.games-filter-header h2 {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 5px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
}

.games-filter-header h2 i {
    color: #c084fc;
}

.games-filter-header p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.88rem;
}

.games-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.73);

    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.22s ease;
}

.games-clear-filters:hover {
    border-color: rgba(236, 72, 153, 0.40);
    background: rgba(236, 72, 153, 0.10);
    color: #f9a8d4;
}


/* CAMPOS */

.games-filter-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
}

.games-search-field,
.games-select-field {
    position: relative;
}

.games-search-field > i,
.games-select-field > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 3;

    color: rgba(255, 255, 255, 0.47);
    font-size: 0.95rem;

    transform: translateY(-50%);
    pointer-events: none;
}

.games-search-field .form-control,
.games-select-field .form-select {
    min-height: 49px;
    padding-left: 43px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;

    background-color: #111720;
    color: #fff;

    font-size: 0.9rem;
}

.games-search-field .form-control {
    padding-right: 16px;
}

.games-select-field .form-select {
    padding-right: 38px;
}

.games-search-field .form-control::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.games-search-field .form-control:focus,
.games-select-field .form-select:focus {
    border-color: rgba(124, 58, 237, 0.75);
    background-color: #131a24;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.games-select-field .form-select option {
    background: #111827;
    color: #fff;
}


/* FILTROS RÁPIDOS */

.games-quick-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 19px;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.games-quick-label {
    margin-right: 3px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.78rem;
    font-weight: 700;
}

.games-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    min-height: 37px;
    padding: 7px 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.66);

    font-size: 0.75rem;
    font-weight: 800;
    transition: 0.22s ease;
}

.games-filter-chip:hover {
    border-color: rgba(192, 132, 252, 0.35);
    background: rgba(124, 58, 237, 0.12);
    color: #fff;
}

.games-filter-chip.active {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );

    color: #fff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}


/* RESULTADOS */

.games-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin: 34px 0 20px;
}

.games-results-title {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}

.games-results-count {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.86rem;
}

.games-results-count strong {
    color: rgba(255, 255, 255, 0.86);
}

.games-results-view {
    display: flex;
    align-items: center;
    gap: 7px;
}

.games-results-view > span {
    margin-right: 3px;
    color: var(--site-muted);
    font-size: 0.77rem;
    font-weight: 700;
}

.games-view-button {
    width: 39px;
    height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: #161b22;
    color: rgba(255, 255, 255, 0.47);

    transition: 0.2s ease;
}

.games-view-button:hover,
.games-view-button.active {
    border-color: rgba(124, 58, 237, 0.50);
    background: rgba(124, 58, 237, 0.16);
    color: #c084fc;
}


/* COMPLEMENTOS DO CARD */

.game-category-name {
    display: inline-block;
    margin-bottom: 5px;

    color: #a78bfa;
    font-size: 0.68rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.game-category-name:hover {
    color: #f472b6;
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(9, 13, 20, 0.60);
    opacity: 0;

    transition: 0.25s ease;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-play-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 16px;

    border-radius: 999px;

    background: #fff;
    color: #111827;

    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;

    transform: translateY(8px);
    transition: 0.25s ease;
}

.game-card:hover .game-play-button {
    transform: translateY(0);
}

.game-play-button:hover {
    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );

    color: #fff;
}

.game-badge-popular {
    background: rgba(220, 38, 38, 0.88);
}

.game-badge-best {
    background:
        linear-gradient(
            135deg,
            #d97706,
            #f59e0b
        );
}


/* GARANTE QUE O FAVORITO FIQUE ACIMA DO OVERLAY */

.game-favorite {
    z-index: 4;
}


/* CARREGAR MAIS */

.games-load-more {
    margin-top: 40px;
    text-align: center;
}

.games-load-more p {
    margin-bottom: 13px;
    color: var(--site-muted);
    font-size: 0.83rem;
}

.games-load-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 48px;
    padding: 11px 23px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;

    background: #1b2230;
    color: #fff;

    font-size: 0.86rem;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}

.games-load-button:hover {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );

    color: #fff;
}


/* PAGINAÇÃO */

.games-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.games-pagination {
    gap: 7px;
    margin: 0;
}

.games-pagination .page-item .page-link {
    min-width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: #161b22;
    color: rgba(255, 255, 255, 0.67);

    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: none;
}

.games-pagination .page-item .page-link:hover {
    border-color: rgba(124, 58, 237, 0.50);
    background: rgba(124, 58, 237, 0.15);
    color: #fff;
}

.games-pagination .page-item.active .page-link {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );

    color: #fff;
}

.games-pagination .page-item.disabled .page-link {
    opacity: 0.35;
}


/* RESPONSIVO */

@media (max-width: 991.98px) {

    .games-page-hero {
        padding: 45px 0 52px;
    }

    .games-hero-stats {
        max-width: 600px;
    }

    .games-page-title {
        max-width: 650px;
    }

}


@media (max-width: 767.98px) {

    .games-filter-panel {
        padding: 17px;
        border-radius: 18px;
    }

    .games-filter-header {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .games-clear-filters {
        align-self: flex-start;
    }

    .games-results-header {
        align-items: flex-start;
    }

    .games-results-view > span {
        display: none;
    }

}


@media (max-width: 575.98px) {

    .games-page-hero {
        padding: 35px 0 42px;
    }

    .games-page-title {
        font-size: 2.35rem;
    }

    .games-page-description {
        font-size: 0.92rem;
    }

    .games-hero-stats {
        grid-template-columns: 1fr;
    }

    .games-stat-card {
        min-height: 100px;
    }

    .games-filter-panel {
        padding: 14px;
    }

    .games-quick-filters {
        flex-wrap: nowrap;
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;

        overflow-x: auto;
        scrollbar-width: none;
    }

    .games-quick-filters::-webkit-scrollbar {
        display: none;
    }

    .games-quick-label {
        display: none;
    }

    .games-filter-chip {
        flex: 0 0 auto;
    }

    .games-results-header {
        margin-top: 27px;
    }

    .games-results-title {
        font-size: 1.35rem;
    }

    .games-results-count {
        font-size: 0.75rem;
    }

    .games-view-button {
        width: 35px;
        height: 35px;
    }

    .game-card-overlay {
        display: none;
    }

    .game-category-name {
        font-size: 0.59rem;
    }

    .games-load-button {
        width: 100%;
    }

}
