.game-detail-hero {
    --vr-hero-panel: rgb(9, 19, 45);
    position: relative;
    overflow: hidden;
    color: var(--vr-text);
    border: 1px solid rgba(53, 214, 255, 0.28);
    border-radius: var(--vr-radius);
    background:
        radial-gradient(circle at 14% 0%, rgba(53, 214, 255, 0.1), transparent 16rem),
        var(--vr-hero-panel);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.game-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--vr-cyan), transparent 18%, transparent 82%, var(--vr-pink)) top / 100% 1px no-repeat,
        linear-gradient(180deg, var(--vr-cyan), transparent 24%) left / 1px 100% no-repeat,
        linear-gradient(180deg, var(--vr-pink), transparent 24%) right / 1px 100% no-repeat;
    opacity: 0.72;
}

.game-detail-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 420px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(53, 214, 255, 0.18), rgba(255, 79, 216, 0.12)),
        var(--vr-hero-panel);
}

.game-detail-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(9, 19, 45, 0) 0%,
            rgba(9, 19, 45, 0) 45%,
            rgba(9, 19, 45, 0.35) 70%,
            rgba(9, 19, 45, 0.8) 86%,
            rgba(9, 19, 45, 1) 100%
        ),
        linear-gradient(90deg, rgba(53, 214, 255, 0.1), transparent 30%, transparent 70%, rgba(255, 79, 216, 0.1));
}

.game-detail-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-detail-banner-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 2rem;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.game-detail-body {
    position: relative;
    z-index: 3;
    margin-top: -2rem;
    padding-top: calc(1.5rem + 2rem);
}

.game-detail-head h1 {
    line-height: 1.35;
}

.game-detail-actions {
    padding: 1rem;
    /* border: 1px solid rgba(53, 214, 255, 0.22); */
    border-radius: var(--vr-radius);
    background: rgba(8, 21, 50, 0.5);
}

@media (max-width: 991px) {
    .game-detail-banner {
        aspect-ratio: 16 / 9;
        max-height: 320px;
    }

    .game-detail-actions {
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .game-detail-banner {
        aspect-ratio: 16 / 10;
        max-height: 240px;
    }

    .game-detail-body {
        padding: 1.25rem !important;
    }
}

.game-detail-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: inherit;
    font-weight: 500;
    line-height: 1.4;
    color: var(--vr-text);
    border: 1px solid rgba(53, 214, 255, 0.35);
    border-radius: 4px;
    background: rgba(8, 21, 50, 0.76);
}

.game-detail-update {
    display: inline-flex;
    align-items: center;
    font-size: inherit;
    color: inherit;
}

.game-detail-update .feather-clock {
    width: 14px;
    height: 14px;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

.game-detail-vip-alert {
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--vr-muted);
    border: none;
    background: none;
}

.game-detail-vip-text {
    display: inline;
    margin-right: 0.35rem;
    color: var(--vr-cyan);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(53, 214, 255, 0.35);
}

.game-detail-vip-link {
    color: #5ce1ff !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.game-detail-vip-link:hover {
    color: #ffffff !important;
    text-shadow: var(--vr-glow-cyan);
}

.game-detail-install-panel {
    color: var(--vr-text);
    border: 1px solid rgba(53, 214, 255, 0.28);
    border-radius: var(--vr-radius);
    background: rgba(8, 21, 50, 0.76);
}

.game-detail-install-panel a {
    color: var(--vr-cyan);
}

.game-detail-body .download-area .btn {
    position: relative;
    z-index: 4;
}

.version-card {
    border-left: 3px solid var(--vr-cyan);
    color: var(--vr-text);
    background: rgba(8, 21, 50, 0.76) !important;
}

.game-detail-panel {
    color: var(--vr-text);
    border: 1px solid rgba(53, 214, 255, 0.28);
    border-radius: var(--vr-radius);
    background:
        linear-gradient(180deg, rgba(15, 29, 64, 0.94), rgba(5, 12, 31, 0.96));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.game-detail-content img {
    max-width: 100%;
    height: auto;
}

.game-detail-content h1,
.game-detail-content h2,
.game-detail-content h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
}

.breadcrumb-game {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-game .breadcrumb-item a {
    color: var(--vr-cyan);
}

.breadcrumb-game .breadcrumb-item.active {
    color: var(--vr-muted);
}

.game-detail-content-body {
    overflow-x: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.game-detail-content-body img,
.game-detail-content-body video,
.game-detail-content-body iframe {
    max-width: 100%;
}

.game-detail-video {
    object-fit: cover;
    background: rgb(9, 19, 45);
}

.related-games-wrap {
    padding-bottom: 0.5rem;
}

.related-games-col {
    margin-bottom: 1.5rem;
}

.related-games .card {
    margin-bottom: 0;
}

.related-games .card-body {
    padding: 0.5rem 0.625rem 0.75rem;
}

.related-games .card-title {
    min-height: 2.8em;
    line-height: 1.4em;
    -webkit-line-clamp: 2;
}
