:root {
    --bg: #030303;
    --text: #f5f5f7;
    --text-muted: #86868b;
    --text-dim: #424245;
    --border: rgba(255, 255, 255, 0.035);
    --border-hover: rgba(255, 255, 255, 0.09);
    --accent: #ffffff;
    --accent-inverse: #000000;
    
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-display: 'Syne', sans-serif;
    
    --glow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* Reset and basic setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    overflow-y: auto;
    height: -webkit-fill-available;
}

body {
    position: relative;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth inertia scrolling on mobile */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbars for absolute clean desktop aesthetics */
html {
    scrollbar-width: none; /* Firefox */
}
::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Scanlines and Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    pointer-events: none;
    z-index: 999;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.15) 50%
    );
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.4;
}

/* Header styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 83px; /* Allow vertical stretching if text wrapping occurs */
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 3px; /* Wide, aesthetic monospaced spacing */
    text-decoration: none !important;
    color: var(--text) !important; /* Fixed: explicitly set color to avoid browser link color overriding */
    transition: opacity 0.2s ease;
}

.logo * {
    font-family: var(--font-mono) !important;
    color: var(--text) !important;
}

.logo:hover {
    opacity: 0.8;
}

.logo-svg {
    height: 22px;
    width: auto;
    display: inline-block;
    color: var(--accent) !important;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background-color: #30d158 !important; /* Apple system green */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(48, 209, 88, 0.4);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 8px rgba(48, 209, 88, 0.6); }
}

.status-lbl {
    color: var(--text-muted);
}

/* Container spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: calc(100vh - 83px); /* Full height viewport on desktop start screen */
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 45px;
}

.hero-content {
    flex: 1;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-graphic {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
}

.tech-tag {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -4px;
    color: var(--accent);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button UI */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-filled {
    background-color: var(--accent);
    color: var(--accent-inverse);
    border: 1px solid var(--accent);
}

.btn-filled:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: var(--glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.stat-card {
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.01);
    transition: border-color 0.4s ease, 
                background-color 0.4s ease, 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0); /* Force GPU hardware compositing */
}

.stat-card.reveal-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                background-color 0.4s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    background-color: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-num .unit {
    font-size: 1.5rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-left: 2px;
}

.stat-name {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Dynamic Visualization Diagram */
.visualization {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.vis-header {
    margin-bottom: 30px;
}

.vis-header h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vis-content {
    background: rgba(13, 13, 15, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-diagram {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.desktop-diagram {
    display: block;
}

.mobile-diagram {
    display: none;
}

/* Specifications Section */
.specification {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 60px;
}

.section-title span {
    color: var(--text-muted);
    margin-right: 8px;
}

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

.spec-card {
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 12px;
    transition: border-color 0.4s ease, 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease;
}

.spec-card.reveal-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.spec-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.spec-index {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.spec-title {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
}

.spec-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Terminal Request Section */
.request-console {
    padding: 100px 0 140px 0;
}

.terminal {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(10, 10, 12, 0.75);
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.terminal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px; /* Border thickness */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.terminal-bar {
    background-color: #121214;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.win-controls {
    display: flex;
    gap: 6px;
    grid-column: 1;
}

.ctrl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-close { background-color: #2a2a2c; }
.dot-min { background-color: #2a2a2c; }
.dot-expand { background-color: #2a2a2c; }

.terminal-title {
    grid-column: 2;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-panel {
    padding: 30px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a5a5a8;
    min-height: 300px;
    max-height: 450px;
    overflow-y: auto;
}

.term-line {
    margin-bottom: 14px;
    white-space: pre-wrap;
    word-break: break-all;
}

.term-prompt {
    color: var(--accent);
    font-weight: 500;
    margin-right: 8px;
}

.term-info { color: #8a8a8f; }
.term-success { color: #f5f5f7; font-weight: bold; }
.term-warning { color: #86868b; }

.terminal-form {
    margin-top: 20px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.terminal-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px dashed var(--text-dim);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    width: 100%;
    max-width: 380px;
    min-width: 0; /* Prevents overflow inside flex columns on mobile devices */
    outline: none;
    padding: 6px 0;
    transition: border-bottom-color 0.3s;
}

.terminal-input::placeholder {
    color: var(--text-dim);
}

.terminal-input:focus {
    border-bottom-color: var(--accent);
}

.form-action-row {
    display: flex;
    justify-content: flex-start;
}

.terminal-btn {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.terminal-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.02);
}

.term-cursor {
    animation: termBlink 1s step-end infinite;
    color: var(--accent);
    font-weight: bold;
}

@keyframes termBlink {
    from, to { color: transparent; }
    50% { color: var(--accent); }
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--border);
    padding: 50px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    background-color: #030303;
}

/* Reveal on scroll base classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero reveal animations */
.reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4, .reveal-delay-5 {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.25s; }
.reveal-delay-3 { animation-delay: 0.4s; }
.reveal-delay-4 { animation-delay: 0.55s; }
.reveal-delay-5 { animation-delay: 0.7s; }

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

/* Benchmarks Section */
.benchmarks {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.benchmarks-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.bench-item {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.01);
}

.bench-item-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.bench-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    gap: 20px;
}

.bench-row:last-child {
    margin-bottom: 0;
}

.bench-row-label {
    width: 180px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.bench-row-label.font-bold {
    color: var(--accent);
    font-weight: 500;
}

.bench-row-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.bench-row-bar {
    height: 12px;
    border-radius: 2px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.benchmarks.visible .bench-row-bar {
    width: var(--target-width);
}

.bench-row-bar.default {
    background-color: var(--text-dim);
    opacity: 0.3;
}

.bench-row-bar.optimized {
    background-color: var(--accent);
    box-shadow: var(--glow);
}

.bench-row-value {
    color: var(--text-muted);
    width: 60px;
    flex-shrink: 0;
}

.bench-row-value.highlight {
    color: var(--accent);
    font-weight: bold;
}

/* SVG Flow Arrows Animation */
.flow-arrow {
    stroke-dasharray: 6;
    animation: flowArrowDash 1.2s linear infinite;
}

@keyframes flowArrowDash {
    to {
        stroke-dashoffset: -12;
    }
}

/* Games Section */
.games-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.game-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.01);
    cursor: default;
    transition: border-color 0.3s ease, 
                color 0.3s ease, 
                box-shadow 0.3s ease, 
                transform 0.3s ease;
}

.game-tag.reveal-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                color 0.3s ease, 
                box-shadow 0.3s ease;
}

.game-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    transition: border-color 0.3s ease, 
                background-color 0.3s ease;
}

.faq-item.reveal-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                background-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--accent);
    transition: color 0.3s;
}

.faq-question-btn:hover .faq-title {
    color: var(--accent);
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stagger scroll animation delays */
.stats-grid .stat-card.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stats-grid .stat-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stats-grid .stat-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.spec-grid .spec-card.reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.spec-grid .spec-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.spec-grid .spec-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.25s; }
.spec-grid .spec-card.reveal-on-scroll:nth-child(4) { transition-delay: 0.35s; }

.games-grid .game-tag.reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.games-grid .game-tag.reveal-on-scroll:nth-child(8) { transition-delay: 0.40s; }

.faq-list .faq-item.reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.faq-list .faq-item.reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.faq-list .faq-item.reveal-on-scroll:nth-child(3) { transition-delay: 0.25s; }

@media (max-width: 768px) {
    /* Отключаем тяжелые графические эффекты рендеринга для плавной прокрутки на телефонах */
    .scanlines, .grid-overlay {
        display: none !important;
    }
    .header {
        padding: 20px 5%;
        background-color: #030303 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .hero {
        padding: 60px 0 110px 0; /* Extra bottom padding for scroll indicator */
        min-height: calc(100vh - 83px); /* Match desktop start screen fill */
        display: flex;
        align-items: center;
        position: relative;
    }
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .hero-graphic {
        display: block !important;
        position: absolute;
        top: 140px;
        left: 50%;
        transform: translateX(-50%) scale(1.6);
        opacity: 0.07 !important;
        animation: none !important;
        pointer-events: none;
        z-index: -1;
        width: 100%;
        max-width: 280px;
    }
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -2px;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .tech-tag {
        font-size: 0.75rem;
        margin-bottom: 16px;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .stat-card {
        padding: 24px;
        border-radius: 12px;
    }
    .stat-num {
        font-size: 2.4rem;
    }
    .stat-num .unit {
        font-size: 1.1rem;
    }
    .stat-name {
        font-size: 0.8rem;
    }
    .stat-desc {
        font-size: 0.85rem;
    }
    .spec-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .spec-title {
        font-size: 1.15rem;
    }
    .spec-text {
        font-size: 0.85rem;
    }
    .vis-content {
        padding: 15px;
        border-radius: 12px;
    }
    .desktop-diagram {
        display: none !important;
    }
    .mobile-diagram {
        display: block !important;
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    .bench-item {
        padding: 20px;
        border-radius: 12px;
    }
    .bench-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 20px;
    }
    .bench-row:last-child {
        margin-bottom: 0;
    }
    .bench-row-label {
        width: auto;
    }
    .bench-row-bar-container {
        width: 100%;
    }
    .game-tag {
        font-size: 0.75rem;
        padding: 8px 16px;
        border-radius: 8px;
    }
    .faq-title {
        font-size: 1rem;
    }
    .faq-answer {
        font-size: 0.85rem;
    }
    .terminal-panel {
        font-size: 0.8rem;
        padding: 20px;
    }
    .terminal-input {
        font-size: 0.85rem;
    }
    .terminal-btn {
        font-size: 0.75rem;
        padding: 8px 16px;
        border-radius: 8px;
    }

}

@media (max-width: 480px) {
    .header {
        padding: 15px 16px;
    }
    .logo {
        font-size: 0.95rem; /* Shrink logo title to fit smaller screens */
    }
    .system-status {
        padding: 4px 10px;
        gap: 6px;
    }
}

/* Scroll Indicator to fill empty bottom space on desktop and mobile */
.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    opacity: 0.4;
    transition: opacity 0.3s;
    pointer-events: none;
}

.scroll-text {
    display: block;
    width: max-content;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-indent: 2px; /* Offset the letter-spacing of the last character to ensure pixel-perfect centering */
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--border-hover), transparent);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.scroll-dot {
    width: 1px;
    height: 12px;
    background: var(--text);
    position: absolute;
    top: -12px;
    left: 0;
    animation: scrollPulse 2.5s infinite cubic-bezier(0.15, 0.85, 0.3, 1);
}

@keyframes scrollPulse {
    0% {
        top: -12px;
        opacity: 0;
    }
    30% {
        top: 0px;
        opacity: 1;
    }
    100% {
        top: 40px;
        opacity: 0;
    }
}
