.home-page .main-content {
    padding-top: 24px;
}

.home-page .home-showcase {
    margin-bottom: 24px;
}

.home-page .showcase-heading {
    margin-bottom: 14px;
}

.home-page .showcase-heading h2,
.home-page .section-header h2,
.home-page .section-title {
    font-size: clamp(1.2rem, 1.5vw, 1.55rem);
    letter-spacing: 0;
    text-transform: none;
}

.home-page .showcase-kicker {
    font-size: 0.78rem;
    letter-spacing: 0;
}

.home-page .showcase-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    gap: 12px;
    height: 380px;
    min-width: 0;
    max-width: 100%;
}

.home-page .showcase-feature,
.home-page .showcase-picks {
    height: 380px;
}

.home-page .showcase-feature {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 8px;
}

.home-page .showcase-feature-content {
    right: 28px;
    bottom: 24px;
    left: 28px;
}

.home-page .showcase-feature-content strong {
    max-width: 650px;
    font-size: clamp(1.65rem, 2.8vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.home-page .showcase-summary {
    display: none;
}

.home-page .showcase-play {
    width: 44px;
    height: 44px;
    margin-top: 16px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    border-radius: 50%;
}

.home-page .showcase-play i {
    font-size: 0.92rem;
}

.home-page .showcase-picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-page .showcase-pick {
    min-height: 0;
    border-radius: 8px;
}

.home-page .showcase-pick-copy {
    right: 14px;
    bottom: 12px;
    left: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-page .showcase-pick-shade {
    opacity: 0.28;
    transition: opacity 180ms ease;
}

.home-page .showcase-pick:hover .showcase-pick-copy,
.home-page .showcase-pick:focus-visible .showcase-pick-copy {
    opacity: 1;
    transform: translateY(0);
}

.home-page .showcase-pick:hover .showcase-pick-shade,
.home-page .showcase-pick:focus-visible .showcase-pick-shade {
    opacity: 0.88;
}

.home-page .showcase-pick-copy strong {
    font-size: 0.96rem;
    line-height: 1.25;
}

.home-page .showcase-pick-action {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
}

.home-page .games-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(220px, 23vw, 300px);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    overflow-y: hidden;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 140, 255, 0.58) rgba(255, 255, 255, 0.05);
}

.home-page .games-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.home-page .game-card-thumb {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #171b28;
}

.home-page .game-card-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, #171b28 20%, #232a3c 48%, #171b28 76%);
    background-size: 220% 100%;
    animation: home-card-loading 1.15s linear infinite;
    transition: opacity 160ms ease;
}

.home-page .game-card-thumb.is-loaded::before {
    opacity: 0;
    pointer-events: none;
}

.home-page .game-card-thumb img {
    position: relative;
    z-index: 2;
}

@keyframes home-card-loading {
    to { background-position: -220% 0; }
}

.home-page .games-grid::-webkit-scrollbar {
    height: 6px;
}

.home-page .games-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.home-page .games-grid::-webkit-scrollbar-thumb {
    background: rgba(126, 140, 255, 0.58);
    border-radius: 3px;
}

.home-page .game-row-shell {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.home-page .game-row-arrow {
    position: absolute;
    top: calc(50% - 6px);
    z-index: 8;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(10, 13, 25, 0.9);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-page .game-row-arrow--prev {
    left: 8px;
}

.home-page .game-row-arrow--next {
    right: 8px;
}

.home-page .game-row-arrow:hover,
.home-page .game-row-arrow:focus-visible {
    border-color: rgba(139, 151, 255, 0.9);
    background: #626fe3;
    transform: translateY(-50%) scale(1.04);
    outline: none;
}

.home-page .game-row-arrow[hidden] {
    display: none;
}

.home-page .game-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(144, 156, 255, 0.18);
    border-radius: 8px;
    background: #101420;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
    scroll-snap-align: start;
}

.home-page .game-card-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.home-page .game-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.025);
    transition: filter 180ms ease, transform 180ms ease;
}

.home-page .game-card:hover .game-card-thumb img,
.home-page .game-card:focus-visible .game-card-thumb img {
    filter: saturate(1.1) contrast(1.045) brightness(1.035);
    transform: scale(1.018);
}

.home-page .game-card-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 30px 12px 10px;
    color: #fff;
    background: linear-gradient(to top, rgba(5, 7, 12, 0.96), rgba(5, 7, 12, 0));
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-page .game-card:hover .game-card-info,
.home-page .game-card:focus-visible .game-card-info {
    opacity: 1;
    transform: translateY(0);
}

.home-page .game-card-title {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-page .game-card-meta {
    display: none;
}

.home-page .game-card:hover,
.home-page .game-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(139, 151, 255, 0.62);
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 151, 255, 0.12);
}

.home-page .game-card:focus-visible,
.home-page .showcase-pick:focus-visible,
.home-page .showcase-feature:focus-within {
    outline: 2px solid #ff4da6;
    outline-offset: 2px;
}

.home-page .game-card-badge,
.home-page .game-card-category-badge {
    top: 8px;
    left: 8px;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.67rem;
    line-height: 16px;
    border-radius: 4px;
}

.home-page .game-card-category-badge {
    color: #eef0ff;
    background: rgba(43, 49, 71, 0.92);
}

.home-page .game-card-badge {
    color: #11131c;
    background: #f4c95d;
}

.home-page .game-card-thumb:has(.game-card-badge) .game-card-category-badge {
    display: none;
}

.home-page .section {
    margin-top: 32px;
    min-width: 0;
    max-width: 100%;
}

.home-page .section-header {
    min-height: 44px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(144, 156, 255, 0.16);
}

.home-page .section-header .section-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #f4f6fb;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    line-height: 1.2;
}

.home-page .section-header::after {
    width: 48px;
    height: 2px;
    background: #8b97ff;
}

.home-page .section-header .section-title i {
    width: 22px;
    color: #8b97ff;
    text-align: center;
}

.home-page .section-header .section-link {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #aeb6ca;
    background: transparent;
    font-size: 0;
    box-shadow: none;
}

.home-page .section-header .section-link i {
    margin: 0;
    font-size: 0.9rem;
}

.home-page .section-header .section-link:hover,
.home-page .section-header .section-link:focus-visible {
    color: #ffffff;
    background: #252b40;
    transform: none;
}

.home-page .home-discovery {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 2.4fr);
    gap: 10px;
    margin: 24px 0 30px;
}

.home-page .home-discovery-intro,
.home-page .home-discovery-link {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #151824;
}

.home-page .home-discovery-intro {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.home-page .home-discovery-intro h2 {
    margin: 6px 0 14px;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.home-page .home-discovery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #909cff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.home-page .home-discovery-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.home-page .home-discovery-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b5bdcb;
    font-size: 0.8rem;
    white-space: nowrap;
}

.home-page .home-discovery-stats i {
    color: #909cff;
}

.home-page .home-discovery-stats strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.home-page .home-discovery-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #9fa8ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-page .home-discovery-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(105px, 1fr));
    gap: 10px;
}

.home-page .home-discovery-link {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    min-height: 92px;
    padding: 14px;
    color: #f5f7fb;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-page .home-discovery-link i {
    margin-bottom: 10px;
    color: #909cff;
    font-size: 1.45rem;
}

.home-page .home-discovery-link strong {
    font-size: 0.84rem;
    line-height: 1.25;
}

.home-page .home-discovery-link small {
    margin-top: 3px;
    color: #8992a3;
    font-size: 0.7rem;
}

.home-page .home-discovery-link:hover,
.home-page .home-discovery-link:focus-visible {
    border-color: rgba(144, 156, 255, 0.55);
    background: #1c2030;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .home-page .showcase-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .home-page .showcase-feature {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .home-page .showcase-picks {
        height: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-page .showcase-pick {
        aspect-ratio: 16 / 9;
    }

    .home-page .home-discovery {
        grid-template-columns: 1fr;
    }

    .home-page .home-discovery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-page .home-discovery-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 40px;
        grid-template-rows: auto auto;
        align-items: center;
        justify-content: initial;
        gap: 6px 12px;
        min-height: 82px;
        padding: 14px 16px;
    }

    .home-page .home-discovery-eyebrow {
        display: none;
    }

    .home-page .home-discovery-intro h2 {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        font-size: 1rem;
    }

    .home-page .home-discovery-stats {
        grid-column: 1;
        grid-row: 2;
        gap: 6px 12px;
    }

    .home-page .home-discovery-stats span {
        font-size: 0.72rem;
    }

    .home-page .home-discovery-stats strong {
        font-size: 0.78rem;
    }

    .home-page .home-discovery-all {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 40px;
        height: 40px;
        justify-content: center;
        margin: 0;
        border: 1px solid rgba(144, 156, 255, 0.35);
        border-radius: 8px;
        background: #202432;
        font-size: 0;
    }

    .home-page .home-discovery-all i {
        font-size: 0.82rem;
    }

    .home-page .main-content {
        padding-top: 16px;
    }

    .home-page .showcase-picks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .games-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(210px, 78vw);
        gap: 10px;
    }

    .home-page .game-row-arrow {
        width: 40px;
        height: 40px;
    }

    .home-page .game-row-arrow--prev {
        left: 6px;
    }

    .home-page .game-row-arrow--next {
        right: 6px;
    }

    .home-page .game-card-info,
    .home-page .showcase-pick-copy {
        opacity: 1;
        transform: none;
    }

    .home-page .game-card-info {
        padding: 24px 9px 7px;
    }

    .home-page .game-card-title {
        font-size: 0.78rem;
        -webkit-line-clamp: 1;
    }

    .home-page .showcase-pick-shade {
        opacity: 0.72;
    }

    .home-page .showcase-pick-copy small {
        display: none;
    }

    .home-page .showcase-pick-copy strong {
        font-size: 0.78rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .home-page .showcase-feature-content {
        right: 18px;
        bottom: 16px;
        left: 18px;
    }

    .home-page .showcase-feature-content strong {
        font-size: clamp(1.25rem, 6vw, 1.8rem);
    }

    .home-page .showcase-play {
        width: 38px;
        height: 38px;
        margin-top: 10px;
    }

    .home-page .home-discovery-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 5px;
        scroll-snap-type: x proximity;
    }

    .home-page .home-discovery-link {
        flex: 0 0 132px;
        min-height: 88px;
        scroll-snap-align: start;
    }
}

.home-page .home-quick-nav {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.home-page .home-quick-nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    color: #dce0ec;
    background: #181b27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    scroll-snap-align: start;
}

.home-page .home-quick-nav a:hover,
.home-page .home-quick-nav a:focus-visible {
    color: #ffffff;
    background: #252938;
    border-color: rgba(155, 164, 255, 0.45);
}

.home-page .home-quick-nav i {
    color: #9ba4ff;
}

.home-page .home-quick-nav [hidden] {
    display: none;
}

.home-page .section-subtitle {
    margin: 3px 0 0;
    color: #999faf;
    font-size: 0.76rem;
    font-weight: 600;
}

.home-page .badge-updated {
    color: #081118;
    background: #66e0c2;
}

.home-page #personalizedGamesSection .game-card-badge {
    display: none;
}

@media (max-width: 700px) {
    .home-page .home-quick-nav {
        margin-bottom: 12px;
    }

    .home-page .home-quick-nav a {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .game-card,
    .home-page .game-card-thumb img,
    .home-page .game-card-info,
    .home-page .game-row-arrow,
    .home-page .showcase-pick-copy,
    .home-page .showcase-pick-shade {
        transition: none;
    }

    .home-page .game-card-thumb::before {
        animation: none;
    }
}

/* Dense, image-led home presentation inspired by leading game portals. */
body.home-page {
    --header-height: 64px;
    --bg-dark: #0b0d14;
    --bg-darker: #080910;
    --bg-card: #171a26;
    --bg-hover: #202432;
    --text-white: #f5f6fa;
    --text-gray: #c7cbd6;
    --text-muted: #999faf;
    background: #0b0d14;
}

.home-page .site-header {
    background: rgba(30, 32, 49, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.home-page .header-inner {
    max-width: none;
    padding-right: 16px;
    padding-left: 16px;
    gap: 16px;
}

.home-page .sidebar {
    background: #0d0f17;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    padding-top: 18px;
}

.home-page .main-content {
    max-width: none;
    padding: 18px 14px 36px;
}

.home-page .desktop-sidebar-toggle,
.home-page .header-action-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: #292c3d;
    box-shadow: none;
}

.home-page .search-form,
.home-page .search-form input {
    background: #393c55;
    border-color: transparent;
    box-shadow: none;
}

.home-page .home-showcase {
    margin-bottom: 24px;
}

.home-page .showcase-heading {
    margin-bottom: 10px;
}

.home-page .showcase-kicker {
    display: none;
}

.home-page .showcase-heading h2,
.home-page .section-title {
    font-size: clamp(1.08rem, 1.6vw, 1.38rem);
    letter-spacing: 0;
}

.home-page .showcase-grid,
.home-page .showcase-feature,
.home-page .showcase-picks {
    height: 350px;
}

.home-page .showcase-grid,
.home-page .showcase-picks {
    gap: 10px;
}

.home-page .showcase-feature,
.home-page .showcase-pick,
.home-page .game-card,
.home-page .game-card-thumb,
.home-page .home-discovery-intro,
.home-page .home-discovery-link {
    border-radius: 8px;
}

.home-page .section {
    margin-top: 26px;
}

.home-page .section-header {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 0;
}

.home-page .section-header::after {
    display: none;
}

.home-page .section-title i {
    color: #9ba4ff;
    filter: none;
}

.home-page .games-grid {
    grid-auto-columns: clamp(230px, 20vw, 285px);
    gap: 10px;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.home-page .game-card {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-page .game-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.home-page .game-card-thumb img {
    transition-duration: 180ms;
}

.home-page .game-card:hover .game-card-thumb img {
    transform: scale(1.025);
}

.home-page .game-row-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 22, 32, 0.94);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
}

.home-page .home-discovery-intro,
.home-page .home-discovery-link {
    border: 0;
    background: #181b27;
    box-shadow: none;
}

.home-page .home-discovery-link:hover {
    border-color: transparent;
    background: #202432;
    box-shadow: none;
    transform: translateY(-2px);
}

@media (min-width: 1025px) {
    body.home-page.sidebar-expanded {
        --sidebar-width: 214px;
    }

    body.home-page.sidebar-hover-expanded .sidebar {
        width: 214px;
    }
}

@media (max-width: 1024px) {
    body.home-page {
        --header-height: 70px;
    }
}

@media (max-width: 700px) {
    .home-page .showcase-grid,
    .home-page .showcase-picks {
        height: auto;
    }

    .home-page .main-content {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-page .games-grid {
        grid-auto-columns: minmax(220px, 78vw);
    }
}
