/* SIJAGO88 - games.css */

/* =====================================
   SIJAGO88 - PREMIUM GAMING CATEGORIES
===================================== */

.games-page {
    overflow: hidden;
}

/* HERO */

.games-hero {
    padding: 80px 0;
    border-bottom: 1px solid #ff405044;
    background:
        radial-gradient(circle at 85% 40%, #ff183644, transparent 40%),
        linear-gradient(120deg, #1d0710, #08070d);
}

.games-hero-inner {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: 40px;
}

.games-hero h1 {
    font: 700 clamp(42px, 5vw, 68px)/1.05 Rajdhani, sans-serif;
    margin: 20px 0;
}

.games-hero p {
    max-width: 650px;
    color: var(--muted);
    line-height: 1.9;
}

/* EMBLEM */

.games-hero-emblem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    margin: auto;
    border: 2px solid #ff526477;
    border-radius: 30px;
    background: linear-gradient(145deg, #450b1d, #120a13);
    box-shadow:
        0 0 55px #ff183644,
        inset 0 0 35px #ff183622;
    transform: rotate(-5deg);
}

.games-hero-emblem span {
    font-size: 55px;
    color: #ff5264;
    text-shadow: 0 0 25px #ff1836;
}

.games-hero-emblem strong {
    font: 700 32px Rajdhani, sans-serif;
}

.games-hero-emblem small {
    font: 700 11px Rajdhani, sans-serif;
    color: #ff8796;
    letter-spacing: 2px;
}

/* KATEGORI */

.games-category-section {
    padding: 70px 0;
}

.games-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.games-category-card {
    position: relative;
    padding: 32px;
    border: 1px solid #ff526444;
    border-radius: 18px;
    background:
        linear-gradient(145deg, #29111d, #110d15 60%, #09080d);
    box-shadow: 0 15px 40px #0006;
    overflow: hidden;
    transition: .3s;
}

.games-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #670010,
        #ff344f,
        #ffb4bd,
        #ff344f
    );
}

.games-category-card:hover {
    transform: translateY(-8px);
    border-color: #ff5264;
    box-shadow: 0 20px 50px #ff183622;
}

.games-category-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ff5264, #870019);
    color: white;
    font: 700 35px Rajdhani, sans-serif;
    box-shadow: 0 0 25px #ff183644;
}

.games-category-card h3 {
    margin: 12px 0;
    font: 700 29px Rajdhani, sans-serif;
}

.games-category-card p {
    min-height: 90px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.games-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #ff405044;
    color: #ff8190;
    font: 700 15px Rajdhani, sans-serif;
    letter-spacing: 1px;
}

.games-category-link:hover {
    color: white;
}

.games-category-link span {
    font-size: 23px;
}

/* BANNER BAWAH */

.games-bottom-section {
    padding: 20px 0 65px;
}

.games-bottom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    border: 1px solid #ff526477;
    border-radius: 20px;
    background:
        radial-gradient(circle at 85% 40%, #ff183644, transparent 40%),
        linear-gradient(120deg, #390b1b, #100b13);
    box-shadow: 0 0 35px #ff183622;
}

.games-bottom-banner h2 {
    margin: 10px 0;
    font: 700 36px Rajdhani, sans-serif;
}

.games-bottom-banner p {
    color: var(--muted);
    margin: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .games-hero-inner {
        grid-template-columns: 1fr;
    }

    .games-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .games-bottom-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .games-hero {
        padding: 55px 0;
    }

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

    .games-hero-emblem {
        width: 160px;
        height: 160px;
    }

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

    .games-category-card {
        padding: 25px;
    }

    .games-category-card p {
        min-height: auto;
    }

    .games-bottom-banner {
        padding: 25px;
    }

    .games-bottom-banner h2 {
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .games-category-card {
        transition: none;
    }
}
