       /* ==============================================
           RESET & GLOBAL STYLES
           ============================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #000000;
            font-family: 'Share Tech Mono', 'Courier New', monospace;
            color: #0afff0;
            line-height: 1.5;
            text-shadow: 0 0 3px #0afff0, 0 0 8px #00ccff, 0 0 12px #00a6ff;
        }

        /* ==============================================
           FIXED HEADER (ОСТАЁТСЯ ПРИ СКРОЛЛЕ)
           ============================================== */
        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.92);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #0afff0;
            box-shadow: 0 0 20px rgba(10, 255, 240, 0.2);
            z-index: 1000;
            padding: 0.8rem 2rem;
        }

        /* --- ЗОНА ЛОГОТИПА (ИКОНКА СЛЕВА И СПРАВА ОТ НАЗВАНИЯ) --- */
        .logo-area {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .logo-icon-left, .logo-icon-right {
            flex-shrink: 0;
        }

        /* Стили для иконки smallicon.gif — НИКАКИХ ТЕНЕЙ, 100% масштаб */
        .custom-icon {
            width: auto;
            height: auto;
            display: block;
            filter: none !important;
            box-shadow: none !important;
            text-shadow: none !important;
            transition: none !important;
        }

        .logo-icon-left:hover .custom-icon,
        .logo-icon-right:hover .custom-icon {
            filter: none !important;
            box-shadow: none !important;
            transform: none !important;
        }

        /* ФУТУРИСТИЧЕСКИЙ ШРИФТ ЗАГОЛОВКА ЛОГОТИПА */
        .logo-title {
            font-family: 'Orbitron', 'Audiowide', 'Rajdhani', 'Courier New', monospace;
            font-size: 2rem;
            font-weight: 900;
            letter-spacing: 5px;
            text-transform: uppercase;
            background: linear-gradient(135deg, #e0e8ff, #b0c4ff, #d9d9ff, #c0c0ff, #aaffff);
            -webkit-background-clip: text;
            background-clip: text;
            color: #0afff0;
            text-shadow: 0 0 5px #0afff0, 0 0 15px #0afff0, 0 0 30px #00ccff;
            white-space: nowrap;
        }


        /* --- ОСНОВНОЙ КОНТЕНТ (отступ сверху чтобы не перекрывался фиксированным хедером) --- */
        .main-content {
            max-width: 1300px;
            margin: 0 auto;
            padding: 200px 2rem 3rem 2rem;
            background: rgba(0, 0, 0, 0.75);
            border-left: 1px solid #0afff044;
            border-right: 1px solid #0afff044;
            min-height: 85vh;
        }

        /* ==============================================
           СТИЛИ ДЛЯ ТЕКСТА, ЗАГОЛОВКОВ, ИКОНОК
           ============================================== */
        h1 {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #0afff0;
            text-shadow: 0 0 5px #0afff0, 0 0 15px #0afff0, 0 0 30px #00ccff;
            border-left: 6px solid #0afff0;
            padding-left: 1.2rem;
            margin: 1.8rem 0 1rem 0;
        }

        h2 {
            font-size: 2.2rem;
            color: #5efff5;
            text-shadow: 0 0 4px #0afff0, 0 0 12px #00e0ff;
            margin-top: 2rem;
            margin-bottom: 1rem;
            border-bottom: 1px dashed #0afff0;
            display: inline-block;
            padding-bottom: 6px;
        }

        h3 {
            font-size: 1.8rem;
            color: #3efff0;
            text-shadow: 0 0 3px #0afff0, 0 0 10px #2affee;
            margin: 1.4rem 0 0.7rem 0;
        }
        .error {
            color: #FF0000;
            text-shadow: 0 0 3px #700000, 0 0 10px #b00000;
            text-align:center;
        }
        h4 {
            font-size: 1.4rem;
            color: #a0fff8;
            text-shadow: 0 0 3px #0afff0, 0 0 7px #00ccff;
            margin: 1rem 0 0.5rem 0;
        }

        p {
            font-size: 1.1rem;
            margin-bottom: 1.2rem;
            color: #b3ffff;
            text-shadow: 0 0 2px #0affaa;
            background: rgba(10, 255, 240, 0.03);
            padding: 0.4rem 0;
            line-height: 1.5;
        }

        /* БЛОКИ С ИКОНКАМИ */
        .icon-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.8rem;
            margin: 2rem 0;
            justify-content: center;
            background: #0a0f0f55;
            padding: 1.5rem;
            border: 1px solid #0afff033;
        }

        .icon-item {
            text-align: center;
            width: 80px;
            transition: transform 0.2s;
        }

        .icon-item svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 0 4px cyan);
        }

        .icon-item span {
            display: block;
            font-size: 0.7rem;
            margin-top: 6px;
            color: #aaffff;
            text-shadow: none;
            font-family: monospace;
        }

        .icon-item:hover {
            transform: translateY(-5px);
        }

        /* ВСТАВКА ИКОНОК В ТЕКСТ */
        .inline-icon {
            display: inline-block;
            width: 24px;
            height: 24px;
            vertical-align: middle;
            margin: 0 4px;
            filter: drop-shadow(0 0 2px cyan);
        }

        hr {
            border: none;
            height: 2px;
            background: linear-gradient(90deg, #0afff0, #a855f7, #000);
            margin: 2rem 0;
        }

        .code-tag {
            background: #101515;
            padding: 0.1rem 0.4rem;
            border-radius: 5px;
            color: #0affcc;
            border: 0.5px solid #0afff0;
        }

        /* ССЫЛКИ */
        a {
            color: #ffea70;
            text-decoration: none;
            font-weight: bold;
            transition: 0.2s;
            text-shadow: 0 0 3px yellow;
            font-family: monospace;
            background: #101515;
            padding: 0.1rem 0.4rem;
            border-radius: 5px;
            border: 0.5px solid #ffea70;
        }
        a:hover {
            color: white;
            text-shadow: 0 0 8px cyan;
        }

        /* ФУТЕР */
        footer {
            margin-top: 4rem;
            text-align: center;
            font-size: 0.8rem;
            opacity: 0.8;
            border-top: 1px solid #0afff044;
            padding-top: 2rem;
        }

        @media (max-width: 800px) {
            .logo-title {
                font-size: 1.2rem;
                letter-spacing: 2px;
                white-space: normal;
                text-align: center;
            }
            .logo-area {
                gap: 0.8rem;
            }
            .main-content {
                padding-top: 220px;
            }
            .nav-links {
                gap: 1rem;
            }
        }
        
        /* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ЭКРАНА ВВОДА ===== */
        .input-container {
            background-color: rgba(10, 20, 25, 0.85);
            backdrop-filter: blur(4px);
            padding: clamp(20px, 4vh, 40px);
            border-radius: 20px;
            box-shadow: 0 0 30px rgba(10, 255, 240, 0.2), inset 0 0 10px rgba(10, 255, 240, 0.1);
            text-align: center;
            max-width: 90%;
            width: 500px;
            margin: 0 auto;
            border: 1px solid #0afff0;
        }

        .description {
            font-size: clamp(18px, 2vh, 24px);
            color: #0afff0;
            margin-bottom: clamp(10px, 2vh, 15px);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: bold;
        }

        #codeInput {
            width: clamp(250px, 40vw, 400px);
            padding: clamp(8px, 1.5vh, 12px);
            font-size: clamp(16px, 2vh, 20px);
            border: 2px solid #0afff0;
            background: #000000aa;
            color: #0afff0;
            border-radius: 8px;
            text-align: center;
            margin-bottom: clamp(10px, 2vh, 15px);
            font-family: monospace;
            letter-spacing: 1px;
        }
        #codeInput:focus {
            outline: none;
            box-shadow: 0 0 15px cyan;
            border-color: #ffffff;
        }

        .button-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        button {
            padding: clamp(8px, 1.5vh, 12px) clamp(20px, 4vw, 40px);
            font-size: clamp(16px, 1.8vh, 18px);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: #101515;
            color: #0afff0;
            border: 1px solid #0afff0;
        }
        button:hover {
            background: #0afff0;
            color: #000000;
            box-shadow: 0 0 15px cyan;
            text-shadow: none;
        }

        #submitBtn {
            background-color: #0a4f4a;
            border-color: #0afff0;
        }
        #submitBtn:hover {
            background-color: #0afff0;
        }

        #keyboardBtn {
            background-color: #1a2f3f;
        }

        .keyboard-overlay {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 33.33vh;
            background-color: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(12px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            animation: slideUp 0.3s ease-out;
            border-top: 1px solid #0afff0;
        }

        .keyboard-overlay.active {
            display: flex;
        }

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        .keyboard-container {
            width: 95%;
            height: 95%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .keyboard {
            background-color: #0a0f12;
            padding: clamp(10px, 1.5vh, 20px);
            border-radius: 20px;
            box-shadow: 0 0 30px rgba(10, 255, 240, 0.3);
            border: 1px solid #0afff0;
        }

        .keyboard.numpad {
            width: auto;
            max-width: 400px;
        }

        .keyboard-row {
            display: flex;
            justify-content: center;
            margin-bottom: clamp(4px, 0.8vh, 8px);
        }

        .key {
            width: clamp(40px, 5vw, 90px);
            height: clamp(40px, 5vh, 90px);
            margin: clamp(3px, 0.5vh, 5px);
            background-color: #151f22;
            border: 2px solid #0afff0;
            border-radius: 16px;
            font-size: clamp(20px, 3vh, 28px);
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.1s;
            user-select: none;
            color: #0afff0;
            box-shadow: 0 0 5px rgba(10, 255, 240, 0.3);
        }

        .key:hover {
            background-color: #0afff0;
            color: #000;
            transform: scale(1.02);
            box-shadow: 0 0 15px cyan;
        }

        .key:active {
            transform: scale(0.95);
        }

        .key.backspace {
            font-size: clamp(18px, 2.5vh, 24px);
        }

        .key.dash {
            background-color: #1a3a3a;
        }

        .key.close {
            background-color: #aa2e2e;
            color: white;
            width: clamp(190px, 25vw, 290px);
            font-size: clamp(16px, 2vh, 20px);
            font-weight: normal;
            border-color: #ff6666;
        }

        .key.close:hover {
            background-color: #ff5555;
            color: #000;
            border-color: white;
        }

        @media (max-height: 600px) {
            .keyboard-overlay { height: 40vh; }
        }
        @media (max-width: 1024px) {
            .key {
                width: clamp(30px, 6vw, 50px);
                height: clamp(30px, 3.5vh, 45px);
            }
        }
        
        /* фоновый слой */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/images/background.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.22;
            z-index: -2;
            pointer-events: none;
        }
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, transparent 40%, #000000aa 90%);
            z-index: -1;
            pointer-events: none;
        }
