:root {
    --bg-dark: #02010a;
    --accent-purple: #8000ff;
    --accent-blue: #0055ff;
    --accent-cyan: #00f0ff;
    --text-main: #ffffff;
    --text-dim: #9290aa;
    
    --font-head: 'Chakra Petch', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* WebGL Background Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Ambient Glow Overlay */
.ambient-glow {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, rgba(128, 0, 255, 0.12) 0%, rgba(2, 1, 10, 0.95) 75%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation Header */
/* Note: the translucent/blurred background lives on a ::before pseudo-element
   rather than directly on <nav>. This is intentional: backdrop-filter on an
   element turns it into a containing block for position:fixed descendants in
   Safari/iOS, which would otherwise trap the fixed mobile .nav-links panel
   inside nav's small bounding box and make it unclickable. */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 7%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 1, 10, 0.85) 0%, transparent 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.logo-mark {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px var(--accent-purple);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    background: rgba(0, 240, 255, 0.05);
}

.nav-cta:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

/* Mobile Nav Toggle (hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    z-index: 200;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 1, 10, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 140;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 100px;
    position: relative;
}

.hero-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    background: linear-gradient(180deg, #FFFFFF 40%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 1200px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 580px;
    margin-bottom: 40px;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-cyan), transparent);
    animation: pulseScroll 2s infinite;
}

@keyframes pulseScroll {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Container Sections */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 7%;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

/* Glass Cards */
.glass-card {
    background: rgba(10, 8, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(15, 12, 40, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(128, 0, 255, 0.15);
    transform: translateY(-4px);
}

/* Game Showcase Grid */
.game-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.game-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
}

.game-title {
    font-family: var(--font-head);
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.game-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.game-spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.game-spec-list span {
    display: block;
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-bottom: 6px;
}

/* Фрейм для медиа (фото/видео) */
.game-visual-frame {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle at center, rgba(128, 0, 255, 0.2) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

/* Стили для встроенных картинок и видео в медиафрейме */
.media-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.media-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Store & Social buttons */
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.store-group,
.social-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(128, 0, 255, 0.12));
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.store-btn svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-btn .store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-family: var(--font-mono);
}

.store-btn .store-text small {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.store-btn .store-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.store-btn--active {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(0, 240, 255, 0.12));
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.35), 0 0 36px rgba(34, 197, 94, 0.2);
    animation: pulse-green 2.4s ease-in-out infinite;
}

.store-btn--active .store-text strong {
    color: #22c55e;
}

.store-btn--active .store-text small {
    color: rgba(34, 197, 94, 0.85);
}

.store-btn--active:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.55), 0 0 52px rgba(34, 197, 94, 0.3);
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 18px rgba(34, 197, 94, 0.35), 0 0 36px rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow: 0 0 28px rgba(34, 197, 94, 0.6), 0 0 56px rgba(34, 197, 94, 0.35);
    }
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.p-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.p-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.p-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Grid */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.contact-value {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
}

.contact-value a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--accent-cyan);
}

/* Footer */
footer {
    padding: 60px 7%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    max-width: 1300px;
    margin: 0 auto;
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 24px;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 24px;
}

.footer-links a {
    margin-left: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand a {
    margin-left: 0;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-legal {
    font-size: 12px;
    line-height: 1.5;
}

/* Sub-page Hero */
.page-hero {
    padding: 160px 7% 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.eyebrow {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 40%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 760px;
    font-weight: 300;
}

.lead a {
    color: var(--accent-cyan);
}

.section-tight {
    padding: 0 7% 160px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Legal / Content Block Typography */
.content-block {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.75;
}

.updated-note {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding: 5px 14px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.content-block p,
.content-block ul {
    margin-bottom: 18px;
}

.content-block h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 48px 0 18px;
}

.content-block h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: #fff;
    margin: 28px 0 14px;
}

.content-block strong {
    color: #fff;
}

.content-block a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.content-block a:hover {
    text-decoration: underline;
}

.content-block ul {
    padding-left: 22px;
}

.content-block li {
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

/* Link Cards (Contact quick links) */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.link-card {
    background: rgba(10, 8, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 36px;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    transition: all 0.4s ease;
}

.link-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-4px);
}

.link-card .lc-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.link-card .lc-icon svg {
    width: 100%;
    height: 100%;
}

.link-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.link-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.link-card .lc-action {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Games Listing Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.game-card {
    background: rgba(10, 8, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.4s ease;
}

.game-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(128, 0, 255, 0.15);
    transform: translateY(-4px);
}

.game-card-media {
    height: 220px;
    background: radial-gradient(circle at center, rgba(128, 0, 255, 0.25) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-body {
    padding: 32px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-dim);
    border-radius: 4px;
}

.tag.status-soon {
    color: var(--accent-cyan);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.game-card-body h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.game-card-body p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.game-card .lc-action {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Screenshot Gallery */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.shot {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 1, 10, 0.8);
    overflow: hidden;
}

.shot img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.shot img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* 9:16 vertical video frame */
.game-visual-frame--vertical {
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: 800px;
    cursor: pointer;
}

.game-visual-frame--vertical video {
    cursor: pointer;
    pointer-events: none;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 3;
    cursor: pointer;
}

#trailer-frame:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-overlay svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

#trailer-frame:hover .video-play-overlay svg {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 1, 10, 0.96);
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s, transform 0.3s;
}

.lightbox-close {
    top: 16px;
    right: 24px;
    font-size: 48px;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-cyan);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    padding: 16px;
    opacity: 0.7;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox[data-type="video"] .lightbox-prev,
.lightbox[data-type="video"] .lightbox-next {
    display: none;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 700px) {
    .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA Banner */
.cta-banner {
    text-align: center;
    padding: 60px 40px;
}

.cta-banner h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 32px;
}

@media (max-width: 900px) {
    .game-grid { grid-template-columns: 1fr; }
    .container { padding: 60px 6%; }
    .page-hero { padding: 130px 6% 40px; }
    .section-tight { padding: 0 6% 100px; }

    nav { padding: 20px 6%; }

    .nav-cta { display: none; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 32px;
        padding: 100px 40px;
        background: rgba(6, 4, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 150;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links a {
        margin-left: 0;
    }

    .footer-brand {
        align-items: center;
    }

    .glass-card {
        padding: 32px 24px;
    }

    .game-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .game-spec-list {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

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

@media (max-width: 600px) {
    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .store-buttons {
        gap: 10px;
    }

    .store-group {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    .store-btn {
        min-width: 0;
        flex: 1 1 calc(50% - 5px);
        padding: 10px 14px;
        gap: 8px;
    }

    .store-btn svg {
        width: 20px;
        height: 20px;
    }

    .store-btn .store-text small {
        font-size: 0.6rem;
    }

    .store-btn .store-text strong {
        font-size: 0.8rem;
    }

    .social-btn {
        width: 44px;
        height: 44px;
    }

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

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

    .game-visual-frame {
        height: 260px;
    }

    .game-visual-frame--vertical {
        height: auto;
        max-height: 520px;
    }
}