﻿.game-detail-page {
    --gt-page-bg: var(--gt-bg);
    --gt-panel: #181818;
    --gt-panel-soft: #202020;
    --gt-panel-light: #2a2a2a;
    --gt-border: var(--gt-line);
    --gt-text: #f5f5f5;
    --gt-blue: var(--gt-red);
    --gt-blue-dark: var(--gt-accent-hover);
    --gt-green: #75b022;
}

.game-detail-page {
    position: relative;
    overflow: hidden;
    color: var(--gt-text);
    background: transparent;
}

.game-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 680px;
    display: none;
    opacity: 0.32;
    background-position: center 22%;
    background-size: cover;
    filter: blur(18px) saturate(0.75);
    transform: scale(1.07);
    pointer-events: none;
}

.game-backdrop-overlay {
    position: absolute;
    display: none;
    inset: 0 0 auto;
    height: 720px;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.42)), linear-gradient(0deg, var(--gt-page-bg), transparent 70%);
    pointer-events: none;
}

.game-detail-container {
    position: relative;
    z-index: 1;
    max-width: 1680px;
    padding: 0 24px 24px;
}

.game-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
    color: var(--gt-muted);
    font-size: 0.8rem;
}

    .game-breadcrumb a {
        color: var(--gt-muted);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .game-breadcrumb a:hover {
            color: var(--gt-blue);
        }

    .game-breadcrumb i {
        font-size: 0.65rem;
    }

.game-header {
    margin-bottom: 24px;
    padding: 28px 32px;
    border: 1px solid var(--gt-border);
    border-top: 3px solid var(--gt-red);
    border-radius: 10px;
    background: var(--gt-panel);
}

.game-back-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 17px;
    color: var(--gt-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

    .game-back-link:hover {
        color: var(--gt-blue);
    }

.game-title-row {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

    .game-title-row h1 {
        margin: 0;
        color: #fff;
        font-size: clamp(1.75rem, 4vw, 2.75rem);
        font-weight: 800;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

.game-developer {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--gt-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

    .game-developer:hover {
        color: var(--gt-blue);
    }

.game-status {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid var(--gt-border);
    border-radius: 7px;
    color: #d9e7f0;
    background: var(--gt-panel-soft);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status-released {
    color: #94d82d;
}

.status-early-access,
.status-coming-soon {
    color: #f4c95d;
}

.status-development {
    color: var(--gt-red);
}

.status-cancelled {
    color: #ff7070;
}

/* Ana tanıtım alanı */

.game-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.game-showcase-media {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--gt-border);
    border-radius: 10px;
    background: var(--gt-panel);
}

.showcase-video,
.showcase-cover {
    overflow: hidden;
    border-radius: 3px;
    background: #000;
}

    .showcase-video iframe {
        border: 0;
    }

.showcase-cover {
    position: relative;
    aspect-ratio: 16 / 9;
}

    .showcase-cover > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.showcase-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 8, 12, 0.65), transparent 70%), linear-gradient(0deg, rgba(3, 8, 12, 0.75), transparent 50%);
}

.showcase-cover-title {
    position: absolute;
    right: 35px;
    bottom: 30px;
    left: 35px;
}

    .showcase-cover-title span {
        display: block;
        margin-bottom: 7px;
        color: var(--gt-blue);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.15em;
    }

    .showcase-cover-title strong {
        display: block;
        font-size: clamp(1.6rem, 4vw, 3rem);
        line-height: 1;
    }

.showcase-empty {
    display: flex;
    aspect-ratio: 16 / 9;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: var(--gt-muted);
    background: var(--gt-panel-soft);
}

    .showcase-empty i {
        font-size: 2.7rem;
    }

.showcase-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
}

.showcase-thumbnail {
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .showcase-thumbnail:hover {
        border-color: var(--gt-blue);
        opacity: 1;
        transform: translateY(-2px);
    }

    .showcase-thumbnail img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

/* Özet paneli */

.game-summary-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gt-border);
    border-radius: 10px;
    background: var(--gt-panel);
}

.summary-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gt-panel-soft);
}

    .summary-cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.summary-cover-empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #42576a;
    font-size: 3rem;
}

.summary-content {
    padding: 24px;
}

.summary-description {
    margin: 0 0 20px;
    color: var(--gt-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.summary-details {
    margin: 0;
}

    .summary-details > div {
        display: grid;
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 11px;
        font-size: 0.83rem;
    }

    .summary-details dt {
        color: var(--gt-muted);
        font-weight: 500;
    }

    .summary-details dd {
        margin: 0;
        color: var(--gt-text);
        overflow-wrap: anywhere;
    }

    .summary-details a {
        color: var(--gt-blue);
        text-decoration: none;
    }

        .summary-details a:hover {
            text-decoration: underline;
        }

.summary-genres {
    padding-top: 17px;
    border-top: 1px solid var(--gt-border);
}

.summary-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gt-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .game-tags a {
        padding: 6px 10px;
        border-radius: 2px;
        color: rgba(255, 255, 255, 0.86);
        background: rgba(217, 54, 68, 0.13);
        font-size: 0.75rem;
        text-decoration: none;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

        .game-tags a:hover,
        .game-tags a:focus-visible {
            color: #fff;
            background: rgba(217, 54, 68, 0.28);
        }

/* Alt içerik */

.game-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin-top: 24px;
}

.game-content-main {
    min-width: 0;
}

.game-section {
    padding: 24px;
    border: 1px solid var(--gt-border);
    border-radius: 10px;
    background: var(--gt-panel);
}

.game-section + .game-section {
    margin-top: 24px;
}

.related-games {
    margin-top: 24px;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.related-game-link {
    min-width: 0;
    color: var(--gt-text);
    text-decoration: none;
}

.related-game-link img,
.related-game-empty {
    display: grid;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    place-items: center;
    border: 1px solid var(--gt-border);
    border-radius: 8px;
    background: var(--gt-panel-soft);
}

.related-game-empty {
    color: var(--gt-muted);
    font-size: 2rem;
}

.related-game-link h3 {
    margin: 12px 0 4px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.related-game-link p {
    margin: 0;
    color: var(--gt-muted);
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.related-game-link:hover,
.related-game-link:focus-visible,
.related-games .section-heading i {
    color: var(--gt-accent-soft);
}

.section-heading {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--gt-accent-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.heading-line {
    height: 1px;
    flex: 1;
    margin-bottom: 6px;
    background: linear-gradient(90deg, rgba(217, 54, 68, 0.5), transparent);
}

.game-description video { display: block; max-width: 100%; height: auto; margin: 18px 0; }
.game-carousel-video video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.game-description {
    color: var(--gt-text);
    overflow-wrap: anywhere;
    font-size: 0.98rem;
    line-height: 1.85;
}

    .game-description p {
        margin: 0;
    }

        .game-description p + p {
            margin-top: 18px;
        }

    .game-description h1,
    .game-description h2,
    .game-description h3,
    .game-description h4,
    .game-description h5,
    .game-description h6 {
        margin: 26px 0 12px;
        color: #fff;
        font-weight: 700;
        line-height: 1.25;
    }

    .game-description h1 {
        font-size: 1.75rem;
    }

    .game-description h2 {
        font-size: 1.5rem;
    }

    .game-description h3 {
        font-size: 1.3rem;
    }

    .game-description h4 {
        font-size: 1.12rem;
    }

    .game-description h5 {
        font-size: 1rem;
    }

    .game-description h6 {
        color: rgba(255, 255, 255, 0.76);
        font-size: 0.9rem;
    }

    .game-description img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 18px auto;
        border-radius: 4px;
    }

/* Ekran görüntüleri */

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.screenshot-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gt-border);
    border-radius: 4px;
    background: var(--gt-panel);
    cursor: pointer;
}

    .screenshot-card img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.screenshot-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(5, 12, 18, 0.6);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.screenshot-card:hover img {
    transform: scale(1.035);
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.game-trailer {
    overflow: hidden;
    border: 1px solid var(--gt-border);
    border-radius: 5px;
    background: #000;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

    .game-trailer iframe {
        border: 0;
    }

/* Mağaza kartı */

.game-content-side {
    min-width: 0;
}

.store-card {
    position: sticky;
    top: 95px;
    overflow: hidden;
    border: 1px solid var(--gt-border);
    border-radius: 10px;
    background: var(--gt-panel);
}

.store-card-top {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px;
    border-bottom: 1px solid var(--gt-border);
}

.store-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    background: var(--gt-red);
    font-size: 1.15rem;
}

.store-card-top span {
    display: block;
    color: var(--gt-muted);
    font-size: 0.73rem;
    text-transform: uppercase;
}

.store-card-top h3 {
    overflow: hidden;
    margin: 3px 0 0;
    color: #fff;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.store-links {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.store-button {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

    .store-button:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.22);
        filter: brightness(1.13);
        transform: translateY(-2px);
    }

.store-button-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
}

.store-button small,
.store-button strong {
    display: block;
}

.store-button small {
    margin-bottom: 1px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.66rem;
    text-transform: uppercase;
}

.store-button strong {
    font-size: 0.92rem;
}

.store-button > i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.store-button-steam {
    background: var(--gt-panel-soft);
}

.store-button-epic {
    background: var(--gt-panel-soft);
}

.store-button-itch {
    background: var(--gt-panel-soft);
}

.store-button-website {
    background: var(--gt-red);
}

.store-empty {
    padding: 34px 22px;
    color: var(--gt-muted);
    text-align: center;
}

    .store-empty i {
        display: block;
        margin-bottom: 12px;
        font-size: 1.8rem;
    }

    .store-empty p {
        margin: 0;
        font-size: 0.85rem;
    }

.store-card-footer {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid var(--gt-border);
    color: var(--gt-muted);
    background: rgba(0, 0, 0, 0.13);
    font-size: 0.68rem;
}

/* Görsel modalı */

.screenshot-modal {
    position: fixed;
    z-index: 1090;
    inset: 0;
    display: flex;
    padding: 65px 25px 25px;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    background: rgba(2, 6, 9, 0.94);
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(12px);
}

    .screenshot-modal.is-open {
        visibility: visible;
        opacity: 1;
    }

    .screenshot-modal img {
        max-width: min(1400px, 96vw);
        max-height: 88vh;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 5px;
        object-fit: contain;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    }

.screenshot-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
}

    .screenshot-modal-close:hover {
        background: rgba(255, 255, 255, 0.16);
    }

body.modal-open {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 1100px) {
    .related-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .game-showcase {
        grid-template-columns: minmax(0, 1.5fr) minmax(285px, 0.8fr);
    }

    .game-content-grid {
        grid-template-columns: minmax(0, 1fr) 305px;
    }

    .summary-content {
        padding: 19px;
    }
}

@media (max-width: 900px) {
    .game-showcase,
    .game-content-grid {
        grid-template-columns: 1fr;
    }

    .game-summary-card {
        display: grid;
        grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
    }

    .summary-cover {
        align-self: start;
        aspect-ratio: 16 / 9;
    }

    .game-content-side {
        grid-row: 1;
    }

    .store-card {
        position: static;
    }

    .store-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .related-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .related-games {
        margin-top: 16px;
    }

    .game-detail-container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .game-breadcrumb {
        display: none;
    }

    .game-header {
        padding: 20px;
        margin-bottom: 16px;
    }

    .game-title-row {
        display: block;
    }

    .game-status {
        margin-top: 17px;
    }

    .game-showcase {
        gap: 16px;
    }

    .game-showcase-media {
        padding: 10px;
    }

    .game-summary-card {
        display: block;
    }

    .summary-cover {
        aspect-ratio: 16 / 9;
    }

    .showcase-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

        .showcase-thumbnails .showcase-thumbnail:nth-child(n + 4) {
            display: none;
        }

    .game-content-grid {
        gap: 16px;
        margin-top: 16px;
    }

    .store-links,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .game-section {
        padding: 18px;
    }

    .section-heading {
        margin-bottom: 17px;
    }
}
/* Üst medya carousel */

.game-media-carousel {
    overflow: hidden;
    border-radius: 4px;
    background: #121212;
}

    .game-media-carousel .carousel-item {
        background: #121212;
    }

.game-carousel-video,
.game-carousel-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #121212;
}

    .game-carousel-video iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    .game-carousel-image > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.game-carousel-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient( 0deg, rgba(2, 7, 11, 0.65), transparent 32% );
}

.game-media-type {
    pointer-events: none;
    position: absolute;
    right: 18px;
    bottom: 17px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    color: #d6e5ef;
    background: rgba(24, 24, 24, 0.72);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.game-fullscreen-button {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: #fff;
    background: rgba(24, 24, 24, 0.72);
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

    .game-fullscreen-button:hover {
        color: #fff;
        border-color: rgba(217, 54, 68, 0.8);
        background: rgba(217, 54, 68, 0.85);
        transform: scale(1.05);
    }

.game-carousel-arrow,
.gallery-arrow {
    display: flex;
    width: 48px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 3px;
    color: #fff;
    background: rgba(24, 24, 24, 0.8);
    font-size: 1.3rem;
    backdrop-filter: blur(8px);
}

.game-media-carousel .carousel-control-prev,
.game-media-carousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    height: 64px;
    transform: translateY(-50%);
    width: 72px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.game-media-carousel:hover .carousel-control-prev,
.game-media-carousel:hover .carousel-control-next {
    opacity: 1;
}

/* Küçük medya görselleri */

.game-media-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gt-line) var(--gt-panel);
}

.game-media-thumbnail {
    position: relative;
    min-width: 145px;
    width: 145px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 3px;
    background: var(--gt-panel-soft);
    cursor: pointer;
    opacity: 0.58;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

    .game-media-thumbnail:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

    .game-media-thumbnail.active {
        border-color: var(--gt-red);
        opacity: 1;
        box-shadow: 0 0 15px rgba(217, 54, 68, 0.22);
    }

    .game-media-thumbnail img,
    .thumbnail-placeholder {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gt-red);
    background: var(--gt-panel-soft);
    font-size: 1.5rem;
}

.thumbnail-video-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(2, 7, 11, 0.3);
    font-size: 1.8rem;
    text-shadow: 0 3px 12px #000;
}

/* Bootstrap tam ekran modal */

.game-gallery-modal .modal-content {
    color: #fff;
    background: radial-gradient( circle at center, rgba(56, 17, 24, 0.48), rgba(3, 8, 12, 0.98) 70% );
}

.game-gallery-modal .modal-header {
    min-height: 82px;
    padding: 14px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 24, 0.65);
}

.gallery-modal-label {
    display: block;
    margin-bottom: 3px;
    color: var(--gt-red);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.game-gallery-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.game-gallery-modal .modal-body {
    display: flex;
    min-height: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.fullscreen-gallery-carousel {
    width: 100%;
    height: 100%;
}

    .fullscreen-gallery-carousel .carousel-inner,
    .fullscreen-gallery-carousel .carousel-item {
        height: 100%;
    }

.fullscreen-gallery-image {
    display: flex;
    height: 100%;
    padding: 25px 95px;
    align-items: center;
    justify-content: center;
}

    .fullscreen-gallery-image img {
        max-width: 100%;
        max-height: calc(100vh - 190px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 4px;
        object-fit: contain;
        box-shadow: 0 30px 75px rgba(0, 0, 0, 0.6);
    }

.fullscreen-gallery-counter {
    position: absolute;
    right: 30px;
    bottom: 20px;
    padding: 7px 11px;
    border-radius: 3px;
    color: #c7d5e0;
    background: rgba(0, 0, 0, 0.55);
    font-size: 0.75rem;
}

.game-gallery-footer {
    display: block;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 24, 0.72);
}

.fullscreen-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    overflow-x: auto;
}

.fullscreen-thumbnail {
    flex: 0 0 95px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 3px;
    background: var(--gt-panel-soft);
    opacity: 0.48;
}

    .fullscreen-thumbnail.active {
        border-color: var(--gt-red);
        opacity: 1;
    }

    .fullscreen-thumbnail img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

@media (max-width: 768px) {
    .game-media-thumbnail {
        min-width: 105px;
        width: 105px;
    }

    .game-media-carousel .carousel-control-prev,
    .game-media-carousel .carousel-control-next {
        width: 48px;
        opacity: 1;
    }

    .game-carousel-arrow {
        width: 36px;
        height: 48px;
    }

    .fullscreen-gallery-image {
        padding: 20px 50px;
    }

        .fullscreen-gallery-image img {
            max-height: calc(100vh - 175px);
        }

    .game-gallery-modal .modal-header {
        padding: 12px 16px;
    }
}
