/* --- MASTER STYLE V13: TERMINAL GRID --- */
        :root {
            --bg-dark: #120a2e;
            --primary: #ff0055;   /* Hot Pink */
            --accent: #00f0ff;    /* Cyber Cyan */
            --gold: #ffe600;      /* Gold */
            --purple: #d600ff;    /* Neon Purple */
            --text-main: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: 'Rajdhani', sans-serif;
            min-height: 100vh;
            display: flex; flex-direction: column;
            overflow-x: hidden;
            
            background: 
                radial-gradient(circle at center, transparent 0%, #080515 100%),
                linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
                url('/images/main-bg.jpg') no-repeat center center fixed;
            background-size: cover, 50px 50px, 50px 50px, cover;
        }

        body::after {
            content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
            background-size: 100% 4px; z-index: 9999; pointer-events: none;
        }

        /* --- ГЛАВНЫЙ ЛОГОТИП (АНИМАЦИЯ "ЗАЖИГАНИЕ ДВИГАТЕЛЯ") --- */
        .hero-logo-container { position: relative; margin-bottom: 20px; }

        .hero-logo-img {
            max-width: 100%; width: 650px; height: auto; display: block;
            opacity: 0;
            animation: engineIgnite 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, heavyIdle 4s ease-in-out infinite 1.8s;
            filter: drop-shadow(0 0 15px rgba(255, 170, 0, 0));
        }

        @keyframes engineIgnite {
            0%   { opacity: 0; transform: scale(0.95); filter: brightness(0.5) drop-shadow(0 0 0 transparent); }
            10%  { opacity: 1; filter: brightness(1.5) drop-shadow(0 0 30px rgba(255,140,0,0.8)); }
            15%  { opacity: 0.2; filter: brightness(0.5); }
            25%  { opacity: 1; filter: brightness(2) drop-shadow(0 0 50px rgba(255,140,0,1)); }
            35%  { opacity: 0.5; filter: brightness(0.8); }
            100% { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 10px 15px rgba(0,0,0,0.8)); }
        }

        @keyframes heavyIdle {
            0%, 100% { transform: translateY(0); filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8)); }
            50% { transform: translateY(-4px); filter: drop-shadow(0 15px 20px rgba(255,140,0,0.3)); }
        }

        .hero-desc {
            font-size: 1.1rem; color: #ddd; background: rgba(0,0,0,0.6); padding: 20px; 
            border-left: 3px solid var(--accent); backdrop-filter: blur(5px);
            animation: slideUp 1s ease-out; max-width: 650px; margin-bottom: 30px; line-height: 1.6;
        }

        /* --- НОВОСТНОЙ БЛОК (КОНТЕЙНЕРЫ) --- */
        .terminal-frame {
            background: #050505; border: 2px solid #333; position: relative; 
            box-shadow: 0 0 30px rgba(0,0,0,0.8); display: flex; flex-direction: column;
            clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .hero-right { height: 400px; width: 100%; max-width: 400px; animation: fadeIn 1.5s ease-out; }
        .news-header-bar { background: #111; border-top: 2px solid var(--accent); border-bottom: 1px solid #333; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; }
        .news-header-title { font-family: 'Press Start 2P'; font-size: 10px; color: var(--accent); text-shadow: 0 0 5px var(--accent); }
        .live-indicator { display: flex; align-items: center; gap: 5px; font-family: 'Rajdhani'; font-weight: bold; font-size: 12px; color: var(--primary); }
        .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); animation: blink 1s infinite; }

        /* --- БЛОКИ ОСОБЕННОСТЕЙ --- */
        .content-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
        .feature-row { display: flex; align-items: center; gap: 60px; margin-bottom: 150px; opacity: 0; transform: translateY(50px) scale(0.95); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
        .feature-row.active { opacity: 1; transform: translateY(0) scale(1); }
        .feature-text { flex: 1; }
        .feature-title { font-family: 'Press Start 2P'; font-size: 1.8rem; color: var(--accent); margin-bottom: 20px; line-height: 1.5; text-shadow: 4px 4px 0 #000; border-left: 5px solid var(--accent); padding-left: 20px; }
        .feature-p { font-size: 1.1rem; line-height: 1.8; color: #ccc; text-align: justify; }

        /* Контейнеры картинок с исправленным свечением */
        .feature-terminal {
            flex: 1.2; height: 350px; background: #050505; border: 2px solid #444; 
            position: relative; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
            display: flex; flex-direction: column; transition: all 0.3s ease;
        }

        .feat-terminal-tuning:hover { border-color: var(--accent) !important; box-shadow: 0 0 40px rgba(0, 240, 255, 0.4) !important; }
        .feat-terminal-world:hover { border-color: var(--primary) !important; box-shadow: 0 0 40px rgba(255, 0, 85, 0.4) !important; }
        .feat-terminal-rpg:hover { border-color: var(--gold) !important; box-shadow: 0 0 40px rgba(255, 230, 0, 0.4) !important; }

        .feat-header { background: #151515; border-bottom: 1px solid #333; padding: 8px 15px; display: flex; justify-content: space-between; align-items: center; }
        .feat-header-txt { font-family: 'Press Start 2P'; font-size: 8px; color: #666; }
        .feature-img-wrap { flex-grow: 1; position: relative; overflow: hidden; }
        .feature-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: grayscale(0.4) contrast(1.1); }
        .feature-terminal:hover .feature-img { transform: scale(1.05); filter: grayscale(0) contrast(1); }
        .feature-row:nth-child(even) { flex-direction: row-reverse; }
        .feature-row:nth-child(even) .feature-title { border-left: none; border-right: 5px solid; padding-left: 0; padding-right: 20px; text-align: right; }
        .feature-row:nth-child(even) .feature-p { text-align: right; }

        /* --- СЕТКА: ROADMAP + SYS REQS --- */
        .info-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
            max-width: 1200px; margin: 0 auto 100px auto; padding: 0 20px;
            align-items: start;
        }

        /* УНИВЕРСАЛЬНЫЙ ТЕРМИНАЛ ДЛЯ ОБОИХ БЛОКОВ */
        .sys-terminal {
            background: #050505; border: 2px solid var(--accent);
            clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
            box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
            transition: 0.3s;
        }
        .sys-terminal:hover { box-shadow: 0 0 40px rgba(0, 240, 255, 0.2); }
        
        .sys-terminal.purple-theme {
            border-color: var(--purple);
            box-shadow: 0 0 30px rgba(214, 0, 255, 0.1);
        }
        .sys-terminal.purple-theme:hover { box-shadow: 0 0 40px rgba(214, 0, 255, 0.3); }
        
        .sys-header {
            background: #111; border-bottom: 1px solid #333; padding: 15px 20px; 
            display: flex; justify-content: space-between; align-items: center;
        }
        .sys-header-txt { font-family: 'Press Start 2P'; font-size: 10px; }
        .sys-header-status { font-family: 'Press Start 2P'; font-size: 10px; color: #555; }
        .sys-body { padding: 30px; }

        /* СПИСКИ ROADMAP (Вертикальные) */
        .roadmap-list { list-style: none; border-left: 2px solid #333; padding-left: 0; margin-left: 10px;}
        .roadmap-item { position: relative; padding-left: 30px; margin-bottom: 35px; }
        .roadmap-item:last-child { margin-bottom: 0; }
        
        .roadmap-item::before {
            content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px;
            background: #000; border: 2px solid #555; transform: rotate(45deg); transition: 0.3s;
        }
        
        .roadmap-item.done::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
        .roadmap-item.active::before { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 15px var(--purple); animation: blink 1s infinite; }
        
        .rm-phase { font-family: 'Press Start 2P'; font-size: 12px; color: #888; margin-bottom: 8px; display: block; }
        .roadmap-item.done .rm-phase { color: var(--accent); }
        .roadmap-item.active .rm-phase { color: var(--purple); text-shadow: 0 0 8px var(--purple); }
        
        .rm-desc { font-family: 'Rajdhani'; color: #ccc; font-size: 16px; display: block; line-height: 1.4; }

        /* ТАБЛИЦА SYSTEM REQUIREMENTS */
        .req-table { width: 100%; border-collapse: collapse; font-family: 'Rajdhani', sans-serif; font-size: 16px; }
        .req-table td { padding: 15px 0; border-bottom: 1px dashed #222; }
        .req-table tr:last-child td { border-bottom: none; }
        .req-label { color: #888; font-weight: bold; width: 35%; display: flex; align-items: center; gap: 10px; }
        .req-label i { color: var(--accent); font-size: 18px; width: 25px; text-align: center; }
        .req-val { color: white; }


        /* --- МОДАЛКИ (ВХОД/РЕГА) --- */
        .modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
        .modal.show { display: flex; }

        .terminal-box {
            background: #08080a; width: 420px; padding: 40px 30px; position: relative; display: flex; flex-direction: column;
            border: 2px solid transparent; background-image: linear-gradient(#08080a, #08080a), linear-gradient(135deg, var(--accent), var(--purple));
            background-origin: border-box; background-clip: padding-box, border-box;
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), inset 0 0 50px rgba(0,0,0,0.9);
            clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
        }
        
        .term-title { text-align: center; font-family: 'Press Start 2P'; color: var(--accent); font-size: 24px; text-shadow: 0 0 15px rgba(0,240,255,0.6); margin-bottom: 5px; letter-spacing: -1px; }
        .term-subtitle { text-align: center; font-family: 'Rajdhani'; color: #666; font-size: 12px; text-transform: uppercase; margin-bottom: 30px; letter-spacing: 2px; border-bottom: 1px solid #333; padding-bottom: 15px; }
        .term-group { margin-bottom: 20px; }
        .term-label { display: block; color: var(--accent); font-family: 'Press Start 2P'; font-size: 10px; margin-bottom: 8px; text-transform: uppercase; }
        .term-input { width: 100%; background: #0d0d10; border: 1px solid #333; color: white; padding: 12px 15px; font-family: 'Rajdhani'; font-size: 18px; outline: none; transition: 0.3s; }
        .term-input:focus { border-color: var(--accent); background: #111; box-shadow: 0 0 15px rgba(0,240,255,0.1); }
        .term-input::placeholder { color: #444; }
        .term-btn { width: 100%; background: var(--accent); color: black; border: none; padding: 15px; font-family: 'Press Start 2P'; font-size: 14px; text-transform: uppercase; cursor: pointer; margin-top: 10px; margin-bottom: 25px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: 0.2s; }
        .term-btn:hover { background: white; box-shadow: 0 0 20px white; }
        .term-footer { display: flex; justify-content: space-between; font-size: 12px; color: #555; font-family: 'Rajdhani'; }
        .term-link { color: #777; text-decoration: none; transition: 0.3s; cursor: pointer; }
        .term-link:hover { color: var(--accent); }

        .close {
            position: absolute; top: 15px; right: 20px; width: 32px; height: 32px; border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            color: #666; font-size: 24px; cursor: pointer; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            border: 1px solid transparent; z-index: 10;
        }
        .close:hover { color: var(--primary); border-color: var(--primary); background: rgba(255, 0, 85, 0.1); transform: rotate(90deg); box-shadow: 0 0 15px var(--primary); }

        /* --- МОДАЛКА НОВОСТЕЙ (JDM CONFIRM) --- */
        .jdm-confirm {
            background: #0b0b0f !important; background-image: linear-gradient(0deg, rgba(0,0,0,0.3) 50%, transparent 50%); border: 2px solid #333 !important;
            box-shadow: 0 0 0 1000px rgba(0,0,0,0.5) !important; padding: 0 !important; max-width: 600px !important; width: 95%; transform: none !important; animation: zoomIn 0.3s;
            display: flex; flex-direction: column; position: relative;
        }
        .alert-header { background: repeating-linear-gradient(45deg, #111, #111 10px, #222 10px, #222 20px); border-bottom: 2px solid var(--accent); padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
        .alert-label { background: var(--accent); color: black; font-family: 'Press Start 2P'; font-size: 10px; padding: 5px 8px; box-shadow: 2px 2px 0 black; }
        .alert-body { padding: 20px; text-align: left; background: radial-gradient(circle at center, #151515 0%, #050505 100%); }
        .jdm-btn-row { display: flex; gap: 15px; justify-content: center; margin-top: 20px; }
        .jdm-confirm-btn { padding: 12px 30px; border: none; cursor: pointer; font-family: 'Press Start 2P'; font-size: 10px; text-transform: uppercase; transition: 0.2s; transform: skewX(-15deg); background: var(--accent); color: black; box-shadow: 0 4px 0 rgba(0,0,0,0.5); }
        .jdm-confirm-btn:hover { background: white; box-shadow: 0 0 15px white; }
        .jdm-confirm-btn span { display: inline-block; transform: skewX(15deg); }

        /* --- NAV & FOOTER --- */
        nav { height: 80px; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent); position: fixed; top: 0; left: 0; width: 100%; z-index: 100; transition: 0.3s; }
        nav.scrolled { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); }
        .logo-small { height: 40px; cursor: pointer; }
        .nav-right { display: flex; align-items: center; gap: 20px; }
        .nav-btn { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 8px 20px; font-family: 'Press Start 2P', cursive; font-size: 10px; cursor: pointer; transition: 0.3s; text-transform: uppercase; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
        .nav-btn:hover { background: var(--accent); color: black; box-shadow: 0 0 15px var(--accent); }
        .lang-dropdown { position: relative; font-family: 'Press Start 2P'; font-size: 10px; }
        .lang-current { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 8px 15px; cursor: pointer; display: flex; align-items: center; gap: 10px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
        .lang-list { position: absolute; top: 110%; right: 0; background: #111; border: 1px solid #333; display: none; flex-direction: column; width: 100%; z-index: 200; }
        .lang-list.show { display: flex; }
        .lang-option { padding: 10px; color: #888; cursor: pointer; text-align: center; border-bottom: 1px solid #222; }
        .lang-option:hover { background: var(--accent); color: black; }

        .hero-section { height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; }
        .hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 50px; width: 90%; max-width: 1400px; align-items: center; }
        .hero-left { display: flex; flex-direction: column; justify-content: center; }
        .scroll-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; color: var(--accent); font-size: 20px; opacity: 0.7; cursor: pointer; }

        footer { position: relative; margin-top: auto; padding: 25px 0; text-align: center; background: transparent; border-top: 1px solid rgba(0, 240, 255, 0.1); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); font-family: 'Rajdhani', sans-serif; overflow: hidden; z-index: 10; }
        footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 300px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 15px var(--accent); }
        .footer-content { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 12px; color: #666; letter-spacing: 1px; }
        .footer-text { color: #888; text-transform: uppercase; font-weight: 600; }
        .footer-sep { color: #444; }
        .footer-copy { font-family: monospace; color: #555; }
        .logo-switcher { position: relative; width: 36px; height: 14px; display: flex; align-items: center; justify-content: center; margin-left: 10px; }
        .logo-state { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; }
        .state-text { font-family: 'Press Start 2P', cursive; font-size: 14px; color: var(--accent); text-shadow: 0 0 10px var(--accent); animation: cycle-text 8s infinite; }
        .state-text .white-u { color: white; text-shadow: 0 0 10px white; }
        .state-bars { animation: cycle-bars 8s infinite; opacity: 0; }
        .logo-illu-pro { display: inline-flex; flex-direction: column; align-items: center; position: relative; width: 24px; margin-bottom: 2px; }
        .bars { display: flex; gap: 2px; align-items: flex-end; margin-bottom: -3px; z-index: 2; }
        .bar { width: 3px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: glitch-bar 2s infinite; }
        .b1 { height: 10px; } .b2 { height: 6px; animation-delay: 0.2s; } .b3 { height: 12px; animation-delay: 0.1s; }
        .base-u { font-family: 'Press Start 2P'; font-size: 10px; color: white; text-shadow: 0 0 5px white; line-height: 1; transform: scaleX(2.0); position: relative; z-index: 1; }
        @keyframes cycle-text { 0%, 45% { opacity: 1; } 48%, 95% { opacity: 0; } 100% { opacity: 1; } }
        @keyframes cycle-bars { 0%, 45% { opacity: 0; } 48%, 95% { opacity: 1; } 100% { opacity: 0; } }
        @keyframes glitch-bar { 0%, 90%, 100% { transform: skewX(0); } 92% { transform: skewX(-20deg) scaleY(1.3); } 94% { transform: skewX(20deg); } }
        @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
        @keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }

        @media (max-width: 900px) {
            .hero-grid { grid-template-columns: 1fr; } 
            .hero-right { display: none; }
            .feature-row { flex-direction: column !important; gap: 30px; text-align: center; margin-bottom: 60px; }
            .feature-terminal { width: 100%; height: 200px; }
            .hero-logo-img { width: 80%; }
            .info-grid { grid-template-columns: 1fr; gap: 40px; }
            .footer-content { flex-direction: column; gap: 8px; } .footer-sep { display: none; }
        }
        
        .modal-btn { width: 100%; background: var(--accent); color: black; border: none; padding: 12px; font-family: 'Press Start 2P'; font-size: 12px; cursor: pointer; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); transition: 0.2s; }
        .modal-btn:hover { filter: brightness(1.2); transform: scale(1.02); }
        