* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --bg: #000000;
    --bg-elevated: #050505;
    --surface: #0a0a0a;
    --card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --text: #ffffff;
    --muted: #a1a1a6;
    --accent: #8b5cf6;
    --accent-2: #2dd4bf;
    --accent-warm: #fbbf24;
    --accent-green: #34d399;
    --accent-rose: #fb7185;
    --accent-dim: rgba(139, 92, 246, 0.14);
    --accent-border: rgba(139, 92, 246, 0.42);
    --accent-soft: rgba(139, 92, 246, 0.12);
    --glow: rgba(139, 92, 246, 0.28);
    --glow-cyan: rgba(45, 212, 191, 0.18);
    --youtube: #ff0033;
    --twitch: #9146ff;
    --steam: #66c0f4;
    --radius: 16px;
    --radius-lg: 22px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.78), 0 0 60px rgba(139, 92, 246, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.12);
    --chip-radius: 10px;
    --chip-bg: rgba(22, 22, 28, 0.92);
    --chip-border: rgba(255, 255, 255, 0.14);
    --chip-text: #dddde4;
    --chip-text-muted: #9b9ba8;
    --chip-hover-bg: rgba(139, 92, 246, 0.18);
    --chip-hover-border: rgba(167, 139, 250, 0.55);
    --chip-active-bg: #7c3aed;
    --chip-active-border: #a78bfa;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(139, 92, 246, 0.14), transparent 50%),
        radial-gradient(ellipse 50% 40% at 95% 15%, rgba(45, 212, 191, 0.08), transparent 45%),
        radial-gradient(ellipse 45% 35% at 5% 85%, rgba(139, 92, 246, 0.07), transparent 42%),
        #000000;
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px, 80px 80px, 80px 80px;
    mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, black 8%, transparent 72%);
}

.bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
    background:
        conic-gradient(from 0deg at 50% 0%, rgba(139, 92, 246, 0.06), transparent 25%, rgba(45, 212, 191, 0.05), transparent 50%, rgba(139, 92, 246, 0.04), transparent 75%),
        radial-gradient(ellipse 55% 40% at 50% 0%, rgba(139, 92, 246, 0.1), transparent 58%),
        radial-gradient(circle at 88% 75%, rgba(45, 212, 191, 0.07), transparent 42%);
    animation: bgGlowDrift 20s ease-in-out infinite alternate, meshSpin 40s linear infinite;
}

.bg-glow::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 12% 65%, rgba(255, 255, 255, 0.03), transparent 32%);
    animation: bgGlowDrift2 28s ease-in-out infinite alternate;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-bottom: none;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.55) 30%, rgba(45, 212, 191, 0.4) 70%, transparent 100%);
    pointer-events: none;
}

.site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem 0.65rem;
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
    min-width: 0;
}

@media (min-width: 769px) {
    .site-header__bar {
        flex-wrap: nowrap;
    }
}

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

.site-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    padding: 0.15rem 0.15rem 0.15rem 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}

@media (min-width: 769px) {
    .site-search {
        flex: 0 1 19.5rem;
        max-width: 19.5rem;
    }

    .logo {
        flex-shrink: 0;
    }
}

.site-search__lead {
    display: none;
    flex-shrink: 0;
    color: var(--muted);
    line-height: 0;
}

.site-search:focus-within {
    border-color: var(--accent-border);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px var(--accent-dim), 0 0 36px rgba(139, 92, 246, 0.18);
}

.site-search__input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.55rem;
    font: inherit;
    font-size: 0.88rem;
    color: var(--text);
    background: transparent;
    border: none;
    border-radius: 999px;
    transition: background 0.25s;
}

@media (min-width: 769px) {
    .site-search__input {
        padding: 0.48rem 0.35rem 0.48rem 0;
        font-size: 0.84rem;
    }
}

.site-search__input::placeholder {
    color: var(--muted);
}

.site-search__input:focus {
    outline: none;
    box-shadow: none;
}

.site-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 45%, #8b5cf6 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.site-search__icon {
    flex-shrink: 0;
}

.site-search__btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 28px rgba(167, 139, 250, 0.45);
    transform: translateY(-1px);
}

.site-search__btn:active {
    transform: scale(0.97);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.92;
}

.logo__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}

.logo__name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.04em;
}

.logo__tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem 1.1rem;
    overflow: visible;
    padding-bottom: 2px;
}

.site-nav a,
.site-nav-drop__label {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s;
}

.site-nav a {
    position: relative;
    padding-bottom: 0.2rem;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 10px var(--glow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out);
}

.site-nav a:hover,
.site-nav-drop:hover .site-nav-drop__label,
.site-nav-drop:focus-within .site-nav-drop__label {
    color: var(--text);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

@media (min-width: 769px) {
    .site-nav {
        padding: 0.3rem 0.5rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        backdrop-filter: blur(16px);
        gap: 0.1rem 0.2rem;
    }

    .site-nav a {
        padding: 0.4rem 0.8rem;
        border-radius: 999px;
        transition: color 0.2s, background 0.25s var(--ease-out);
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover {
        background: rgba(255, 255, 255, 0.09);
        color: var(--text);
    }

    .site-nav-drop__label {
        padding: 0.4rem 0.65rem;
        border-radius: 999px;
        transition: color 0.2s, background 0.25s;
    }

    .site-nav-drop:hover .site-nav-drop__label {
        background: rgba(255, 255, 255, 0.09);
    }
}

.site-nav-drop {
    position: relative;
    flex-shrink: 0;
}

.site-nav-drop__label {
    display: inline-block;
    cursor: default;
    padding: 0.15rem 0;
}

.site-nav-drop__label::after {
    content: "▾";
    margin-left: 0.2rem;
    font-size: 0.75em;
    opacity: 0.75;
}

.site-nav-drop__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    min-width: 11.5rem;
    padding: 0.35rem;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.site-nav-drop__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.45rem;
    height: 0.45rem;
}

@media (hover: hover) and (pointer: fine) {
    .site-nav-drop:hover .site-nav-drop__panel,
    .site-nav-drop:focus-within .site-nav-drop__panel {
        display: flex;
    }
}

.site-nav-drop__panel a {
    padding: 0.45rem 0.65rem;
    border-radius: 7px;
    font-size: 0.86rem;
}

.site-nav-drop__panel a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.site-nav-drop__group {
    display: block;
    padding: 0.45rem 0.65rem 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
}

.site-nav-drop__group:not(:first-child) {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-nav__mob-only {
    display: none;
}

.soft-install-steps {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: var(--muted);
    line-height: 1.65;
}

.soft-install-steps li + li {
    margin-top: 0.35rem;
}

.site-main {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    min-width: 0;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 3rem;
    overflow-x: clip;
}

.search-topics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 0.75rem;
}

.search-topic {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.05rem 1.15rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.search-topic:hover {
    transform: translateY(-3px);
    border-color: var(--accent-border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
}

.search-topic strong {
    font-size: 0.92rem;
    color: var(--text);
}

.search-topic span {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.15rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding-right: 2.25rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.game-section--steam-faq {
    border-color: rgba(129, 140, 248, 0.35);
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.06), transparent 55%);
}

.game-section--steam-faq .section-badge {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.25);
}

.faq-list--steam .faq-item {
    border-color: rgba(129, 140, 248, 0.2);
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--accent);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.15rem 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Hero / stats */
.hero {
    padding: 2.5rem 0 2rem;
}

.hero__label {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.75rem;
    padding: 0.38rem 0.95rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.12);
}

.hero__label::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: labelShimmer 5s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.1rem, 6vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin-bottom: 1rem;
    max-width: 720px;
    text-wrap: balance;
    background: linear-gradient(90deg, #ffffff 0%, #e9d5ff 25%, #2dd4bf 50%, #c4b5fd 75%, #ffffff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 10s ease-in-out infinite;
}

.hero__text {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.35rem 1.45rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.08);
    transform: translateY(-3px) scale(1.01);
}

.stat-card--main {
    grid-column: span 1;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(45, 212, 191, 0.04), rgba(255, 255, 255, 0.02));
    border-color: var(--accent-border);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.12);
}

.stat-card__value {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card--main .stat-card__value {
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 45%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--muted);
}

.stat-card__link {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.stat-card__link:hover {
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.btn--outline {
    color: var(--accent);
    border: 1px solid var(--accent-border);
    background: transparent;
    box-shadow: inset 0 0 20px rgba(167, 139, 250, 0.04);
}

.btn--outline:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(167, 139, 250, 0.15);
}

/* Sections */
.section {
    margin-top: 2.5rem;
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}

.section__link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c4b5fd;
    text-decoration: none;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.1);
    box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.06);
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.section__link:hover {
    color: var(--text);
    background: var(--accent-dim);
    border-color: var(--accent);
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.18);
    transform: translateY(-1px);
    text-decoration: none;
}

.section__title,
.page-title {
    position: relative;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    padding-left: 1.05rem;
    background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section__title::before,
.page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 14px var(--glow);
}

.section__badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    color: var(--muted);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.section--muted {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--muted);
}

.page-head {
    padding-top: 1rem;
}

.page-head__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.page-head__meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.material-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.28);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

/* Cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.game-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.game-card-wrap .ad-slot:empty {
    display: none;
}

.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(16px);
    transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--gradient-angle), rgba(139, 92, 246, 0.75), rgba(45, 212, 191, 0.55), rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.75));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.game-card:has(.game-card__img)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16 / 9;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
    opacity: 0.75;
    transition: opacity 0.35s;
}

.game-card:not(:has(.game-card__img))::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--border);
}

.game-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.game-card:hover::after {
    opacity: 1;
    animation: borderSpin 4s linear infinite;
}

.game-card:hover:has(.game-card__img)::before {
    opacity: 1;
}

.game-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.game-card:hover .game-card__img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.08);
}

.game-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 9.75rem;
    padding: 1rem 1.15rem 1.2rem;
}

.game-card__type {
    display: inline-block;
    flex-shrink: 0;
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.game-card__body h2,
.game-card__body h3 {
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.3em * 2);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.game-card__body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.5em * 3);
    margin-top: auto;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--muted);
}

.game-card__body:has(.game-card__faq) p {
    -webkit-line-clamp: 2;
    min-height: calc(1.5em * 2);
}

.game-card__faq {
    margin: 0.55rem 0 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.3rem;
}

.game-card__faq-row {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.4rem;
    align-items: start;
}

.game-card__faq dt {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent);
}

.game-card__faq dd {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.game-card__body:not(:has(p))::after {
    content: '';
    display: block;
    flex-shrink: 0;
    min-height: calc(1.5em * 3);
    margin-top: auto;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.pagination__link,
.pagination__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.2s, color 0.2s;
}

.pagination__num {
    min-width: 2.25rem;
    padding: 0.5rem 0.65rem;
}

.pagination__link:hover,
.pagination__num:hover {
    color: var(--text);
    border-color: rgba(129, 140, 248, 0.4);
}

.pagination__num--current {
    color: #000000;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 45%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
    font-weight: 700;
}

.pagination__link--disabled,
.pagination__link--disabled:hover {
    opacity: 0.4;
    cursor: default;
    border-color: var(--border);
    color: var(--muted);
}

.pagination__ellipsis {
    padding: 0 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Реклама (config/ads.php) */
.ad-slot {
    margin: 1.25rem 0;
}

.ad-slot--card {
    margin: 0;
}

.ad-banner {
    padding: 1rem 1.15rem;
    background: rgba(129, 140, 248, 0.06);
    border: 1px dashed rgba(129, 140, 248, 0.35);
    border-radius: var(--radius);
    text-align: center;
}

.ad-banner--card {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
}

.ad-banner--card a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--text);
    text-decoration: none;
}

.ad-banner--card a:hover {
    color: var(--accent);
}

.ad-banner--wide {
    padding: 1.25rem 1.5rem;
    min-height: 72px;
}

.ad-banner__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.ad-slot img,
.ad-slot iframe {
    max-width: 100%;
    height: auto;
}

/* Game page */
/* Страницы игр/DLC/консоли */
.site-main--game {
    overflow-x: clip;
}

/* Слева на странице игры — такое же мягкое свечение, как справа (cyan в bg-glow) */
body.page-game .bg-glow {
    background:
        conic-gradient(from 0deg at 50% 0%, rgba(139, 92, 246, 0.06), transparent 25%, rgba(45, 212, 191, 0.05), transparent 50%, rgba(139, 92, 246, 0.04), transparent 75%),
        radial-gradient(ellipse 55% 40% at 50% 0%, rgba(139, 92, 246, 0.1), transparent 58%),
        radial-gradient(circle at 88% 75%, rgba(45, 212, 191, 0.07), transparent 42%),
        radial-gradient(circle at 6% 62%, rgba(139, 92, 246, 0.1), transparent 40%);
}

.game-page {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.game-hero {
    display: grid;
    grid-template-columns: minmax(0, min(100%, 340px)) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    overflow-x: clip;
}

.game-hero__content {
    min-width: 0;
}

/* Обложка на всю ширину колонки */
.game-hero__cover {
    position: relative;
    display: block;
    width: 100%;
    overflow-x: clip;
}

.game-hero__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 460 / 215;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.1rem;
    margin-bottom: 1rem;
    padding: 0.42rem 0.7rem 0.42rem 0.55rem;
    max-width: 100%;
    width: fit-content;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--muted);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, rgba(139, 92, 246, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 22px rgba(0, 0, 0, 0.32);
    overflow-wrap: anywhere;
}

.breadcrumbs__sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    flex-shrink: 0;
    color: rgba(139, 92, 246, 0.42);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

.breadcrumbs__sep::before {
    content: '›';
}

/* Старая разметка со слэшем до обновления кэша */
.breadcrumbs a + span:not(.breadcrumbs__current) {
    font-size: 0;
}

.breadcrumbs a + span:not(.breadcrumbs__current)::before {
    content: '›';
    font-size: 0.9rem;
}

.breadcrumbs > span:last-child:not(.breadcrumbs__sep) {
    color: #f4f4f5;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-weight: 600;
    box-shadow: inset 0 0 14px rgba(139, 92, 246, 0.1);
}

.breadcrumbs a {
    color: #b8c0cc;
    text-decoration: none;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.breadcrumbs a:hover {
    color: #f5f3ff;
    background: rgba(139, 92, 246, 0.18);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.22);
    text-decoration: none;
}

.breadcrumbs__current {
    color: #f4f4f5;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-weight: 600;
    box-shadow: inset 0 0 14px rgba(139, 92, 246, 0.1);
}

.game-hero .breadcrumbs {
    margin-bottom: 0.85rem;
}

.page-head .breadcrumbs {
    margin-bottom: 1.15rem;
}

@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 0.74rem;
        padding: 0.38rem 0.55rem 0.38rem 0.45rem;
        border-radius: 14px;
    }
}

.game-hero__title {
    font-size: clamp(1.6rem, 4.5vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.12;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 35%, #a78bfa 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-hero__meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.game-hero__desc {
    color: #b8c0d0;
    font-size: 0.98rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.page-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    margin-bottom: 2rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.page-toc a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.2s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-toc a:hover {
    color: var(--text);
    background: var(--accent-dim);
    border-color: var(--accent-border);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
    text-decoration: none;
}

.section-lead {
    color: var(--muted);
    font-size: 0.95rem;
    margin: -0.5rem 0 1.25rem;
    max-width: 720px;
    line-height: 1.6;
}

/* Ссылки «Все →», «Подробнее» — единый стиль по сайту */
.link-more,
.section-lead a,
.stat-card__link,
.page-head__meta a,
.game-section > p > a:not(.btn),
.game-page .game-section > p > a:not(.btn),
.compare-table thead a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #c4b5fd;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.link-more:hover,
.section-lead a:hover,
.stat-card__link:hover,
.page-head__meta a:hover,
.game-section > p > a:not(.btn):hover,
.game-page .game-section > p > a:not(.btn):hover,
.compare-table thead a:hover {
    color: #ede9fe;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.link-more--pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--chip-border);
    border-radius: var(--chip-radius);
    background: var(--chip-bg);
    color: var(--chip-text);
    border-bottom: 1px solid var(--chip-border);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.link-more--pill:hover {
    color: #ffffff;
    background: var(--chip-hover-bg);
    border-color: var(--chip-hover-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    text-shadow: none;
    transform: translateY(-1px);
}

.game-hero__seo {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.game-hero__seo strong {
    color: #b8c4d4;
    font-weight: 500;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}

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

.action-btn__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.action-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

.action-btn__text strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.action-btn__text small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}

.action-btn--youtube { background: rgba(255, 0, 51, 0.12); border: 1px solid rgba(255, 0, 51, 0.3); color: #ff8fa8; }
.action-btn--twitch { background: rgba(145, 70, 255, 0.12); border: 1px solid rgba(145, 70, 255, 0.3); color: #c9a3ff; }
.action-btn--steam { background: rgba(102, 192, 244, 0.1); border: 1px solid rgba(102, 192, 244, 0.3); color: #8ed4fc; }
.action-btn--store { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--text); }
.action-btn--fix { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #86efac; }
.action-btn--mods { background: rgba(66, 133, 244, 0.1); border: 1px solid rgba(66, 133, 244, 0.3); color: #93c5fd; }

.game-section,
.page-toc,
[id] {
    scroll-margin-top: 5.5rem;
}

.game-section {
    margin-bottom: 2.75rem;
}

.game-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* Swiper coverflow */
.game-section--gallery {
    overflow: visible;
}

.screenshots-coverflow {
    padding: 1.5rem 0 2rem;
    overflow: visible;
}

.screenshots-coverflow__stage {
    position: relative;
    min-width: 0;
    padding: 0 clamp(3.25rem, 6vw, 4.75rem);
    overflow: visible;
}

.screenshots-swiper {
    width: 100%;
    padding: 2rem 0 0.25rem;
    overflow: visible;
}

.screenshots-swiper .swiper-slide {
    width: min(72%, 520px);
    opacity: 0.45;
    transform: scale(0.82);
}

.screenshots-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.screenshots-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.swiper-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid rgba(129, 140, 248, 0.45);
    border-radius: 50%;
    background: rgba(8, 11, 18, 0.92);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.swiper-nav--prev::after {
    content: '‹';
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

.swiper-nav--next::after {
    content: '›';
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

.swiper-nav--prev {
    left: 0;
}

.swiper-nav--next {
    right: 0;
}

.swiper-nav:hover {
    background: var(--accent-dim);
    transform: scale(1.05);
}

.screenshots-swiper .swiper-button-prev::after,
.screenshots-swiper .swiper-button-next::after {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.specs-block__title {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
}

.fixes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

.fix-card {
    padding: 1.15rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.fix-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.fix-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
}

.fixes-extra {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.fixes-extra a {
    color: var(--accent);
}

.game-description--collapsed {
    max-height: 220px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.btn-read-more {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-read-more:hover {
    background: var(--accent-dim);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

.specs-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    min-width: 0;
}

.specs-content {
    font-size: 0.9rem;
    color: #b0b8c8;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.specs-content ul {
    padding-left: 1.2rem;
}

.game-description {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    font-size: 0.95rem;
    color: #b8c0d0;
    line-height: 1.7;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.game-description img,
.game-description video,
.game-description iframe,
.game-description embed,
.game-description object {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 1rem 0;
    border-radius: 8px;
}

.game-description iframe {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border: 0;
}

.game-description video {
    max-height: min(70vh, 480px);
    object-fit: contain;
}

.game-description table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.game-description pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
}

.game-description a {
    overflow-wrap: anywhere;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.empty-msg {
    color: var(--muted);
}

@media (max-width: 768px) {
    .site-main {
        padding: 1rem 1rem 2.5rem;
    }

    .site-header__inner {
        gap: 0.45rem;
        padding: 0.55rem 0.85rem 0.5rem;
    }

    .site-header__bar {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "search";
        gap: 0.45rem;
    }

    .logo {
        grid-area: logo;
        min-width: 0;
        max-width: 100%;
    }

    .logo__icon {
        width: 30px;
        height: 30px;
    }

    .logo__text {
        min-width: 0;
    }

    .logo__name {
        font-size: 0.95rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo__tag {
        display: none;
    }

    .site-nav {
        gap: 0.65rem 0.9rem;
        width: 100%;
        margin: 0 -0.15rem;
        padding: 0 0.15rem 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav-drop {
        display: none;
    }

    .site-nav__mob-only {
        display: inline;
    }

    .site-nav a,
    .site-nav-drop__label {
        font-size: 0.78rem;
    }

    .site-search {
        grid-area: search;
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
        margin-left: 0;
        padding-left: 0.65rem;
    }

    .site-search__lead {
        display: inline-flex;
    }

    .site-search__input {
        padding: 0.42rem 0.6rem;
        font-size: 16px;
    }

    .site-search__btn {
        width: 38px;
        height: 38px;
        padding: 0;
    }

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

    .screenshots-coverflow {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0 1rem;
        overflow: hidden;
    }

    .screenshots-coverflow__stage {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        width: 100%;
        padding: 0 0.35rem;
        overflow: hidden;
    }

    .screenshots-swiper {
        flex: 1;
        min-width: 0;
        width: auto;
        padding: 0.5rem 0;
        overflow: hidden;
    }

    .screenshots-swiper .swiper-slide {
        width: 100%;
    }

    .screenshots-coverflow .coverflow-nav {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        flex-shrink: 0;
        width: 34px;
        height: 34px;
        margin-top: 0;
        align-self: center;
    }

    .coverflow-nav__icon {
        width: 18px;
        height: 18px;
    }


    .game-section--gallery {
        overflow: hidden;
    }

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

    .game-hero,
    .game-hero__cover,
    .game-page {
        overflow-x: clip;
    }

    .game-grid--similar {
        max-width: 100%;
    }

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

    .search-topics,
    .specs-grid,
    .fixes-list {
        grid-template-columns: 1fr;
    }

    .game-description {
        padding: 1.15rem;
    }

    .page-toc {
        padding: 0.85rem;
    }

    .specs-block,
    .fix-card,
    .faq-item,
    .search-topic {
        min-width: 0;
    }

    .stat-card--main {
        grid-column: span 1;
    }
}

@keyframes bgGlowDrift {
    0% {
        opacity: 0.75;
        transform: scale(1) translate(0, 0);
    }

    100% {
        opacity: 1;
        transform: scale(1.06) translate(2%, -1.5%);
    }
}

@keyframes bgGlowDrift2 {
    0% {
        opacity: 0.5;
        transform: translate(0, 0);
    }

    100% {
        opacity: 0.9;
        transform: translate(-3%, 2%);
    }
}

@keyframes meshSpin {
    to {
        filter: hue-rotate(360deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes borderSpin {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes labelShimmer {
    0%, 72%, 100% {
        transform: translateX(-120%);
    }

    88% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background: var(--bg);
    }

    body::after {
        display: none;
    }

    .bg-glow,
    .bg-glow::after,
    .hero__label::after,
    .hero h1 {
        animation: none;
    }

    .game-card:hover::after {
        animation: none;
    }

    .game-card:hover .game-card__img {
        transform: none;
        filter: none;
    }

    .game-card:hover {
        transform: translateY(-3px);
    }
}

.site-footer {
    margin-top: auto;
    position: relative;
    border-top: none;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
    padding: 2rem 1.25rem 2.5rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(167, 139, 250, 0.35) 50%, transparent 95%);
}

.site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
}

.site-footer__nav a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__nav a:hover {
    color: var(--text);
}

.site-footer__legal {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 720px;
}

.site-footer__legal-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__legal-link:hover {
    color: var(--text);
}

.compat-calc__share {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--muted);
    word-break: break-all;
}

.compat-calc__share code {
    font-size: inherit;
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.compare-table thead th {
    font-weight: 700;
}

.compare-table tbody th[scope="row"] {
    color: var(--muted);
    font-weight: 600;
    width: 28%;
}

.compare-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    align-items: end;
}

.compare-picker label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
}

.compare-picker input {
    min-width: 220px;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text);
}

.compare-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(12px);
    color: var(--text);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-border);
    box-shadow: 0 8px 32px rgba(167, 139, 250, 0.25);
}

.scroll-top:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .scroll-top {
        right: max(0.85rem, env(safe-area-inset-right, 0px));
        bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* Game info / tags */
.game-hero__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin-bottom: 0.35rem;
}

.game-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.game-hero__tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 999px;
}

.game-info {
    display: grid;
    gap: 1.25rem;
}

.game-info__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 220px;
}

.game-info__stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-2);
}

.game-info__stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.game-info__block {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.game-info__heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.game-tag {
    display: inline-block;
    padding: 0.38rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: var(--chip-radius);
    line-height: 1.25;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

a.game-tag {
    text-decoration: none;
}

a.game-tag:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.game-tag--genre {
    color: #ddd6fe;
    background: rgba(91, 33, 182, 0.28);
    border-color: rgba(167, 139, 250, 0.42);
}

a.game-tag--genre:hover {
    background: rgba(124, 58, 237, 0.45);
    border-color: #a78bfa;
}

.game-tag--platform {
    color: #bae6fd;
    background: rgba(2, 132, 199, 0.22);
    border-color: rgba(56, 189, 248, 0.4);
}

a.game-tag--platform:hover {
    background: rgba(3, 105, 161, 0.38);
    border-color: #38bdf8;
}

.game-tag--badge {
    color: #a7f3d0;
    background: rgba(5, 150, 105, 0.22);
    border-color: rgba(52, 211, 153, 0.38);
}

.game-tag--feature {
    font-size: 0.78rem;
    color: #fde68a;
    background: rgba(180, 83, 9, 0.2);
    border-color: rgba(251, 191, 36, 0.35);
}

.game-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0 0.45rem;
}

.game-card__tag {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.28);
    border-radius: 999px;
}

.game-card__tag--reviews {
    color: #99f6e4;
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(45, 212, 191, 0.3);
}

.game-grid--similar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.game-grid--similar .game-card__body {
    min-height: auto;
    padding: 0.7rem 0.75rem 0.85rem;
}

.game-grid--similar .game-card__body h3 {
    font-size: 0.82rem;
    line-height: 1.3;
}

.game-grid--similar .game-card__body p {
    display: none;
}

.game-grid--similar .game-card__type {
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
}

.game-grid--similar .game-card__tags {
    margin-top: 0.25rem;
}

.game-grid--similar .game-card__tag {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
}

@media (max-width: 960px) {
    .game-grid--similar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.35rem;
    }

    .game-grid--similar .game-card-wrap {
        flex: 0 0 calc((100% - 3rem) / 5);
        min-width: 140px;
        scroll-snap-align: start;
    }
}

.game-story {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 760px;
}

.game-story + .game-story {
    margin-top: 1rem;
}

.extra-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 0.75rem;
}

.extra-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.extra-link:nth-child(1) { border-color: rgba(129, 140, 248, 0.22); }
.extra-link:nth-child(2) { border-color: rgba(52, 211, 153, 0.22); }
.extra-link:nth-child(3) { border-color: rgba(34, 211, 238, 0.22); }
.extra-link:nth-child(4) { border-color: rgba(251, 113, 133, 0.22); }

.extra-link:hover {
    border-color: rgba(129, 140, 248, 0.45);
    transform: translateY(-2px);
}

.extra-link:nth-child(2):hover { border-color: rgba(52, 211, 153, 0.45); }
.extra-link:nth-child(3):hover { border-color: rgba(34, 211, 238, 0.45); }
.extra-link:nth-child(4):hover { border-color: rgba(251, 113, 133, 0.45); }

.extra-link strong {
    font-size: 0.92rem;
    color: var(--text);
}

.extra-link span {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
}

.specs-summary {
    display: grid;
    gap: 0.65rem;
    max-width: 720px;
}

.specs-summary__row {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.specs-summary__row dt {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.specs-summary__row dd {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.quick-fact {
    padding: 0.9rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}

.quick-fact:nth-child(2) {
    border-left-color: var(--accent-2);
}

.quick-fact:nth-child(3) {
    border-left-color: var(--accent-green);
}

.quick-fact:nth-child(4) {
    border-left-color: var(--accent-warm);
}

.quick-fact:nth-child(5) {
    border-left-color: var(--accent-rose);
}

.quick-fact__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.quick-fact:nth-child(2) .quick-fact__label { color: var(--accent-2); }
.quick-fact:nth-child(3) .quick-fact__label { color: var(--accent-green); }
.quick-fact:nth-child(4) .quick-fact__label { color: var(--accent-warm); }
.quick-fact:nth-child(5) .quick-fact__label { color: var(--accent-rose); }

.quick-fact__text {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.5;
}

/* ===== Чипы каталога (разделы, жанры, подборки) ===== */
.catalog-filter,
.genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.55rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.catalog-filter__link,
.genre-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.125rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--chip-radius);
    border: 1px solid var(--chip-border);
    background: var(--chip-bg);
    color: var(--chip-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.catalog-filter__link:hover,
.genre-chip:hover {
    color: #ffffff;
    border-color: var(--chip-hover-border);
    background: var(--chip-hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.catalog-filter__link:focus-visible,
.genre-chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.catalog-filter__link--active,
.genre-chip--active {
    color: #ffffff;
    border-color: var(--chip-active-border);
    background: var(--chip-active-bg);
    box-shadow: 0 2px 14px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.catalog-filter__link--active:hover,
.genre-chip--active:hover {
    color: #ffffff;
    border-color: #c4b5fd;
    background: #6d28d9;
    transform: translateY(-1px);
}

.catalog-filter__counts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.catalog-filter__counts strong {
    color: var(--text);
}

.coverflow-nav {
    position: absolute;
    top: 50%;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    padding: 0;
    border: 1px solid rgba(129, 140, 248, 0.42);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(30, 34, 48, 0.98), rgba(12, 13, 18, 0.96));
    color: #a5b4fc;
    cursor: pointer;
    box-shadow: none;
    transform: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.screenshots-nav--prev {
    left: 0;
    right: auto;
}

.screenshots-nav--next {
    right: 0;
    left: auto;
}

.coverflow-nav__icon {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.coverflow-nav:hover {
    border-color: rgba(129, 140, 248, 0.78);
    color: #c7d2fe;
    background: linear-gradient(145deg, rgba(49, 54, 74, 0.98), rgba(20, 22, 34, 0.96));
}

.coverflow-nav:active {
    opacity: 0.82;
}

.coverflow-nav:focus-visible {
    outline: 2px solid rgba(129, 140, 248, 0.55);
    outline-offset: 2px;
    box-shadow: none;
}

.home-catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

@media (max-width: 640px) {
    .specs-summary__row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .quick-facts {
        grid-template-columns: 1fr;
    }
}

/* ===== Фильтры и сортировка ===== */
.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.catalog-filters__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 150px;
}

.catalog-filters__field label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.catalog-filters__select {
    padding: 0.48rem 0.7rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: var(--chip-radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.catalog-filters__select:hover {
    border-color: var(--chip-hover-border);
    background: rgba(30, 30, 38, 0.95);
}

.catalog-filters__select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.catalog-filters__check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.catalog-filters__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.catalog-filters__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.catalog-filters__btn {
    padding: 0.5rem 1.1rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--chip-active-bg);
    border: 1px solid var(--chip-active-border);
    border-radius: var(--chip-radius);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

.catalog-filters__btn:hover {
    background: #6d28d9;
    border-color: #c4b5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}

.catalog-filters__reset {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

.catalog-filters__reset:hover {
    color: var(--text);
}

.page-head__intro {
    margin-top: 0.65rem;
    max-width: 760px;
    color: var(--muted);
    font-size: 0.95rem;
}

.hub-about {
    max-width: 820px;
}

.hub-about__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.hub-about__body p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

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

.game-page .hub-about {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    padding-top: 0;
}

/* Game page — единые блоки-панели */
.game-panel {
    margin-bottom: 2.75rem;
}

.game-panel__shell {
    position: relative;
    padding: 1.35rem 1.45rem 1.45rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(155deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(15, 23, 42, 0.35) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 48px rgba(0, 0, 0, 0.26),
        0 0 56px rgba(139, 92, 246, 0.07);
    overflow: hidden;
}

.game-panel__shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 100% 0%, rgba(139, 92, 246, 0.12), transparent 60%);
    pointer-events: none;
}

.game-panel__head { position: relative; margin-bottom: 1rem; }

.game-panel__badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ddd6fe;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.game-panel__title {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
}

.game-panel__subtitle {
    margin: 0.4rem 0 0;
    max-width: 68ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
}

.game-panel__body { position: relative; }

.game-panel__lead {
    position: relative;
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.92);
    max-width: 72ch;
}

.game-panel__chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.game-panel__chip {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.game-panel__chip--genre { border-color: rgba(167, 139, 250, 0.28); color: #ddd6fe; }
.game-panel__chip--mode { border-color: rgba(52, 211, 153, 0.25); color: #a7f3d0; }

.game-panel__nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.game-panel__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.game-panel__nav-link:hover {
    color: #ede9fe;
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.35);
}

.game-panel__cards--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.game-panel__cards--stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.game-panel__card {
    display: flex;
    gap: 0.85rem;
    min-width: 0;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    scroll-margin-top: 5.5rem;
}

.game-panel__card--faq { flex-direction: column; gap: 0.45rem; }

.game-panel__card-icon {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4b5fd;
}

.game-panel__card-icon-svg { width: 1.15rem; height: 1.15rem; }

.game-panel__card--community .game-panel__card-icon { color: #a5b4fc; background: rgba(99, 102, 241, 0.16); border-color: rgba(129, 140, 248, 0.32); }
.game-panel__card--catalog .game-panel__card-icon,
.game-panel__card--collections .game-panel__card-icon,
.game-panel__card--materials .game-panel__card-icon { color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border-color: rgba(167, 139, 250, 0.28); }
.game-panel__card--shop .game-panel__card-icon { color: #6ee7b7; background: rgba(16, 185, 129, 0.14); border-color: rgba(52, 211, 153, 0.28); }
.game-panel__card--weak-pc .game-panel__card-icon { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.28); color: #86efac; }
.game-panel__card--size .game-panel__card-icon { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.28); color: #93c5fd; }
.game-panel__card--language .game-panel__card-icon { background: rgba(139, 92, 246, 0.12); border-color: rgba(167, 139, 250, 0.28); color: #c4b5fd; }
.game-panel__card--steam-deck .game-panel__card-icon { background: rgba(102, 192, 244, 0.12); border-color: rgba(102, 192, 244, 0.28); color: #8ed4fc; }
.game-panel__card--offline .game-panel__card-icon { background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.28); color: #cbd5e1; }
.game-panel__card--release .game-panel__card-icon { background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.28); color: #fdba74; }

.game-panel__card-body { min-width: 0; flex: 1; }

.game-panel__card-title {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.game-panel__card-intro,
.game-panel__card-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
}

.game-panel__card-intro { margin-bottom: 0.75rem; }

.game-panel__card-content {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.9);
}

.game-panel__card-content > p { margin: 0 0 0.75rem; }
.game-panel__card-content > p:last-child { margin-bottom: 0; }
.game-panel__card-content .specs-list { margin: 0 0 0.85rem; }
.game-panel__card-content .btn { margin-top: 0.35rem; margin-right: 0.45rem; }

.game-panel__stat {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
}

.game-panel__stat-value { display: block; font-size: 1.15rem; font-weight: 650; color: var(--text); }
.game-panel__stat-label { display: block; font-size: 0.78rem; color: var(--muted); }

.game-panel__rank { margin: 0 0 0.55rem; font-size: 0.88rem; color: var(--muted); }
.game-panel__rank-pos { font-weight: 700; color: #c4b5fd; }

.game-panel__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
}

.game-panel__badge-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.game-panel__badge-pill--free { border-color: rgba(52, 211, 153, 0.35); color: #a7f3d0; }
.game-panel__badge-pill--sale { border-color: rgba(251, 113, 133, 0.35); color: #fecdd3; }
.game-panel__badge-pill--price { border-color: rgba(167, 139, 250, 0.35); color: #ddd6fe; }
.game-panel__badge-pill--deck-verified { border-color: rgba(102, 192, 244, 0.35); color: #8ed4fc; }
.game-panel__badge-pill--deck-playable { border-color: rgba(56, 189, 248, 0.35); color: #bae6fd; }
.game-panel__badge-pill--linux { border-color: rgba(251, 146, 60, 0.35); color: #fdba74; }

.game-panel__links {
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
}

.game-panel__links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #c4b5fd;
    text-decoration: none;
}

.game-panel__foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-panel__foot-sep { color: var(--muted); opacity: 0.55; }

.game-panel--gallery .game-panel__shell { overflow: visible; }

.game-panel__body .action-grid { margin-bottom: 0; }

.game-panel__body .search-topic,
.game-panel__body .extra-link {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    border-color: rgba(255, 255, 255, 0.09);
}

.game-panel__body .specs-block,
.game-panel__body .specs-summary {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.game-panel__body .game-info__block {
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-panel__body .game-story {
    margin: 0 0 0.85rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.9);
}

@media (max-width: 640px) {
    .game-panel__shell { padding: 1.05rem 1rem 1.15rem; }
    .game-panel__cards--grid { grid-template-columns: 1fr; }
    .game-panel__card { flex-direction: column; gap: 0.65rem; }
    .game-panel__card-icon { width: 2rem; height: 2rem; }
}

/* Game page — блок «Про игру» (legacy aliases below) */
.game-insight {
    margin: 0 0 2rem;
}

.game-insight__shell {
    position: relative;
    padding: 1.35rem 1.45rem 1.5rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(155deg, rgba(139, 92, 246, 0.11) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(15, 23, 42, 0.35) 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 48px rgba(0, 0, 0, 0.28),
        0 0 60px rgba(139, 92, 246, 0.08);
    overflow: hidden;
}

.game-insight__shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 100% 0%, rgba(139, 92, 246, 0.14), transparent 60%);
    pointer-events: none;
}

.game-insight__head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-insight__title {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
}

.game-insight__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.45;
}

.game-insight__badge {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ddd6fe;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.35);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.game-insight__lead {
    position: relative;
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.92);
    max-width: 72ch;
}

.game-insight__chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.game-insight__chip {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.game-insight__chip--genre {
    border-color: rgba(129, 140, 248, 0.28);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
}

.game-insight__chip--mode {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(16, 185, 129, 0.1);
    color: #a7f3d0;
}

.game-insight__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.game-insight__card {
    display: flex;
    gap: 0.85rem;
    min-width: 0;
    padding: 1rem 1rem 1.05rem;
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

.game-insight__card-icon {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4b5fd;
}

.game-insight__card-icon-svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.game-insight__card--community .game-insight__card-icon {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(129, 140, 248, 0.32);
}

.game-insight__card--catalog .game-insight__card-icon,
.game-insight__card--collections .game-insight__card-icon,
.game-insight__card--materials .game-insight__card-icon {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.28);
}

.game-insight__card--shop .game-insight__card-icon {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.28);
}

.game-insight__card--gameplay .game-insight__card-icon {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(251, 191, 36, 0.28);
}

.game-insight__card--creators .game-insight__card-icon {
    color: #f9a8d4;
    background: rgba(236, 72, 153, 0.14);
    border-color: rgba(244, 114, 182, 0.28);
}

.game-insight__card--install .game-insight__card-icon {
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(56, 189, 248, 0.28);
}

.game-insight__card-body {
    min-width: 0;
}

.game-insight__card-title {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text);
}

.game-insight__stat {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.55rem;
}

.game-insight__stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #e9d5ff;
    line-height: 1.1;
}

.game-insight__stat-label {
    font-size: 0.76rem;
    color: var(--muted);
}

.game-insight__rank {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
    margin: 0 0 0.55rem;
}

.game-insight__rank-pos {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c4b5fd;
}

.game-insight__rank-meta {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.4;
}

.game-insight__card-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--muted);
}

.game-insight__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.game-insight__badge-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.game-insight__badge-pill--free {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
}

.game-insight__badge-pill--sale {
    border-color: rgba(251, 146, 60, 0.4);
    background: rgba(249, 115, 22, 0.14);
    color: #fdba74;
}

.game-insight__badge-pill--price {
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(99, 102, 241, 0.14);
    color: #c7d2fe;
}

.game-insight__badge-pill--deck-verified {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(14, 165, 233, 0.12);
    color: #7dd3fc;
}

.game-insight__badge-pill--deck-playable {
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(234, 179, 8, 0.12);
    color: #fde68a;
}

.game-insight__badge-pill--linux {
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.game-insight__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.game-insight__links a {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 500;
    color: #c4b5fd;
    text-decoration: none;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    background: rgba(139, 92, 246, 0.1);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.game-insight__links a:hover {
    color: #ede9fe;
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(196, 181, 253, 0.45);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .game-insight__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .game-insight__shell {
        padding: 1.1rem 1rem 1.15rem;
    }

    .game-insight__head {
        flex-direction: column;
        gap: 0.65rem;
    }

    .game-insight__lead {
        font-size: 0.96rem;
    }

    .game-insight__card {
        padding: 0.9rem 0.85rem;
    }
}

.game-section__intro {
    max-width: 760px;
    margin-bottom: 1.1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.game-section__intro p {
    margin-bottom: 0.75rem;
}

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

/* Game page — блок «Гайд по игре» */
.game-section--guides {
    margin-bottom: 2.75rem;
}

.game-guides__shell {
    position: relative;
    padding: 1.35rem 1.45rem 1.35rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(155deg, rgba(56, 189, 248, 0.1) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(15, 23, 42, 0.35) 100%);
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 48px rgba(0, 0, 0, 0.24),
        0 0 56px rgba(56, 189, 248, 0.07);
    overflow: hidden;
}

.game-guides__shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 50% at 0% 0%, rgba(56, 189, 248, 0.12), transparent 58%);
    pointer-events: none;
}

.game-guides__head {
    position: relative;
    margin-bottom: 1rem;
}

.game-guides__badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.game-guides__title {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
}

.game-guides__subtitle {
    margin: 0.4rem 0 0;
    max-width: 68ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--muted);
}

.game-guides__nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.game-guides__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.game-guides__nav-link:hover {
    color: #e0f2fe;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

.game-guides__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.game-guides__card {
    display: flex;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    scroll-margin-top: 5.5rem;
}

.game-guides__card-icon {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
}

.game-guides__card-icon-svg {
    width: 1.15rem;
    height: 1.15rem;
}

.game-guides__card--weak-pc .game-guides__card-icon {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
    color: #86efac;
}

.game-guides__card--size .game-guides__card-icon {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.28);
    color: #93c5fd;
}

.game-guides__card--language .game-guides__card-icon {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(167, 139, 250, 0.28);
    color: #c4b5fd;
}

.game-guides__card--steam-deck .game-guides__card-icon {
    background: rgba(102, 192, 244, 0.12);
    border-color: rgba(102, 192, 244, 0.28);
    color: #8ed4fc;
}

.game-guides__card--offline .game-guides__card-icon {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
}

.game-guides__card--release .game-guides__card-icon {
    background: rgba(251, 146, 60, 0.12);
    border-color: rgba(251, 146, 60, 0.28);
    color: #fdba74;
}

.game-guides__card-body {
    min-width: 0;
    flex: 1;
}

.game-guides__card-title {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

.game-guides__card-intro {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
}

.game-guides__card-content {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.9);
}

.game-guides__card-content > p {
    margin: 0 0 0.75rem;
}

.game-guides__card-content > p:last-child {
    margin-bottom: 0;
}

.game-guides__card-content .specs-list {
    margin: 0 0 0.85rem;
}

.game-guides__card-content .btn {
    margin-top: 0.35rem;
    margin-right: 0.45rem;
}

.game-guides__stat {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--text);
}

.game-guides__foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-guides__foot-sep {
    color: var(--muted);
    opacity: 0.55;
}

@media (max-width: 640px) {
    .game-guides__shell {
        padding: 1.05rem 1rem 1.15rem;
    }

    .game-guides__card {
        flex-direction: column;
        gap: 0.65rem;
    }

    .game-guides__card-icon {
        width: 2rem;
        height: 2rem;
    }
}

.catalog-filter--collections {
    max-height: 9.5rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}

.collection-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.collection-card:hover {
    border-color: rgba(129, 140, 248, 0.45);
    transform: translateY(-2px);
}

.collection-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.collection-card__title {
    font-size: 1rem;
    line-height: 1.35;
}

.collection-card__desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collection-card__count {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.collection-section {
    margin-bottom: 2rem;
}

.collection-section__title {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    color: var(--text);
}

.catalog-filter__link--all {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--chip-text-muted);
    font-weight: 500;
    background: transparent;
}

.catalog-filter__link--all:hover {
    border-style: dashed;
    color: #ffffff;
    background: var(--chip-hover-bg);
}

/* ===== Сетка жанров (страница /games/genre/) ===== */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.genre-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
}

.genre-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.genre-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.genre-card__count {
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 600;
}

/* ===== Кросс-ссылки на жанры на странице игры ===== */
.genre-crosslinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.genre-crosslinks__label {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== Кнопка «Поделиться» ===== */
.game-hero__actions {
    margin-top: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.share-btn.is-copied {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.game-hero__meta--updated {
    color: var(--muted);
}

/* ===== Живые подсказки поиска ===== */
.site-search {
    position: relative;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.35rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.search-suggest[hidden] {
    display: none;
}

.search-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
}

.search-suggest__item:hover,
.search-suggest__item.is-active {
    background: var(--accent-dim);
}

.search-suggest__thumb {
    flex-shrink: 0;
    width: 48px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--surface);
}

.search-suggest__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-suggest__title {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest__type {
    font-size: 0.72rem;
    color: var(--muted);
}

.search-suggest__empty {
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== Жанры в футере ===== */
.site-footer__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.site-footer__genres-title {
    color: var(--muted);
    font-weight: 600;
}

.site-footer__genres a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__genres a:hover {
    color: var(--text);
}

/* ===== Калькулятор совместимости ===== */
.game-hero--compact {
    padding: 1.5rem 0 0.5rem;
}

.game-hero--compact .game-hero__title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.compat-calc {
    padding: 1.25rem 1.35rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.compat-calc__form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: flex-end;
}

.compat-calc__form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--muted);
    min-width: min(100%, 200px);
}

.compat-calc__form select {
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.compat-calc__result {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.compat-calc__result--yes {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.compat-calc__result--maybe {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.compat-calc__result--no {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

@media (max-width: 560px) {
    .catalog-filters__field {
        min-width: 0;
        flex: 1 1 45%;
    }

    .site-header__inner {
        padding: 0.5rem 0.65rem;
        gap: 0.4rem;
    }

    .logo__name {
        font-size: 0.9rem;
    }

    .site-nav a,
    .site-nav-drop__label {
        font-size: 0.72rem;
    }
}