:root {
    --bg: #070b16;
    --bg-soft: #0d1324;
    --surface: rgba(17, 25, 47, 0.82);
    --surface-strong: #121a31;
    --surface-muted: #17213b;
    --text: #f7f9ff;
    --text-soft: #9ca9c6;
    --line: rgba(255, 255, 255, 0.09);
    --primary: #7c5cff;
    --primary-strong: #5d3df5;
    --accent: #23d5ab;
    --danger: #ff5f7e;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1240px;
}

html[data-theme="light"] {
    --bg: #f5f7fb;
    --bg-soft: #edf1f8;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --surface-muted: #eef2f8;
    --text: #11162a;
    --text-soft: #64708b;
    --line: rgba(17, 22, 42, 0.1);
    --shadow: 0 24px 70px rgba(54, 67, 103, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.11), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(35, 213, 171, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    transition: background .25s ease, color .25s ease;
}

body.menu-open {
    overflow: hidden;
}

img,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: blur(22px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 46px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 10px 35px rgba(124, 92, 255, .35);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: -.03em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: .72rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.main-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: .92rem;
    font-weight: 700;
    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--surface-muted);
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-button,
.menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
    border-color: rgba(124, 92, 255, .45);
}

.menu-button {
    display: none;
    gap: 4px;
    align-content: center;
}

.menu-button span:not(.sr-only) {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
}

.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 74px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 72px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 790px;
    margin: 18px 0 24px;
    font-size: clamp(3.2rem, 7vw, 6.7rem);
    line-height: .97;
    letter-spacing: -.065em;
}

.hero-copy h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #a891ff, #63e7cb);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.12rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 14px 35px rgba(93, 61, 245, .27);
}

.button-ghost {
    border-color: var(--line);
    background: var(--surface);
}

.button-small {
    min-height: 42px;
    padding-inline: 17px;
    border-radius: 12px;
    font-size: .9rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 42px;
}

.hero-stats div {
    display: grid;
}

.hero-stats strong {
    font-size: 1.35rem;
    letter-spacing: -.04em;
}

.hero-stats span {
    color: var(--text-soft);
    font-size: .82rem;
}

.hero-feature {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.feature-card {
    position: relative;
    width: min(100%, 400px);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
        var(--surface);
    box-shadow: var(--shadow);
    transform: rotate(4deg);
}

.feature-card-top,
.feature-card-bottom {
    display: flex;
    align-items: center;
}

.feature-card-top {
    gap: 10px;
    color: var(--text-soft);
    font-size: .88rem;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(35, 213, 171, .12);
}

.feature-visual {
    min-height: 270px;
    display: grid;
    place-items: center;
    margin: 22px 0;
    border-radius: 25px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .2), transparent 25%),
        linear-gradient(145deg, #6c49ff, #1cae91);
}

.feature-symbol {
    font-size: 7rem;
    filter: drop-shadow(0 18px 25px rgba(0, 0, 0, .3));
}

.feature-card-bottom {
    justify-content: space-between;
    align-items: flex-end;
}

.feature-card-bottom strong,
.feature-card-bottom span {
    display: block;
}

.feature-card-bottom strong {
    font-size: 1.22rem;
}

.feature-card-bottom span {
    max-width: 150px;
    color: var(--text-soft);
    font-size: .78rem;
    text-align: right;
}

.floating-chip {
    position: absolute;
    z-index: 3;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
    box-shadow: var(--shadow);
    font-size: .82rem;
    font-weight: 800;
    backdrop-filter: blur(16px);
}

.chip-one {
    top: 15%;
    left: -2%;
}

.chip-two {
    right: -1%;
    bottom: 18%;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: .42;
    pointer-events: none;
}

.hero-glow-one {
    width: 310px;
    height: 310px;
    top: 10%;
    right: 16%;
    background: rgba(124, 92, 255, .34);
}

.hero-glow-two {
    width: 250px;
    height: 250px;
    left: 8%;
    bottom: -4%;
    background: rgba(35, 213, 171, .12);
}

.ad-section {
    padding: 20px 0 32px;
}

.ad-section-bottom {
    padding: 40px 0 80px;
}

.ad-label,
.sidebar-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-align: center;
    text-transform: uppercase;
}

.ad-slot {
    overflow: hidden;
    margin-inline: auto;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.ad-horizontal {
    width: min(100%, 760px);
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 10px;
}

.ad-horizontal iframe {
    width: 728px;
    max-width: 100%;
    height: 90px;
    border: 0;
}

.content-section {
    padding: 68px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 34px;
    align-items: start;
}

.content-main {
    min-width: 0;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.page-counter {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-soft);
    font-size: .78rem;
    font-weight: 800;
}

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

.game-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .12);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, .38);
    box-shadow: var(--shadow);
}

.game-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: block;
    background: var(--surface-muted);
}

.game-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(4, 7, 14, .72));
}

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

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

.game-category {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(7, 11, 22, .64);
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.game-play-icon {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    width: 48px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #11162a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.game-body {
    padding: 20px;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.game-body h3 {
    margin: 10px 0 18px;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.game-body h3 a:hover {
    color: var(--accent);
}

.game-embed {
    overflow: hidden;
    margin: 0 0 18px;
    border-radius: 14px;
    background: var(--surface-muted);
}

.game-embed iframe {
    width: 100% !important;
    min-height: 230px;
    border: 0;
}

.game-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.game-id {
    max-width: 48%;
    overflow: hidden;
    color: var(--text-soft);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 22px;
}

.sidebar-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.ad-vertical {
    width: 180px;
    min-height: 620px;
    display: grid;
    place-items: center;
    padding: 10px;
}

.ad-vertical iframe {
    width: 160px;
    height: 600px;
    border: 0;
}

.sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 900;
}

.sidebar-heading small {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-muted);
    color: var(--text-soft);
}

.category-list {
    display: grid;
    gap: 4px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 12px;
    color: var(--text-soft);
    font-size: .86rem;
    transition: .2s ease;
}

.category-list a:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.category-list small {
    flex: 0 0 auto;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.pagination-arrow,
.pagination-pages a,
.pagination-pages span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    font-weight: 800;
}

.pagination-pages {
    display: flex;
    gap: 8px;
}

.pagination-pages .is-current {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
}

.pagination .is-disabled {
    opacity: .35;
    cursor: not-allowed;
}

.related-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-soft) 65%, transparent);
}

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

.related-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    transition: .2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 92, 255, .4);
}

.related-card img {
    width: 74px;
    height: 62px;
    object-fit: cover;
    border-radius: 13px;
}

.related-card span {
    min-width: 0;
    display: grid;
}

.related-card small {
    color: var(--text-soft);
    font-size: .7rem;
}

.related-card strong {
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card b {
    color: var(--accent);
}

.empty-state {
    padding: 70px 30px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.site-footer {
    padding: 72px 0 28px;
    background: #050812;
}

html[data-theme="light"] .site-footer {
    background: #e9eef7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand p {
    max-width: 430px;
    margin: 20px 0 0;
    color: var(--text-soft);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column h3 {
    margin: 0 0 8px;
    font-size: .92rem;
}

.footer-column a {
    color: var(--text-soft);
    font-size: .88rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: .82rem;
}

.back-to-top {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
}

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

    .hero-feature {
        display: none;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

    .ad-vertical {
        width: min(100%, 760px);
        min-height: 110px;
    }

    .ad-vertical iframe {
        width: 728px;
        max-width: 100%;
        height: 90px;
    }

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

@media (max-width: 820px) {
    .main-nav {
        display: none;
    }

    .menu-button {
        display: grid;
    }

    .mobile-nav {
        position: fixed;
        inset: 82px 20px auto;
        z-index: 1001;
        display: grid;
        gap: 8px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: var(--surface-strong);
        box-shadow: var(--shadow);
        transform: translateY(-15px);
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
    }

    .mobile-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav a {
        padding: 12px 14px;
        border-radius: 12px;
        color: var(--text-soft);
        font-weight: 750;
    }

    .mobile-nav a:hover {
        background: var(--surface-muted);
        color: var(--text);
    }

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

    .sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-copy small {
        display: none;
    }

    .mobile-nav {
        inset: 72px 14px auto;
    }

    .hero {
        padding: 68px 0 48px;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 15vw, 4.25rem);
    }

    .hero-copy > p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 22px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        gap: 7px;
    }

    .pagination-pages {
        gap: 5px;
    }

    .pagination-arrow,
    .pagination-pages a,
    .pagination-pages span {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        align-items: flex-start;
    }
}

/*
|--------------------------------------------------------------------------
| Individual game page
|--------------------------------------------------------------------------
*/

.not-found-page {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 80px 0;
}

.not-found-page .empty-state h1 {
    margin: 12px 0;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    letter-spacing: -.05em;
}

.not-found-page .empty-state p {
    margin-bottom: 28px;
    color: var(--text-soft);
}

.game-hero-section {
    position: relative;
    overflow: hidden;
    padding: 44px 0 72px;
    border-bottom: 1px solid var(--line);
}

.game-hero-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.game-hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 7%, color-mix(in srgb, var(--bg) 88%, transparent) 48%, var(--bg) 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent), var(--bg));
}

.game-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(36px) saturate(1.25);
    opacity: .42;
    transform: scale(1.12);
}

.breadcrumbs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 42px;
    color: var(--text-soft);
    font-size: .82rem;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.game-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 60px;
    align-items: center;
}

.game-hero-copy h1 {
    max-width: 850px;
    margin: 16px 0 22px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.game-hero-copy p {
    max-width: 700px;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.game-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.game-hero-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.game-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(4,7,14,.7));
}

.game-cover-badge {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(7,11,22,.68);
    color: #fff;
    font-size: .76rem;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.game-page-section {
    padding: 68px 0;
}

.game-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 34px;
    align-items: start;
}

.game-page-main {
    min-width: 0;
    display: grid;
    gap: 28px;
}

.play-panel,
.game-description-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: 0 18px 60px rgba(0,0,0,.13);
}

.play-panel {
    overflow: hidden;
}

.play-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
}

.play-panel-header h2 {
    margin: 7px 0 0;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.play-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: .78rem;
    font-weight: 750;
}

.play-status i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(35,213,171,.11);
}

.game-stage {
    min-height: 540px;
    display: grid;
    place-items: stretch;
    background: #03050a;
}

.game-stage > iframe,
.game-stage iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 540px;
    margin: 0 !important;
    border: 0 !important;
}

.game-stage > embed,
.game-stage > object {
    width: 100%;
    min-height: 540px;
}

.game-description-card {
    padding: 30px;
}

.game-description-card h2 {
    margin: 10px 0 20px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.prose {
    color: var(--text-soft);
    font-size: 1rem;
}

.prose p:first-child {
    margin-top: 0;
}

.prose p:last-child {
    margin-bottom: 0;
}

.game-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.game-details-grid div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-muted);
}

.game-details-grid span,
.game-details-grid strong {
    display: block;
}

.game-details-grid span {
    color: var(--text-soft);
    font-size: .74rem;
}

.game-details-grid strong {
    margin-top: 4px;
    font-size: .94rem;
}

.game-sidebar {
    top: 110px;
}

.game-quick-card h3 {
    margin: 10px 0 8px;
    font-size: 1.15rem;
}

.game-quick-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: .84rem;
}

.button-full {
    width: 100%;
}

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

.related-game-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    transition: transform .22s ease, border-color .22s ease;
}

.related-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124,92,255,.4);
}

.related-game-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: block;
    background: var(--surface-muted);
}

.related-game-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(4,7,14,.68));
}

.related-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

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

.related-game-body {
    padding: 17px;
}

.related-game-body small {
    color: var(--text-soft);
    font-size: .72rem;
}

.related-game-body h3 {
    margin: 5px 0 14px;
    font-size: 1.08rem;
    line-height: 1.2;
}

.related-game-link {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 850;
}

@media (max-width: 1080px) {
    .game-hero-content {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 38px;
    }

    .game-page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .game-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 760px) {
    .game-hero-section {
        padding-bottom: 48px;
    }

    .game-hero-content {
        grid-template-columns: 1fr;
    }

    .game-hero-cover {
        max-width: 520px;
        transform: none;
    }

    .game-sidebar {
        grid-template-columns: 1fr;
    }

    .play-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .game-stage,
    .game-stage > iframe,
    .game-stage iframe,
    .game-stage > embed,
    .game-stage > object {
        min-height: 430px;
    }

    .game-details-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 520px) {
    .game-hero-copy h1 {
        font-size: clamp(2.45rem, 14vw, 3.7rem);
    }

    .game-description-card {
        padding: 22px;
    }

    .play-panel-header {
        padding: 21px;
    }

    .game-stage,
    .game-stage > iframe,
    .game-stage iframe,
    .game-stage > embed,
    .game-stage > object {
        min-height: 360px;
    }
}

