/* FEATURED */

.featured-games {
    min-height: 100vh;
    min-height: 100svh;

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

    padding: clamp(3rem, 6vw, 4rem) 0 clamp(4rem, 6vw, 5rem);

    position: relative;
    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* background: linear-gradient(to bottom, #161616 0%, #111115 100%); */
}

.featured-highlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.featured-highlight::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(920px, 72vw);
    height: min(420px, 34vw);
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(251, 4, 124, 0.20) 0%,
        rgba(251, 4, 124, 0.08) 35%,
        transparent 75%);
    filter: blur(70px);
    opacity: 100%;
}

.featured-highlight::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(620px, 50vw);
    height: min(220px, 18vw);
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(236, 236, 236, 0.10) 0%,
        transparent 70%);
    filter: blur(70px);
    opacity: 0.75;
}

.featured-games .container {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
    
.section-header h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(2rem, 3vw, 2.4rem);
}

.section-header p {
    opacity: 0.75;
    max-width: 520px;
}

.section-line {
    width: 82px;
    height: 4px;
    border-radius: 999px;
    margin-bottom: 0.85rem;

    background: linear-gradient(90deg, #ECECEC, #FB047C);
    box-shadow: 0 0 10px rgba(251, 4, 124, 0.4);
}

/* GRID */

.games-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    flex-wrap: wrap;
}

/* CARDS */

#featured {
    padding-top: clamp(2.5rem, 5vw, 3rem);
    padding-bottom: clamp(4rem, 6vw, 5rem);
}

.game-card {
    width: min(100%, 15rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

/* HIGHLIGHT POR CARD */

.game-card .featured-highlight {
    position: absolute;
    left: 50%;
    top: 32%;

    width: 280px;
    height: 280px;

    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* GLOW ROSA */

.game-card .featured-highlight::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(251, 4, 123, 0.877) 0%,
        rgba(251, 4, 123, 0.479) 38%,
        transparent 75%
    );

    filter: blur(12px);
}

/* glow branco suave */
.game-card .featured-highlight::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(236, 236, 236, 0.08) 0%,
        transparent 72%
    );

    filter: blur(35px);
}

.game-card > *:not(.featured-highlight) {
    position: relative;
    z-index: 1;
}

.game-card:hover .featured-highlight {
    transform: translate(-50%, -50%) scale(1.1);
}

/* GLOW DINÂMICO */

.game-card::before {
    content: "";
    position: absolute;

    width: 320px;
    height: 320px;

    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);

    transform: translate(-50%, -50%);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(251, 4, 124, 0.50) 0%,
        rgba(251, 4, 124, 0.28) 30%,
        rgba(251, 4, 124, 0.12) 55%,
        transparent 75%
    );

    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;

    pointer-events: none;
    z-index: 0;
}

.game-card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

.game-card:hover {
    transform: translateY(-6px);
}

.game-card > * {
    position: relative;
    z-index: 1;
}

.game-thumb {
    width: min(100%, 12.1875rem);
    aspect-ratio: 1 / 1;
    border-radius: 1.35rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
    box-shadow: 
    0 10px 26px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-card:hover .game-thumb img {
    transform: scale(1.04);
}

.game-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 100%;
    color: #ECECEC;
}

.game-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 132px;
    padding: 0.62rem 1rem;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.game-pill-icon svg {
    width: 15px;
    height: 15px;
}

.game-pill-icon {
    font-size: 0.7rem;
    line-height: 1;
    opacity: 0.9;
    color: #FB047C; 
}

.game-pill-value {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ECECEC;
}

.game-pill-text {
    font-size: 0.92rem;
    color: rgba(236,236,236,0.68);
}

.game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: #FB047C;
    color: #ECECEC;
    font-size: 0.98rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 28px rgba(19, 32, 56, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    border-color: rgb(251, 4, 123);
    filter: brightness(2);
    box-shadow:
        0 18px 34px rgba(19, 32, 56, 0.34),
        0 0 20px rgba(59,130,246,0.15);
}

.game-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

/* FEATURED BUTTON */

.featured-cta {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.featured-main-btn:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.04);
    box-shadow: 0 0 30px rgba(241, 53, 210, 0.55),
    0 18px 36px rgba(37, 99, 235, 0.34);
}

.featured-main-btn {
    min-width: 230px;
    padding: 1.15rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #ECECEC;
    font-size: 1rem;
    font-weight: 800;
    box-shadow:
        0 0 26px rgba(59,130,246,0.28),
        0 14px 30px rgba(37,99,235,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* =========================
   RESPONSIVIDADE FEATURED
========================= */

@media (max-width: 768px) {
    .featured-games {
        min-height: auto;
        padding: 3.5rem 0 4rem;
        overflow: hidden;
    }

    #featured {
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }

    .section-header {
        margin-bottom: 2rem;
        padding-inline: 0.75rem;
    }

    .section-header p {
        max-width: min(100%, 32rem);
    }

    .games-grid {
        flex-direction: column;
        align-items: center;
        gap: clamp(4.75rem, 11.5vw, 5.5rem);
    }

    .game-card {
        width: min(100%, 20rem);
        padding: 0.25rem 0.75rem;
        gap: 0.85rem;
    }

    .game-thumb {
        width: min(100%, 18rem);
        border-radius: 1.15rem;
    }

    .game-card h3 {
        font-size: 1.05rem;
    }

    .game-pill {
        min-width: 0;
        width: fit-content;
        padding: 0.65rem 1rem;
    }

    .game-btn {
        width: min(100%, 16rem);
        padding: 0.95rem 1.2rem;
    }

    .featured-cta {
        margin-top: 2.5rem;
        padding-inline: 1rem;
    }

    .featured-main-btn {
        width: min(100%, 18rem);
        min-width: 0;
        padding: 1rem 1.4rem;
    }

    .featured-highlight::before {
        width: min(40rem, 90vw);
        height: min(18rem, 44vw);
        filter: blur(56px);
    }

    .featured-highlight::after {
        width: min(28rem, 72vw);
        height: min(10rem, 24vw);
        filter: blur(56px);
    }

    .game-card .featured-highlight {
        width: 15rem;
        height: 15rem;
        top: 30%;
    }

    .game-card::before {
        width: 16rem;
        height: 16rem;
        filter: blur(40px);
    }
}

@media (max-width: 480px) {
    .featured-games {
        padding: 3rem 0 3.5rem;
    }

    #featured {
        padding-top: 2rem;
        padding-bottom: 3.5rem;
    }

    .section-header {
        margin-bottom: 1.75rem;
        padding-inline: 0.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .games-grid {
        gap: clamp(5rem, 12vw, 6rem);
        
    }

    .game-card {
        width: min(100%, 18.5rem);
        padding: 0;
    }

    .game-thumb {
        width: min(100%, 16.5rem);
        border-radius: 1rem;
    }

    .game-card h3 {
        font-size: 1rem;
    }

    .game-pill {
        padding: 0.6rem 0.9rem;
    }

    .game-pill-value,
    .game-pill-text {
        font-size: 0.88rem;
    }

    .game-btn {
        width: min(100%, 15rem);
        font-size: 0.95rem;
    }

    .featured-main-btn {
        width: min(100%, 16rem);
        font-size: 0.95rem;
    }

    .game-card .featured-highlight {
        width: 13rem;
        height: 13rem;
    }

    .game-card::before {
        width: 14rem;
        height: 14rem;
    }
}