@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800;900&display=swap');

:root {
    --nav-blur-bg: rgba(255, 255, 255, 0.75);
    --light-bg: #f0f2f5;
    --hero-grad: radial-gradient(1200px 600px at 10% -10%, #ffffff 0%, #f7f9fc 35%, #eef2f7 100%);
    --ink: #0f172a;
    --brand-1: #0d6efd;
    --brand-2: #8a63ff;
    --brand-3: #06b6d4;
    --preorder-1: #22c55e;
    --preorder-2: #16a34a;
    --yt-red: #ff0000;
}

html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; position: relative; overflow-x: hidden; background-color: #3a3a61; }
html.modal-open, body.modal-open { overflow: hidden; }

/* NAVBAR */
.navbar.sticky-top { backdrop-filter: saturate(180%) blur(10px); background: var(--nav-blur-bg); box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.navbar .nav-link { font-weight: 600; }
.navbar .btn-wa { font-weight: 700; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) { .navbar .form-control { margin-top: .5rem; } }

/* HERO SECTION */
.hero { position: relative; padding: 56px 0; background: var(--hero-grad); overflow: hidden; }
header.hero { padding-top: 18px !important; padding-bottom: 28px !important; }
@media (max-width: 576px) { header.hero { padding-top: 12px !important; padding-bottom: 22px !important; } }
.hero.hero--cta-only { padding-top: 16px; padding-bottom: 18px; }
@media (min-width: 992px) { .hero.hero--cta-only { padding-top: 18px; padding-bottom: 20px; } }

.hero .container { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: #eef2f7; border: 1px solid rgba(0, 0, 0, .06); font-weight: 800; font-size: .85rem; color: #223; }
.hero-title {
    margin: .6rem 0 1rem;
    font-weight: 900;
    line-height: 1.1;
    font-size: clamp(28px, 3.2vw + 10px, 46px);
    letter-spacing: .2px;
    background: linear-gradient(90deg, var(--ink) 0%, #111 12%, var(--brand-1) 30%, var(--brand-2) 55%, var(--brand-3) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 10px rgba(13, 110, 253, .08));
}
.seo-list { margin: 1rem 0 1.2rem; padding-left: 1.1rem; color: #374151; }
.seo-list li { margin: .25rem 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .6rem; }
.cta-row .btn-lg { padding: .85rem 1.1rem; font-weight: 800; border-radius: 12px; }

.hero-photo-wrap { position: relative; }
.hero-photo { display: block; width: 100%; height: auto; background: transparent; border-radius: 0; box-shadow: none; filter: drop-shadow(0 20px 40px rgba(2, 6, 23, .28)); }
.hero-glow {
    position: absolute; inset: -12%; z-index: -1; filter: blur(30px); opacity: .55;
    background: radial-gradient(600px 280px at 80% 20%, rgba(13, 110, 253, .22), transparent 60%), radial-gradient(600px 280px at 30% 70%, rgba(138, 99, 255, .22), transparent 60%);
    border-radius: 28px;
}
.content-wrap { position: relative; z-index: 1; background-color: transparent; }

/* BREADCRUMBS */
.bcrumbs-bar {
    width: 100%; margin: 0; padding: 6px 0; position: relative; z-index: 10; isolation: isolate;
    background: transparent !important; padding-top: 8px; padding-bottom: 8px;
}
.bcrumbs-bar > .container { padding-left: 12px; padding-right: 12px; }
.bcrumbs { width: 100%; }
.bcrumbs .bc {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px !important; width: 100%;
    color: #0f172a !important; border-radius: 22px !important; padding: 10px 14px !important;
    background: var(--bs-body-bg) !important; border: 1px solid var(--bs-border-color) !important;
    box-shadow: 0 8px 20px rgba(2, 6, 23, .06), 0 1px 2px rgba(2, 6, 23, .05) !important;
    outline: 0 !important; text-shadow: none !important;
}
.bcrumbs .sep { color: currentColor; opacity: .55; }
.bcrumbs a { color: inherit !important; text-decoration: none !important; }
.bcrumbs a:hover { text-decoration: underline !important; }

/* SEO BANNER */
.ps-seo-banner {
    position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(15, 23, 42, .10);
    background: radial-gradient(1200px 600px at 10% -10%, #ffffff 0%, #f7f9fc 35%, #eef2f7 100%);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
}
.ps-seo-banner .wrap { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.ps-seo-banner h1 { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; line-height: 1.4; margin: 0 0 4px 0; font-weight: 700; color: #0f172a; }
.ps-seo-banner p { font-family: 'Montserrat', sans-serif; margin: 0; color: #334155; font-weight: 500; font-size: 1rem; }
.ps-seo-banner .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ps-seo-banner .badge { background: #0b5ed7; color: #fff; border: none; font-weight: 700; }
.ps-seo-banner .thumb { margin-left: auto; display: flex; align-items: center; }
.ps-seo-banner .img-box { width: 360px; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(15, 23, 42, .12); background: transparent; }
.ps-seo-banner .img-box img { display: block; width: 100%; height: auto; }
@media (max-width: 767.98px) {
    .ps-seo-banner .wrap { flex-direction: column; align-items: flex-start; }
    .ps-seo-banner .thumb { width: 100%; margin-top: 1rem; }
    .ps-seo-banner .img-box { width: 100%; }
}

/* === PLATFORM TOGGLE SWITCH (SYMMETRICAL) === */
.platform-switcher-container { margin-bottom: 2rem; }
.switcher-label { color: #e0eAFC; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

.platform-toggle-switch {
    display: inline-flex; position: relative; background-color: rgba(0, 0, 0, 0.25);
    border-radius: 999px; padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.platform-toggle-switch .toggle-option {
    background: transparent; border: none; color: #a7aebb; 
    font-weight: 700; padding: 10px 24px; 
    border-radius: 999px; position: relative; z-index: 2; cursor: pointer;
    transition: color 0.3s ease-in-out; 
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 1.1rem;
    min-width: 110px;
}
.platform-toggle-switch .toggle-option.active { color: white; }

.platform-toggle-switch .toggle-thumb {
    position: absolute; top: 4px; left: 4px; 
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 999px; z-index: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
    background-color: #0d6efd; box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}
.platform-toggle-switch.ps4-active .toggle-thumb {
    transform: translateX(100%); 
    background-color: #1f2937; box-shadow: 0 4px 15px rgba(31, 41, 55, 0.5);
}
@media (max-width: 576px) { .platform-toggle-switch .toggle-option { padding: 12px 20px; font-size: 1rem; min-width: auto; } }

/* CARDS GRID & ITEM CARDS */
.game-card {
    position: relative; isolation: isolate; border-radius: 16px; background: #fff; overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease !important;
}
/* Disable lift on hover to prevent layout jumps */
#cardsGrid .card:hover, #cardsGrid .game-card:hover { transform: none !important; translate: none !important; margin-top: 0 !important; top: auto !important; }
.game-card:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, .1); }

.card-img-container { position: relative; }
.card-img-top { border-top-left-radius: 16px; border-top-right-radius: 16px; }

/* Platform Badges */
.platform-badges { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 10; }
.badge-platform { padding: 2px 8px; font-size: .8rem; border-radius: 4px; font-weight: 600; text-transform: uppercase; color: #fff; cursor: default; }
.badge-ps4-color { background: linear-gradient(145deg, #333, #000); box-shadow: 0 0 8px rgba(0, 0, 0, .7); }
.badge-ps5-color { background: linear-gradient(145deg, #0099ff, #0056b3); box-shadow: 0 0 8px rgba(0, 153, 255, .7); }

/* Share Button */
.game-card .share-btn {
    position: absolute; top: 10px; left: 10px; z-index: 50; width: 32px; height: 32px;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.9); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
    cursor: pointer; text-decoration: none; padding: 0; pointer-events: auto;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.game-card .share-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6); background: rgba(15, 23, 42, 1); color: #fff; }
.game-card .share-btn i { font-size: 0.85rem; }

/* Subscription Badges (Fixed: No Underline) */
[data-slot="subscription-badges"] { position: absolute; bottom: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 10; }
[data-slot="subscription-badges"] a { text-decoration: none !important; border: none !important; display: block; width: fit-content; transition: transform 0.2s ease; }
[data-slot="subscription-badges"] a:hover { transform: scale(1.05); }
.subscription-badge { padding: 4px 10px; font-size: .9rem; font-weight: 700; color: #fff; border-radius: 4px; z-index: 10; cursor: pointer; }
.badge-extra { background: linear-gradient(145deg, #ffd700, #daa520); box-shadow: 0 0 12px rgba(255, 215, 0, .8); }
.badge-deluxe { background: linear-gradient(145deg, #b6a2ff, #8a63ff); box-shadow: 0 0 12px rgba(138, 99, 255, .8); }
.badge-eaplay { background: linear-gradient(145deg, #ff4141, #d90429); box-shadow: 0 0 12px rgba(255, 65, 65, .8); }

/* Preorder Flag */
.preorder-flag {
    position: absolute; left: 0 !important; right: 0 !important; margin-left: auto !important; margin-right: auto !important;
    bottom: 8px; width: max-content; max-width: calc(100% - 24px); transform: none !important;
    z-index: 11; background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 900; line-height: 1;
    box-shadow: 0 10px 24px rgba(13, 110, 253, .25); display: flex; align-items: center; gap: 8px;
}
.preorder-flag .count { font-variant-numeric: tabular-nums; }

/* === ВЫРАВНИВАНИЕ КАРТОЧКИ (DESKTOP DEFAULT) === */
.game-card .info-block {
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    height: 100%;
}

/* ЗАГОЛОВОК */
.game-card .game-title {
    font-size: 1.22rem !important;
    font-weight: 800;
    margin-bottom: 0.15rem !important;
    cursor: pointer;
    line-height: 1.2;
    min-height: 3.0rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.game-card .game-title a { color: inherit; text-decoration: none; }
.game-card .game-title a:hover { color: var(--brand-1); }

/* ИНФО-РЯД (Иконки или Дата) */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    color: #6c757d;
    margin-bottom: 0.3rem;
    padding: 0 5px;
    height: 1.8rem;
    min-height: 1.8rem;
    box-sizing: border-box;
}
.info-row span { display: flex; align-items: center; gap: 5px; }
.info-row i { width: 18px; flex: 0 0 18px; text-align: center; margin-right: 6px; }

/* ЦЕНЫ: Прижимаем к низу */
.price-list-platform {
    margin-top: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}
.price-list-platform .d-flex { display: flex; flex-direction: column; gap: 0; }

.price-line { display: flex; justify-content: space-between; align-items: center; }
.price-line .price-label { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.info-icon { color: #0d6efd; cursor: pointer; font-size: 0.9rem; }
.game-card .price { font-weight: 800; font-size: 1rem; line-height: 1.1; }
.game-card .price.unavailable { color: #e11d48; }

/* Режимы цены */
.price-list-platform.single-price-mode .price-line { justify-content: center !important; text-align: center; }
.price-list-platform.single-price-mode .price-label,
.price-list-platform.single-price-mode .info-icon-trigger { display: none !important; }
.price-list-platform.single-price-mode .price { font-size: 1.45rem; font-weight: 800; display: block; width: 100%; text-align: center; }
.tier-unavailable { opacity: .7; }

/* КНОПКА КУПИТЬ */
.game-card .btn-buy {
    background: #0d6efd;
    border: none;
    font-weight: 600;
    padding: 7px;
    border-radius: 8px;
    color: #fff;
    width: 100%;
    margin-top: 0 !important;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
}
.btn-preorder {
    background: linear-gradient(135deg, var(--preorder-1), var(--preorder-2)) !important;
    border: none !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(34, 197, 94, .28) !important;
}
.btn-preorder:hover { filter: brightness(1.02); }
.btn-preorder:active { filter: brightness(.98); }

/* MOBILE GRID FIXES & ADJUSTMENTS */
@media (max-width: 576px) {
    #cardsGrid.row-cols-1 > * { transform: scale(0.93); transform-origin: top center; margin-bottom: -8%; transition: transform 0.3s ease, margin-bottom 0.3s ease; }
    body.modal-open #cardsGrid.row-cols-1 > * { transform: scale(1); margin-bottom: 0; transition: none; }
    
    .game-card .share-btn { top: 12px; left: 12px; width: 58px; height: 58px; }
    .game-card .share-btn i { font-size: 1.21rem; }
    
    .game-card .info-block { padding: 0.6rem 0.6rem 1rem 0.6rem; }
    .game-card .info-row { font-size: .85rem; margin-bottom: 0.5rem !important; height: 2.0rem; }
    .game-card .info-row i { font-size: 1.25rem !important; margin-right: 6px !important; }
    .game-card .badge-platform { font-size: 1.1rem; padding: 4px 10px; border-radius: 6px; }
    .game-card .preorder-flag { font-size: 1.2rem; padding: 9px 16px; gap: 10px; }
    .game-card .subscription-badge { font-size: 1.2rem; padding: 5px 10px; }
    
    .game-card .btn-buy { font-size: 1rem; text-transform: uppercase; padding: 10px; margin-top: 0.5rem !important; }
    .game-card .price-list-platform { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    
    .game-card .price-list-platform.single-price-mode .price { font-size: 1.45rem !important; }
    .game-card .price-list-platform:not(.single-price-mode) span, 
    .game-card .price-list-platform:not(.single-price-mode) .price { font-size: 1.1rem !important; }
    
    .game-card .game-title { margin-bottom: 0.3rem !important; min-height: 2.8rem; font-size: 1.25rem !important; text-align: center !important; }
}

@media (orientation: portrait) and (min-width: 992px) {
    #cardsGrid.row.row-cols-lg-4 > * { width: 33.333333% !important; }
}

/* PAGINATION */
.pagination .page-link { font-size: 18px; min-width: 44px; height: 44px; padding: 0 14px; line-height: 44px; }
@media (min-width: 992px) { .pagination .page-link { font-size: 19px; min-width: 48px; height: 48px; line-height: 48px; padding: 0 16px; } }
@media (max-width: 576px) { .pagination .page-link { display: flex !important; align-items: center !important; justify-content: center !important; line-height: normal !important; padding: 0 !important; font-size: 1.1rem; } }

/* ================================================= */
/* === FILTERS: ACTIVE CHIPS (MODERN PILLS) ===     */
/* ================================================= */
#activeChips {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin-bottom: 24px; padding: 0 10px;
}
.filter-chip {
    display: inline-flex; align-items: center;
    background: #ffffff;
    border: 1px solid rgba(13, 110, 253, 0.15);
    color: #4b5563; padding: 8px 16px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default; user-select: none;
    animation: chipPopIn 0.3s ease-out backwards;
}
.filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.4);
    color: #0d6efd;
}
.filter-chip i {
    margin-left: 10px; font-size: 1.1rem;
    color: #9ca3af; transition: all 0.2s ease;
    padding: 4px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.filter-chip i:hover {
    color: #ef4444; background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}
@keyframes chipPopIn {
    0% { opacity: 0; transform: scale(0.8) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 576px) {
    #activeChips { gap: 8px; margin-bottom: 20px; }
    .filter-chip { padding: 6px 12px; font-size: 0.85rem; }
    .filter-chip i { margin-left: 6px; font-size: 1rem; }
}

/* ================================================= */
/* === FILTERS: SIDEBAR PANEL (MODERN GLASS) ===    */
/* ================================================= */

/* 1. Container */
#filtersPanel.offcanvas {
    background: rgba(255, 255, 255, 0.94); 
    backdrop-filter: blur(12px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}
@media (min-width: 576px) {
    #filtersPanel.offcanvas-end {
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
        margin: 10px 10px 10px 0;
        height: calc(100% - 20px);
    }
}

/* 2. Header */
#filtersPanel .offcanvas-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
#filtersLabel {
    font-size: 1.4rem;
    background: linear-gradient(90deg, #0f172a, #0d6efd);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 3. Body */
#filtersPanel .offcanvas-body {
    padding: 24px 28px;
    scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
}

/* 4. Subscriptions Block */
#filtersPanel .bg-light.rounded-3 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    border: 1px solid rgba(13, 110, 253, 0.1) !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.05);
    transition: transform 0.2s ease;
}
#filtersPanel .bg-light.rounded-3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.1);
}

/* 5. Checkboxes */
.form-check { padding-left: 2em; margin-bottom: 0.5rem; min-height: 1.8rem; }
.form-check-input {
    width: 1.4em; height: 1.4em; margin-left: -2em;
    border: 2px solid #cbd5e1; border-radius: 6px;
    background-color: #fff; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.form-check-input:hover { border-color: #0d6efd; background-color: #f8fbff; }
.form-check-input:checked {
    background-color: #0d6efd; border-color: #0d6efd;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3); transform: scale(1.05);
}
.form-check-label { cursor: pointer; font-weight: 600; color: #4b5563; padding-top: 2px; transition: color 0.2s; }
.form-check-input:checked + .form-check-label { color: #0d6efd; }

/* 6. Selects */
.form-select.filter {
    padding: 12px 16px; border-radius: 12px;
    border: 1px solid #dee2e6; background-color: #f8f9fa;
    font-weight: 600; color: #334155;
    cursor: pointer; box-shadow: none; transition: all 0.2s ease;
}
.form-select.filter:hover, .form-select.filter:focus {
    background-color: #fff; border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 7. Group Labels */
#filtersPanel .form-label.fw-bold {
    font-size: 0.95rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: #94a3b8;
    margin-bottom: 12px; display: block;
}

/* 8. Buttons */
#applyFilters {
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    border: none; padding: 12px; border-radius: 12px;
    font-weight: 800; letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transition: all 0.2s ease;
}
#applyFilters:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(13, 110, 253, 0.35); }
#resetFilters {
    border: 2px solid #e2e8f0; color: #64748b;
    font-weight: 700; border-radius: 12px; padding: 12px;
}
#resetFilters:hover { background: #f1f5f9; border-color: #cbd5e1; color: #0f172a; }


/* REVIEWS */
#reviews { scroll-margin-top: 90px; }
.reviews-wrap { position: relative; }
.reviews-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.reviews-title { font-weight: 900; letter-spacing: .2px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.reviews-sub { color: #e0eAFC; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.review-card {
    background: #fff; border-radius: 16px; padding: 18px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 8px 26px rgba(2, 6, 23, .06);
    height: 100%; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.review-card::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; background: conic-gradient(from 180deg, rgba(13, 110, 253, .25), rgba(138, 99, 255, .25), rgba(6, 182, 212, .25), rgba(13, 110, 253, .25)); filter: blur(22px); opacity: .08; z-index: -1; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, #0d6efd, #6f42c1); flex-shrink: 0; }
.name { font-weight: 800; }
.meta { font-size: .85rem; color: #64748b; }
.quote { color: #334155; }
.badge-verify { font-size: .75rem; color: #0ea5e9; background: #e0f2fe; border-radius: 999px; padding: 2px 8px; font-weight: 800; }
.reviews-pages .reviews-page { transition: opacity .2s ease; }
.reviews-pages .reviews-page.d-none { opacity: 0; }
.reviews-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.pager-btn {
    width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
    border: 1px solid transparent; background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(13, 110, 253, .9), rgba(138, 99, 255, .9)) border-box;
    box-shadow: 0 6px 14px rgba(13, 110, 253, .10); transition: transform .12s ease, box-shadow .18s ease, background .2s ease;
}
.pager-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(13, 110, 253, .18); }
.pager-btn:active { transform: translateY(0); }
.pager-btn svg { width: 22px; height: 22px; display: block; }
.pager-indicator { display: flex; align-items: center; gap: 8px; }
.pager-indicator .dot.active { background: linear-gradient(135deg, #0d6efd, #6f42c1); }
.pager-indicator .dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; }
footer { background: #fff; border-top: 1px solid rgba(0, 0, 0, .05); }
.footer-bottom { background: #f7f9fc; border-top: 1px solid rgba(0, 0, 0, .06); font-size: .9rem; }

/* MODALS (GENERAL) */
.modal-backdrop.show { backdrop-filter: blur(4px) saturate(120%); background-color: rgba(13, 22, 41, 0.75); }
.btn-modal-close {
    width: 42px; height: 42px; display: grid; place-items: center; border: none; border-radius: 12px;
    color: #fff; background: linear-gradient(135deg, #0d6efd, #8a63ff); box-shadow: 0 8px 22px rgba(13, 110, 253, .25);
}
.btn-modal-close.red { background: linear-gradient(135deg, #ff4d4d, #e90000); box-shadow: 0 8px 22px rgba(233, 0, 0, .3); }
.btn-modal-close:hover { filter: brightness(1.05); }
.btn-modal-close:active { transform: translateY(1px); }
.btn-modal-xcolor {
    border: none; color: #fff; font-weight: 800; border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #8a63ff); box-shadow: 0 8px 22px rgba(13, 110, 253, .25); padding: .6rem 1rem;
}

/* GAME MODAL */
#gameModal .modal-dialog { max-width: 1120px; }
#gameModal .modal-content {
    border-radius: 24px; overflow: hidden; border: 1px solid rgba(13, 110, 253, .12);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%); box-shadow: 0 24px 60px rgba(2, 6, 23, .18);
}
#gameModal .modal-header { justify-content: space-between; border-bottom: none; padding: 22px 26px; gap: 12px; }
#gameModal .modal-title { font-weight: 900; letter-spacing: .2px; }
#gmBadges .subscription-badge { position: static; }
.gm-cover-wrap {
    width: 100%; max-width: 420px; aspect-ratio: 1/1; background: #f4f6f9; border-radius: 16px;
    overflow: hidden; margin-inline: auto; box-shadow: 0 8px 26px rgba(2, 6, 23, .06);
}
.gm-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px; }
.gm-thumb { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #eef2f7; }
.gm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm-thumb.active { border-color: var(--brand-1); }
#gmThumbs { display: none !important; }

/* Game Modal Buttons */
.btn-youtube, .btn-gameplay, .btn-psplus {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; font-weight: 900; letter-spacing: .2px;
    padding: 14px 16px; border-radius: 12px; border: none; color: #fff;
    transition: filter .2s, transform .1s;
}
.btn-youtube { background: linear-gradient(180deg, #ff4d4d, #e90000); box-shadow: 0 10px 26px rgba(255, 0, 0, .25); }
.btn-youtube i { font-size: 34px; line-height: 1; margin-right: 10px; }
.btn-gameplay { background: linear-gradient(180deg, #ff9a3d, #ff5e00); box-shadow: 0 10px 26px rgba(255, 149, 0, .25); }
.btn-gameplay i { font-size: 28px; line-height: 1; margin-right: 10px; }
.btn-psplus { background: linear-gradient(180deg, #ffd84d, #ffcc00); box-shadow: 0 10px 26px rgba(255, 204, 0, .25); color: #1a1a1a; }
.btn-psplus .psplus-img { height: 36px; width: auto; margin-right: 10px; }
.btn-youtube:hover, .btn-gameplay:hover, .btn-psplus:hover { filter: brightness(1.02); }
.btn-youtube:active, .btn-gameplay:active, .btn-psplus:active { transform: translateY(1px); }

.gm-meta li { margin-bottom: .35rem; }
.gm-meta strong { font-weight: 800; }

@media (max-width: 576px) {
    #gameModal .modal-header { position: relative; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding-right: 60px; }
    #gmTitle { order: 1; width: 100%; margin-bottom: 0; }
    #gmBadges { order: 2; width: 100%; margin-left: 0 !important; margin-top: 2px; }
    #gameModal .modal-header .btn-modal-close { position: absolute; top: 8px; right: 12px; order: unset; margin: 0; }
    .gm-cover-wrap { max-width: 100%; }
}

/* TRAILER MODAL */
#trailerModal .modal-dialog { max-width: 980px; }
#trailerModal .modal-content { border-radius: 18px; overflow: hidden; }
.tr-player-wrap { position: relative; background: #000; border-radius: 0; overflow: hidden; }
.tr-controls { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(0, 0, 0, .75); color: #fff; }
.tr-btn {
    width: 44px; height: 44px; display: grid; place-items: center; border: none; border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #8a63ff); color: #fff; box-shadow: 0 8px 22px rgba(13, 110, 253, .25);
}
.tr-btn:hover { filter: brightness(1.05); }
.tr-time { font-variant-numeric: tabular-nums; }
.tr-seek { flex: 1; }
.tr-seek input[type="range"] { width: 100%; }

/* CHECKOUT MODAL */
.checkout-modal .modal-content { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 18px; }
.checkout-modal .modal-header { border-bottom: 1px solid #dee2e6; padding: 20px 22px; }
.checkout-modal .modal-title { font-weight: 900; font-size: 1.35rem; }
.checkout-modal .modal-body { padding: 0 22px 10px; font-size: 1.05rem; }
.checkout-modal .modal-footer { border-top: 1px solid #dee2e6; padding: 16px 22px 22px; justify-content: center; gap: .75rem; }
.checkout-modal .modal-footer #submitBtn {
    background-color: #198754; border-color: #157347; font-size: 1.1rem; padding: 10px 24px; font-weight: 800; color: #fff;
}
.checkout-modal .modal-footer #submitBtn:hover { background-color: #157347; color: #fff; }
.checkout-modal #submitBtnText::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f09d"; margin-right: 0.6rem; }
@media (max-width: 576px) {
    .checkout-modal .modal-footer { flex-direction: column-reverse; }
    .checkout-modal .modal-footer .btn { width: 100%; }
    .checkout-modal .modal-footer #submitBtn { font-size: 1.15rem; padding: 14px; }
}

.summary { background: #fff; border: 1px solid #dee2e6; border-radius: 14px; padding: 14px 16px; margin-top: 12px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; margin: .25rem 0; }
.summary .label { color: #6c757d; font-weight: 700; }
.summary .value { font-weight: 800; }

.center-pills { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 14px 0 6px; }
.pill { display: flex; align-items: center; gap: .5rem; justify-content: center; border: 1px solid #dee2e6; background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 900; transition: all .3s ease-in-out; }
.pill.shake { border-color: #ffc107; }
.pill .copy-btn {
    background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.1); color: #343a40;
    width: 40px; height: 40px; border-radius: 10px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.2s ease;
}
.pill .copy-btn:hover { background: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.15); }
.pill .copy-btn .fa-check { color: #198754; }
@keyframes shakeX { from, to { transform: translateZ(0); } 20%, 60% { transform: translate3d(-6px, 0, 0); } 40%, 80% { transform: translate3d(6px, 0, 0); } }
.shake { animation: shakeX .5s ease-in-out 1; }

.form-control.is-valid { border-color: #198754 !important; }
.form-control.is-invalid { border-color: #dc3545 !important; }
.form-control::placeholder { color: #6c757d !important; }
#coTierOptions.is-invalid { border: 1px solid #dc3545; border-radius: .375rem; box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25); }

/* PLATFORM CHOICE MODAL */
#platformModal .modal-dialog { max-width: 920px; }
#platformModal .modal-content {
    border-radius: 24px; overflow: hidden; border: 1px solid rgba(13, 110, 253, .18);
    background: radial-gradient(1200px 280px at 50% -60%, rgba(13, 110, 253, .16), transparent 70%), linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
    box-shadow: 0 24px 60px rgba(2, 6, 23, .22), 0 0 0 6px rgba(13, 110, 253, .03) inset; position: relative; isolation: isolate;
}
#platformModal .modal-content::after {
    content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
    background: conic-gradient(from 180deg, #0d6efd, #8a63ff, #06b6d4, #0d6efd); filter: blur(14px); opacity: .18;
}
#platformModal .modal-header { justify-content: center; border-bottom: none; padding-top: 28px; padding-bottom: 0; }
#platformModal .modal-title {
    width: 100%; text-align: center; font-weight: 900; letter-spacing: .2px; font-size: clamp(22px, 2.6vw, 30px);
    background: linear-gradient(90deg, #0b1220, #0d6efd 45%, #8a63ff 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal-hero { position: relative; margin: 12px auto 8px; max-width: 720px; }
.modal-hero .glow {
    position: absolute; inset: -10% -6%; z-index: 0; filter: blur(28px); opacity: .55;
    background: radial-gradient(420px 180px at 25% 40%, rgba(13, 110, 253, .22), transparent 60%), radial-gradient(420px 180px at 80% 60%, rgba(138, 99, 255, .22), transparent 60%);
    border-radius: 32px;
}
.modal-hero img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(2, 6, 23, .28)); }
#platformModal .modal-body { padding: 10px 28px 34px; }
.choice-row { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.choice-btn {
    display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%;
    border: none; border-radius: 18px; padding: 30px 26px; font-weight: 900; line-height: 1.1; font-size: clamp(22px, 2.4vw, 30px);
    transition: transform .12s ease, box-shadow .18s ease, filter .18s ease; position: relative; overflow: hidden;
}
.choice-btn:active { transform: translateY(1px); }
.choice-ps4 { color: #fff; background: linear-gradient(135deg, #0b1220, #1f2937); box-shadow: 0 18px 36px rgba(2, 6, 23, .35), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.choice-ps4:hover { box-shadow: 0 24px 46px rgba(2, 6, 23, .45), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.choice-ps5 { color: #fff; background: linear-gradient(135deg, #0d6efd, #6f42c1); box-shadow: 0 18px 36px rgba(13, 110, 253, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.choice-ps5:hover { box-shadow: 0 24px 48px rgba(13, 110, 253, .36), inset 0 0 0 1px rgba(255, 255, 255, .10); }

/* CRYSTAL ANIMATION */
.crystal-horizon { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at center, #5c6cac 0%, #3a3a61 60%, #211e3b 100%); }
.crystal-horizon::after { content: ''; position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.3); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
body.modal-open .crystal-horizon::after { opacity: 1; }
.crystal-horizon .crystal-layer { position: absolute; inset: -15%; will-change: transform; transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1); }
.crystal-horizon .crystal { position: absolute; opacity: 0.2; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 45px rgba(255, 255, 255, 0.2)); animation: breathing-glow 8s ease-in-out infinite alternate; }
.crystal-horizon .crystal svg { width: 100%; height: 100%; }
@keyframes breathing-glow {
    from { opacity: 0.15; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 45px rgba(255, 255, 255, 0.2)); }
    to { opacity: 0.3; filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 65px rgba(255, 255, 255, 0.3)); }
}
@media (prefers-reduced-motion: reduce) { .crystal-horizon .crystal-layer, .crystal-horizon .crystal { transition: none !important; animation: none !important; } }

/* BACK TO TOP */
.back-to-top-btn {
    position: fixed; bottom: 20px; right: 20px; z-index: 1050; width: 50px; height: 50px; background-color: #198754; color: #fff;
    border-radius: 50%; display: none; justify-content: center; align-items: center; font-size: 1.2rem; text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0;
}
.back-to-top-btn.show { display: flex; opacity: 1; }
.back-to-top-btn:hover { background-color: #157347; transform: translateY(-3px); color: #fff; }

/* POPOVER STYLES */
.popover { max-width: 380px; border-radius: 12px; box-shadow: 0 8px 25px rgba(0, 0, 0, .15); border-color: rgba(0, 0, 0, .1); font-size: 0.95rem; }
.popover-header { background-color: #f8f9fa; font-weight: 800; border-bottom-color: rgba(0, 0, 0, .08); }
.popover-body ul { padding-left: 1.2rem; margin-bottom: 0; }
.popover-body hr { opacity: .15; }
.popover-body strong { font-weight: 800; }

/* VISUALLY HIDDEN */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* === НОВЫЙ СТИЛЬ ДЛЯ ДАТЫ ПОДПИСКИ (КОМПАКТНЫЙ, ПОДНЯТЫЙ) === */
.game-card .info-block .info-row .subscription-expire {
    /* Layout */
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 4px 8px !important;
    margin-top: 0 !important; /* Убран отступ сверху, чтобы "поднять" */
    margin-bottom: 0 !important; /* Убран отступ снизу */
    box-sizing: border-box !important;
    
    /* Typography */
    font-size: 0.8rem !important; /* Ещё меньше (было 0.85rem) */
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    
    /* Colors & Style */
    background: #f0f8ff !important;
    color: #0d6efd !important;
    border: 1px solid rgba(13, 110, 253, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.05) !important;
    
    /* Height to match info-row icons */
    height: 100% !important;
    max-height: 100% !important;
}

.game-card .info-block .info-row .subscription-expire i {
    font-size: 0.95rem !important;
    margin-right: 6px !important;
    color: #0d6efd !important;
    vertical-align: middle !important;
}