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

:root {
    --bg: #05080d;
    --bg-2: #0b1118;
    --bg-3: #111923;
    --panel: rgba(10, 15, 22, 0.88);
    --panel-strong: rgba(7, 11, 16, 0.94);
    --panel-soft: rgba(255, 255, 255, 0.04);
    --line: rgba(92, 255, 145, 0.14);
    --line-strong: rgba(92, 255, 145, 0.32);
    --line-danger: rgba(255, 72, 72, 0.28);
    --text: #edf7ff;
    --text-muted: rgba(237, 247, 255, 0.72);
    --text-soft: rgba(237, 247, 255, 0.48);
    --accent: #5cff91;
    --accent-2: #2db6ff;
    --accent-3: #ff4d4d;
    --accent-glow: rgba(92, 255, 145, 0.28);
    --fps: #5cff91;
    --multiplayer: #2db6ff;
    --sniper: #85a4ff;
    --battle-royale: #ff5454;
    --action: #d5ff5b;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;
    --max-width: 1148px;
    --topbar-height: 72px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at 14% 12%, rgba(45, 182, 255, 0.12), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(92, 255, 145, 0.11), transparent 24%),
        radial-gradient(circle at 55% 84%, rgba(255, 77, 77, 0.08), transparent 22%),
        linear-gradient(180deg, #05080d 0%, #0a1017 45%, #05090f 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(transparent 0, rgba(255, 255, 255, 0.022) 50%, transparent 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 100% 4px, 44px 44px, 44px 44px;
    opacity: 0.24;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 100%);
}

body::after {
    background:
        linear-gradient(110deg, transparent 0%, rgba(92, 255, 145, 0.06) 45%, transparent 52%, transparent 100%);
    animation: backgroundSweep 13s linear infinite;
    opacity: 0.5;
}

@keyframes backgroundSweep {
    0% {
        transform: translateX(-18%);
    }

    100% {
        transform: translateX(22%);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.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-shell {
    position: relative;
    z-index: 2;
}

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(92, 255, 145, 0.24);
    box-shadow: 0 0 12px rgba(92, 255, 145, 0.16);
    animation: floatParticle 18s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(110vh) scale(0.9);
        opacity: 0;
    }

    12%,
    88% {
        opacity: 1;
    }

    100% {
        transform: translateY(-18vh) scale(1.08);
        opacity: 0;
    }
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 255, 145, 0.09), rgba(45, 182, 255, 0.05), transparent 72%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.main-container,
.page-container {
    width: min(calc(100% - 16px), var(--max-width));
    margin: 0 auto;
    position: relative;
}

.header,
.topbar {
    position: sticky;
    top: 12px;
    z-index: 80;
    width: min(calc(100% - 16px), var(--max-width));
    min-height: var(--topbar-height);
    margin: 12px auto 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(92, 255, 145, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(10, 15, 22, 0.82), rgba(6, 10, 14, 0.9)),
        linear-gradient(90deg, rgba(92, 255, 145, 0.03), transparent);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.is-scrolled .header,
body.is-scrolled .topbar {
    background:
        linear-gradient(180deg, rgba(7, 11, 16, 0.92), rgba(5, 8, 12, 0.96)),
        linear-gradient(90deg, rgba(92, 255, 145, 0.05), transparent);
    border-color: rgba(92, 255, 145, 0.24);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.logo-icon {
    filter: drop-shadow(0 0 18px rgba(45, 182, 255, 0.16));
    transition: transform 0.18s ease, filter 0.18s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.04);
    filter: drop-shadow(0 0 22px rgba(92, 255, 145, 0.24));
}

.logo-text {
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-io {
    color: var(--accent);
}

.nav-categories,
.topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text);
    border-color: rgba(92, 255, 145, 0.2);
    background: rgba(92, 255, 145, 0.06);
}

.nav-item:hover::after,
.nav-item.active::after {
    transform: scaleX(1);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.search-bar {
    position: relative;
    width: min(240px, 100%);
}

.search-bar input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(45, 182, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.search-bar input::placeholder {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.search-bar input:focus {
    outline: none;
    border-color: rgba(92, 255, 145, 0.46);
    box-shadow: 0 0 0 3px rgba(92, 255, 145, 0.08);
}

.search-bar i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.page-card,
.hero-copy,
.hero-side-panel,
.status-card,
.sidebar-card,
.mission-results,
.mission-sidebar,
.tactical-panel,
.game-meta,
.intel-card,
.frame-console,
.meta-chip,
.game-card,
.detail-card,
.support-card,
.policy-card,
.guide-card,
.note-card,
.warning-card,
.success-card,
.contact-item,
.info-strip-card,
.game-info,
.content-prose,
.about-container,
.contact-container,
.privacy-container,
.terms-container {
    position: relative;
    background:
        linear-gradient(180deg, rgba(13, 19, 27, 0.88), rgba(7, 11, 16, 0.92)),
        linear-gradient(90deg, rgba(92, 255, 145, 0.03), transparent);
    border: 1px solid rgba(92, 255, 145, 0.14);
    box-shadow: var(--shadow);
}

.page-card,
.content-prose,
.about-container,
.contact-container,
.privacy-container,
.terms-container {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.page-card::before,
.hero-copy::before,
.sidebar-card::before,
.tactical-panel::before,
.frame-console::before,
.game-meta::before,
.mission-results::before,
.content-prose::before,
.about-container::before,
.contact-container::before,
.privacy-container::before,
.terms-container::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 255, 145, 0.32), transparent);
    opacity: 0.9;
}

.reveal-block {
    opacity: 0;
    transform: translateY(16px);
    animation: revealUp 0.55s ease forwards;
}

.reveal-block:nth-child(2) {
    animation-delay: 0.07s;
}

.reveal-block:nth-child(3) {
    animation-delay: 0.14s;
}

.reveal-block:nth-child(4) {
    animation-delay: 0.21s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-info {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 16px;
    padding-top: 18px;
}

.hero-copy.compact,
.hero-side-panel,
.status-card {
    border-radius: 22px;
}

.hero-copy.compact {
    padding: 24px 26px 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(45, 182, 255, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(12, 18, 26, 0.92), rgba(8, 12, 18, 0.94));
}

.hero-copy.compact::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% 45%;
    height: 220px;
    background: radial-gradient(circle, rgba(92, 255, 145, 0.12), transparent 72%);
    pointer-events: none;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(92, 255, 145, 0.22);
    background: rgba(92, 255, 145, 0.06);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title {
    margin: 12px 0 10px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(45, 182, 255, 0.1);
}

.page-subtitle,
.section-lead,
.sidebar-copy,
.category-blurb,
.content-prose p,
.content-prose li,
.footer-section p,
.footer-section a,
.status-label,
.intel-label {
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-btn,
.action-btn,
.action-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(92, 255, 145, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-btn::before,
.action-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.16) 48%, transparent 76%);
    transform: translateX(-130%);
    transition: transform 0.28s ease;
}

.hero-btn:hover::before,
.action-btn:hover::before {
    transform: translateX(130%);
}

.hero-btn:hover,
.action-btn:hover,
.action-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(92, 255, 145, 0.15), 0 12px 24px rgba(0, 0, 0, 0.24);
    border-color: rgba(92, 255, 145, 0.42);
}

.hero-btn:active,
.action-btn:active {
    transform: scale(0.98);
}

.hero-btn-primary {
    color: #07110c;
    background: linear-gradient(135deg, #8fffad, #5cff91);
    border-color: rgba(92, 255, 145, 0.62);
    box-shadow: 0 0 28px rgba(92, 255, 145, 0.18);
}

.hero-btn-secondary,
.hero-btn-ghost {
    background: rgba(45, 182, 255, 0.06);
    border-color: rgba(45, 182, 255, 0.18);
}

.hero-side-panel {
    padding: 18px;
    display: flex;
    align-items: stretch;
}

.status-card {
    width: 100%;
    padding: 18px;
    display: grid;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(11, 16, 24, 0.88), rgba(7, 11, 16, 0.94)),
        linear-gradient(130deg, rgba(45, 182, 255, 0.06), transparent);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.status-row strong {
    font-size: 0.9rem;
    color: var(--text);
    text-align: right;
}

.combat-home {
    padding-top: 16px;
    padding-bottom: 48px;
}

.game-frame-section {
    margin-top: 18px;
}

.section-heading,
.results-hero,
.series-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.4rem, 2vw, 2.3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.text-link {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.frame-stage {
    position: relative;
    overflow: hidden;
    min-height: clamp(430px, 64vh, 760px);
    border-radius: 24px;
    border: 1px solid rgba(45, 182, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(4, 8, 12, 0.98), rgba(8, 12, 17, 0.98));
    box-shadow:
        0 0 0 1px rgba(92, 255, 145, 0.06),
        0 0 46px rgba(45, 182, 255, 0.08),
        0 30px 70px rgba(0, 0, 0, 0.4);
}

.frame-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(92, 255, 145, 0.14);
    pointer-events: none;
    z-index: 3;
}

.frame-stage::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, transparent 30%, rgba(92, 255, 145, 0.08) 48%, transparent 56%);
    transform: translateX(-40%);
    animation: frameSweep 6.5s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes frameSweep {
    to {
        transform: translateX(42%);
    }
}

.frame-stage iframe {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: clamp(430px, 64vh, 760px);
    border: 0;
    background: #000;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.frame-corner-actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.frame-floating-btn {
    min-width: 138px;
    min-height: 46px;
    background: rgba(6, 10, 14, 0.82);
    border-color: rgba(92, 255, 145, 0.28);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.frame-stage.is-live iframe {
    opacity: 1;
    transform: scale(1);
}

.frame-stage.is-live {
    box-shadow:
        0 0 0 1px rgba(92, 255, 145, 0.08),
        0 0 70px rgba(92, 255, 145, 0.1),
        0 30px 70px rgba(0, 0, 0, 0.42);
}

.frame-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    gap: 16px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(5, 8, 12, 0.3), rgba(8, 12, 17, 0.18));
    text-align: center;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.frame-loading[hidden] {
    display: none;
}

.frame-loading p {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.radar-loader {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(92, 255, 145, 0.18);
    box-shadow: inset 0 0 18px rgba(92, 255, 145, 0.08);
}

.radar-loader span {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(92, 255, 145, 0.16);
    border-radius: 50%;
}

.radar-loader span:nth-child(2) {
    inset: 22px;
}

.radar-loader span:nth-child(3) {
    inset: 0;
    border-color: rgba(45, 182, 255, 0.28);
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.scan-bar {
    width: min(260px, 80%);
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(92, 255, 145, 0.12);
}

.scan-bar::before {
    content: "";
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(92, 255, 145, 0), rgba(92, 255, 145, 0.95), rgba(45, 182, 255, 0));
    animation: scanMove 1.1s linear infinite;
}

@keyframes scanMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(250%);
    }
}

.frame-console {
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
}

.frame-console-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.game-title-section {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 320px;
}

.game-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(92, 255, 145, 0.2);
}

.game-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.game-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.console-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action-link {
    min-height: 42px;
}

.frame-meta-grid,
.intel-grid,
.detail-grid,
.support-grid,
.feature-grid,
.guide-grid,
.metric-grid {
    display: grid;
    gap: 14px;
}

.frame-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
}

.meta-chip,
.intel-card,
.detail-card,
.support-card,
.policy-card,
.metric-card,
.note-card,
.warning-card,
.success-card,
.contact-item {
    border-radius: 16px;
    padding: 16px;
}

.meta-chip {
    background: rgba(255, 255, 255, 0.025);
    min-width: 0;
}

.meta-chip span,
.intel-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-chip strong,
.intel-card strong,
.detail-card h3,
.support-card h3,
.policy-card h3,
.metric-value {
    color: var(--text);
}

.game-meta {
    margin-top: 18px;
    padding: 22px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 18px;
}

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

.intel-card {
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.intel-card:hover,
.detail-card:hover,
.support-card:hover,
.policy-card:hover,
.contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 255, 145, 0.3);
}

.tactical-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
}

.tactical-panel {
    border-radius: 24px;
    padding: 22px;
}

.categories-grid {
    display: grid;
    gap: 12px;
}

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

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

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

.game-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 255, 145, 0.34);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(92, 255, 145, 0.08);
}

.game-card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #05080d;
}

.game-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.28s ease, filter 0.28s ease;
}

.game-card-cover img.is-image-fallback-missing {
    object-fit: contain;
    padding: 18px;
    background: linear-gradient(180deg, rgba(11, 18, 29, 0.88), rgba(5, 8, 13, 0.98));
}

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

.game-card-category,
.category-count,
.filter-link-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.category-count {
    background: rgba(7, 11, 16, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card-body {
    display: grid;
    gap: 10px;
    padding: 12px;
    min-width: 0;
}

.game-card-category {
    background: rgba(92, 255, 145, 0.08);
    border: 1px solid rgba(92, 255, 145, 0.2);
    color: var(--accent);
}

.game-card-title {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.game-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd666;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.game-card-description {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-compact .game-card-cover {
    aspect-ratio: 16 / 9;
}

.home-expanded-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-list-stack {
    display: grid;
    gap: 18px;
}

.home-category-section {
    margin-top: 18px;
}

.home-category-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mission-board {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 48px;
}

.mission-sidebar {
    display: grid;
    gap: 14px;
    align-self: start;
    position: sticky;
    top: calc(var(--topbar-height) + 28px);
}

.sidebar-card {
    padding: 20px;
    border-radius: 22px;
}

.sidebar-title {
    margin: 10px 0;
    font-size: 1.8rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.category-filter-list {
    display: grid;
    gap: 10px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.filter-link:hover,
.filter-link.active {
    transform: translateX(3px);
    border-color: rgba(92, 255, 145, 0.28);
    background: rgba(92, 255, 145, 0.06);
}

.filter-link-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-link-main i {
    color: var(--accent);
}

.filter-link-count {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mission-results {
    border-radius: 26px;
    padding: 22px;
}

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

.empty-state {
    grid-column: 1 / -1;
}

.tactical-category-card {
    padding: 16px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(12, 18, 26, 0.84), rgba(7, 11, 16, 0.94));
}

.category-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(45, 182, 255, 0.18);
    background: rgba(45, 182, 255, 0.08);
    color: var(--accent-2);
    font-size: 1rem;
}

.category-name {
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.firewall-section {
    margin-top: 18px;
}

.content-section,
.related-games,
.page-section {
    margin-top: 18px;
}

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

.support-grid,
.feature-grid,
.metric-grid,
.guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card,
.support-card,
.policy-card,
.metric-card,
.guide-card {
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.detail-card h3,
.support-card h3,
.policy-card h3,
.guide-card h3,
.content-prose h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metric-value {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.metric-label {
    color: var(--text-muted);
}

.note-card,
.success-card {
    border-left: 3px solid var(--accent);
}

.warning-card {
    border-left: 3px solid var(--accent-3);
}

.content-prose h1,
.content-prose h2,
.content-prose h3,
.about-container h1,
.about-container h2,
.about-container h3,
.contact-container h1,
.contact-container h2,
.contact-container h3,
.privacy-container h1,
.privacy-container h2,
.privacy-container h3,
.terms-container h1,
.terms-container h2,
.terms-container h3 {
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.content-prose h1,
.about-container h1,
.contact-container h1,
.privacy-container h1,
.terms-container h1 {
    margin: 12px 0 16px;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.content-prose h2,
.about-container h2,
.contact-container h2,
.privacy-container h2,
.terms-container h2 {
    margin: 24px 0 12px;
    font-size: 1.28rem;
}

.content-prose p + p,
.about-container p + p,
.contact-container p + p,
.privacy-container p + p,
.terms-container p + p {
    margin-top: 12px;
}

.section-lead,
.meta-chip strong,
.intel-card strong,
.detail-card p,
.content-prose p,
.about-container p,
.contact-container p,
.privacy-container p,
.terms-container p,
.tag {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.content-prose ul,
.content-prose ol,
.about-container ul,
.contact-container ul,
.privacy-container ul,
.terms-container ul {
    margin-top: 12px;
    padding-left: 18px;
}

.content-link-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.content-link-list a {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

.checklist {
    padding-left: 18px;
}

.checklist li + li {
    margin-top: 8px;
}

.mini-faq {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.mini-faq div {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.mini-faq dt {
    font-weight: 900;
    margin-bottom: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(92, 255, 145, 0.18);
    background: rgba(92, 255, 145, 0.06);
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-info {
    border-radius: 22px;
    padding: 20px;
}

.info-header {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-content ul {
    padding-left: 18px;
    margin-top: 10px;
}

.footer {
    width: min(calc(100% - 16px), var(--max-width));
    margin: 28px auto 24px;
    border-radius: 22px;
    border: 1px solid rgba(92, 255, 145, 0.14);
    background:
        linear-gradient(180deg, rgba(10, 15, 22, 0.88), rgba(5, 8, 12, 0.94));
    box-shadow: var(--shadow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 22px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-bottom {
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    width: min(360px, calc(100% - 32px));
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(92, 255, 145, 0.18);
    background: rgba(7, 11, 16, 0.94);
    box-shadow: var(--shadow);
}

.consent-banner__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.consent-banner__button {
    margin-top: 12px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(92, 255, 145, 0.28);
    background: rgba(92, 255, 145, 0.08);
    color: var(--text);
    cursor: pointer;
}

.games-section .games-grid {
    margin-top: 18px;
}

@media (max-width: 1200px) {
    .games-grid,
    .mission-grid,
    .home-expanded-grid,
    .home-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .frame-meta-grid,
    .detail-grid,
    .support-grid,
    .metric-grid,
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tactical-grid,
    .game-meta,
    .hero-info {
        grid-template-columns: 1fr;
    }

    .mission-board {
        grid-template-columns: 1fr;
    }

    .mission-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .header,
    .topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .topbar-actions,
    .search-bar {
        width: 100%;
    }

    .frame-meta-grid,
    .intel-grid,
    .games-grid,
    .compact-grid,
    .home-expanded-grid,
    .home-category-strip,
    .detail-grid,
    .support-grid,
    .metric-grid,
    .guide-grid,
    .tactical-categories,
    .mission-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .frame-console-main,
    .section-heading,
    .results-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .game-title-section {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .header,
    .topbar,
    .main-container,
    .page-container,
    .footer {
        width: min(calc(100% - 12px), var(--max-width));
    }

    .page-card,
    .content-prose,
    .about-container,
    .contact-container,
    .privacy-container,
    .terms-container,
    .tactical-panel,
    .game-meta,
    .mission-results,
    .sidebar-card,
    .frame-console {
        padding: 18px;
    }

    .page-title {
        font-size: clamp(1.9rem, 12vw, 3rem);
    }

    .frame-stage,
    .frame-stage iframe {
        min-height: 340px;
        height: 52vh;
    }

    .frame-corner-actions {
        right: 10px;
        bottom: 10px;
    }

    .frame-floating-btn {
        min-width: 46px;
        width: 46px;
        padding: 0;
    }

    .frame-floating-btn span {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #5cff91;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    list-style: none;
}

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

.faq-item[open] summary {
    color: #5cff91;
}

.faq-item p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}
