:root {
    --bg-base: #0b0e14;
    --bg-surface: #131722;
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    --text-main: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #8292a6;
    
    --color-orange: #ff793a;
    --color-green: #10b981;
    --color-gold: #ffbe00;
    --color-blue: #0094e9;
    
    --gradient-cta: linear-gradient(90deg, #ff4148 0%, #ff793a 100%);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { 
    scrollbar-gutter: stable; 
    scroll-behavior: smooth; 
    overflow-x: hidden;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background-color: var(--bg-base); 
    color: var(--text-main); 
    line-height: 1.5; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    overflow-x: hidden;
}

a { 
    color: var(--color-blue); 
    text-decoration: none; 
    transition: color 0.15s ease; 
}

a:hover { 
    color: #38bdf8; 
}

button { 
    font-family: inherit; 
    cursor: pointer; 
}

button:focus-visible, 
input:focus-visible, 
a:focus-visible { 
    outline: 2px solid var(--color-gold); 
    outline-offset: 2px; 
}

.container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ================= 1. ШАПКА ================= */
.site-header {
    background: rgba(19, 23, 34, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.site-header .logo {
    font-family: 'Play', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.site-header .logo span {
    color: var(--color-gold);
}

.search-form {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-form input {
    width: 100%;
    height: 42px;
    background: #090c12;
    border: 1px solid rgba(255, 190, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 0 16px 0 42px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-form input:focus {
    border-color: var(--color-gold);
    background: #0e121a;
}

.search-form svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    fill: var(--text-muted);
    pointer-events: none;
}

.site-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.site-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-nav a:hover {
    color: #fff;
}

/* ================= 2. HERO И БЭКГРАУНД ================= */
.hero-banner {
    position: relative;
    padding: 24px 0 50px;
    overflow: hidden;
}

.hero-banner__ambient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 520px;
    background: radial-gradient(circle at 70% 30%, rgba(30, 68, 115, 0.4) 0%, rgba(11, 14, 20, 0.95) 70%, var(--bg-base) 100%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-banner__content {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 13px;
    color: #556579;
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: #6b7c93;
}

.breadcrumbs a:hover {
    color: #9cb1c9;
}

.breadcrumbs span {
    color: #8596ab;
}

.game-header {
    margin-bottom: 24px;
}

.game-title {
    font-family: 'Play', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.game-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge-pill--rating {
    background: rgba(255, 190, 0, 0.12);
    border-color: rgba(255, 190, 0, 0.3);
    color: var(--color-gold);
    font-weight: 700;
}

.badge-pill--delivery {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--color-green);
    font-weight: 600;
}

/* ================= 3. СЕТКА СТРАНИЦЫ ================= */
.page-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-height: 780px) and (min-width: 993px) {
    .left-col {
        position: sticky;
        top: 90px;
    }
}

.poster-card {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-subtle);
    background: #000;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    font-size: 13px;
}

.info-panel__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

.info-key {
    color: var(--text-muted);
}

.info-val {
    color: #fff;
    font-weight: 500;
    text-align: right;
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ================= 4. БЛОК ПОКУПКИ ================= */
.buy-box {
    background: linear-gradient(145deg, #171c26 0%, #11141c 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.status-online {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-green);
    font-weight: 600;
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.region-tag {
    color: var(--text-secondary);
}

.subhead-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.editions-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.edition-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
    color: var(--text-secondary);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.edition-btn:hover:not(:disabled) {
    border-color: rgba(255, 190, 0, 0.4);
    color: #fff;
}

.edition-btn--active {
    border-color: var(--color-gold) !important;
    background: rgba(255, 190, 0, 0.08) !important;
    color: #fff !important;
}

/* Заблюренные цены для распроданных изданий */
.edition-btn--disabled,
.edition-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

.edition-btn--disabled .edition-btn__price,
.edition-btn:disabled .edition-btn__price {
    filter: blur(4px);
    opacity: 0.35;
    user-select: none;
    text-decoration: line-through;
    color: #94a3b8;
}

.edition-btn__status {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-orange);
    background: rgba(255, 121, 58, 0.12);
    border: 1px solid rgba(255, 121, 58, 0.25);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    text-transform: none;
}

.edition-btn__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.edition-btn__price {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.edition-perks {
    font-size: 12px;
    color: var(--color-gold);
    background: rgba(255, 190, 0, 0.06);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(255, 190, 0, 0.3);
}

.price-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Восстановленная плашка скидки с ярким градиентным текстом */
.discount-badge {
    font-family: 'Play', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    padding: 0 20px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #0094e8 0%, #01b59a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #0094e8 0%, #01b59a 100%) 1;
    user-select: none;
}

.price-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-meta__old {
    font-size: 15px;
    color: var(--color-orange);
    text-decoration: line-through;
    font-weight: 600;
    margin-bottom: 2px;
}

.price-meta__main {
    font-family: 'Play', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.btn-buy-primary {
    height: 60px;
    padding: 0 42px;
    background: var(--gradient-cta);
    color: #fff;
    font-family: 'Play', sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(255, 65, 72, 0.35);
    transition: filter 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-buy-primary:hover {
    color: #fff;
    filter: brightness(1.1);
    box-shadow: 0 8px 24px rgba(255, 65, 72, 0.45);
}

.btn-buy-primary:active {
    transform: scale(0.98);
}

.btn-buy-primary--mobile {
    height: 44px;
    padding: 0 24px;
    font-size: 15px;
}

.cart-sub-actions {
    display: flex;
    gap: 12px;
    margin-top: -6px;
}

.cart-sub-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.cart-sub-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
}

.cart-sub-btn svg {
    fill: currentColor;
    flex-shrink: 0;
}

.cart-sub-btn--fee {
    color: var(--color-green);
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.06);
    cursor: default;
}

/* Статичный бейдж не реагирует на наведение */
.cart-sub-btn--fee:hover {
    color: var(--color-green);
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.06);
}

.promo-terms-note {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: -6px;
}

.promo-terms-note a {
    color: var(--text-secondary);
    text-decoration: underline dotted;
}

.promo-terms-note a:hover {
    color: #fff;
}

.payment-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-icons span {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

/* ================= 5. ГАЛЕРЕЯ ================= */
.card-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.card-box__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.gallery-viewport {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #090c12;
    margin-bottom: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.gallery-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.25s var(--ease-out);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-thumb {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    background: #000;
    padding: 0;
    display: block;
}

.gallery-thumb:hover {
    opacity: 0.85;
    border-color: rgba(255, 190, 0, 0.4);
}

.gallery-thumb--active {
    opacity: 1 !important;
    border-color: var(--color-gold) !important;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= 6. ОПИСАНИЕ ИГРЫ ================= */
.game-desc-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.game-desc-content p {
    margin-bottom: 14px;
}

.game-desc-content h3 {
    font-family: 'Play', sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 22px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-desc-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0 20px;
}

.game-desc-feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.game-desc-feature-item strong {
    display: block;
    color: var(--color-gold);
    font-size: 13px;
    margin-bottom: 4px;
}

.game-desc-final-notice {
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(0, 148, 233, 0.08);
    border-left: 3px solid var(--color-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 500;
}

/* ================= 7. СИСТЕМНЫЕ ТРЕБОВАНИЯ ================= */
.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.req-col__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.req-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.req-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-key {
    color: var(--text-muted);
    width: 35%;
}

.req-val {
    color: var(--text-main);
}

/* ================= 8. ОТЗЫВЫ STEAM ================= */
.reviews-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
}

.rating-summary-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid var(--border-subtle);
}

.score-number {
    font-family: 'Play', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 4px;
}

.score-stars {
    color: var(--color-gold);
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 6px;
}

.score-recom {
    font-size: 12px;
    color: var(--color-green);
    font-weight: 600;
}

.score-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.histogram-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.hist-label {
    width: 24px;
    color: var(--text-muted);
    font-weight: 600;
}

.hist-bar-bg {
    flex: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.hist-bar-fill {
    height: 100%;
    background: var(--color-gold);
    border-radius: 4px;
}

.hist-pct {
    width: 30px;
    text-align: right;
    color: var(--text-muted);
}

.ai-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 20px;
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ai-summary-header svg {
    fill: var(--color-gold);
}

.ai-summary-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.ai-tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 190, 0, 0.08);
    border: 1px solid rgba(255, 190, 0, 0.25);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--color-gold);
    font-weight: 600;
    user-select: none;
}

.reviews-policy {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 148, 233, 0.08);
    border: 1px solid rgba(0, 148, 233, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #93c5fd;
    margin-bottom: 20px;
    line-height: 1.4;
}

.reviews-policy svg {
    flex-shrink: 0;
    fill: var(--color-blue);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.review-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    font-size: 10px;
    color: var(--color-green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.review-date {
    color: var(--text-muted);
    font-size: 11px;
}

.review-edition-badge {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.review-stars {
    color: var(--color-gold);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.review-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

.review-helpful-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.review-helpful-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.review-helpful-btn--active {
    color: var(--color-green) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

/* ================= 9. БАННЕР СКИДКИ ================= */
.promo-banner {
    margin: 40px 0 20px;
    position: relative;
    background: linear-gradient(135deg, #181e2b 0%, #10141d 100%);
    border: 1px solid rgba(255, 190, 0, 0.35);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 190, 0, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.promo-banner__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.promo-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 190, 0, 0.12);
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 190, 0, 0.25);
    margin-bottom: 10px;
}

.promo-banner__title {
    font-family: 'Play', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.promo-banner__subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    max-width: 500px;
    line-height: 1.5;
}

.promo-ticket {
    display: inline-flex;
    align-items: center;
    background: #090c12;
    border: 1.5px dashed var(--color-gold);
    border-radius: var(--radius-md);
    padding: 6px 8px 6px 16px;
    gap: 14px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.promo-code-val {
    font-family: 'Play', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.promo-copy-btn {
    background: var(--color-gold);
    color: #0b0e14;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 18px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s ease, transform 0.1s ease;
}

.promo-copy-btn:hover {
    background: #ffd043;
}

.promo-copy-btn:active {
    transform: scale(0.97);
}

.promo-copy-btn--copied {
    background: #ffd54f !important;
    color: #0b0e14 !important;
    box-shadow: 0 0 12px rgba(255, 190, 0, 0.45);
}

.promo-banner__value-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 18px 26px;
    border-radius: var(--radius-md);
    min-width: 200px;
}

.promo-val-num {
    font-family: 'Play', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.promo-val-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* ================= 10. ПОХОЖИЕ ИГРЫ ================= */
.similar-section {
    margin-top: 40px;
}

.similar-title {
    font-family: 'Play', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.game-card:hover {
    border-color: rgba(255, 190, 0, 0.4);
    transform: translateY(-2px);
}

.game-card__cover {
    width: 100%;
    aspect-ratio: 460 / 215;
    background: #000;
    position: relative;
    overflow: hidden;
}

.game-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card__discount {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gradient-cta);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.game-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
}

.game-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}

.game-card__footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.game-card__old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.game-card__price {
    font-family: 'Play', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-orange);
}

/* ================= 11. EXIT-INTENT МОДАЛЬНОЕ ОКНО ================= */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.exit-modal-overlay--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.exit-modal {
    background: linear-gradient(145deg, #171c26 0%, #0d1017 100%);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 36px 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 190, 0, 0.15);
    position: relative;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.25s var(--ease-out);
}

.exit-modal-overlay--active .exit-modal {
    transform: scale(1);
}

.exit-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    padding: 4px;
    cursor: pointer;
    transition: color 0.15s;
    outline: none !important;
}

.exit-modal__close:hover {
    color: #fff;
}

.exit-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 190, 0, 0.15);
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 190, 0, 0.35);
}

.exit-modal__title {
    font-family: 'Play', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.exit-modal__subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.5;
}

.exit-modal__promo-card {
    background: #090c12;
    border: 1.5px dashed var(--color-gold);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.exit-modal__code-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.exit-modal__code-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.exit-modal__code {
    font-family: 'Play', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    line-height: 1.1;
}

.exit-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exit-modal__apply-btn {
    width: 100%;
    height: 52px;
    font-size: 16px;
}

.exit-modal__dismiss-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s;
}

.exit-modal__dismiss-btn:hover {
    color: #fff;
}

/* ================= 12. ФУТЕР ================= */
.site-footer {
    background: #090c12;
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0 24px;
    margin-top: 60px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s var(--ease-out);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.25s var(--ease-out);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-nav a:hover::after {
    width: 100%;
}

/* ================= 13. ПОЛНАЯ АДАПТИВНОСТЬ ================= */
.mobile-bar {
    display: none;
}

.mobile-bar__label {
    font-size: 11px;
    color: var(--text-muted);
}

/* Планшеты (641px - 992px) */
@media (min-width: 641px) and (max-width: 992px) {
    .left-col {
        max-width: 100%;
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 20px;
        align-items: start;
    }
    .poster-card {
        max-width: 260px;
    }
}

/* Планшеты и мобильные (<= 992px) */
@media (max-width: 992px) {
    .site-footer {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    }

    .page-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .req-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-nav {
        display: none;
    }

    .mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(19, 23, 34, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px)) 20px;
        justify-content: space-between;
        align-items: center;
        z-index: 999;
        transform: translateY(100%);
        transition: transform 0.25s ease;
    }

    .mobile-bar--visible {
        transform: translateY(0);
    }

    .mobile-bar__price {
        font-family: 'Play', sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #fff;
    }

    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .promo-banner__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .promo-banner__value-box {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .reviews-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rating-summary-col {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-right: 0;
        padding-bottom: 16px;
    }
}

/* 1 колонка изданий на <= 768px */
@media (max-width: 768px) {
    .editions-group {
        grid-template-columns: 1fr;
    }
}

/* Смартфоны (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .left-col {
        max-width: 280px;
        margin: 0 auto;
    }

    .game-title {
        font-size: 24px;
    }

    .price-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-buy-primary {
        width: 100%;
    }

    .price-container {
        justify-content: space-between;
    }

    .cart-sub-actions {
        flex-direction: column;
    }

    .review-header-row {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .review-edition-badge {
        white-space: normal;
        word-break: break-word;
    }
}

/* Узкие экраны (<= 480px) */
@media (max-width: 480px) {
    .site-header__row {
        gap: 12px;
    }

    .site-header .logo {
        font-size: 22px;
    }

    .similar-grid {
        gap: 10px;
    }

    .game-card__body {
        padding: 10px;
    }

    .exit-modal {
        padding: 28px 18px;
    }

    .exit-modal__title {
        font-size: 22px;
    }

    .exit-modal__code {
        font-size: 22px;
    }

    .promo-banner {
        padding: 24px 20px;
    }

    .promo-ticket {
        width: 100%;
        justify-content: space-between;
    }
}