
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body, html {
            height: 100%;
            width: 100%;
            overflow: hidden;
            background-color: #0d0d0d;
        }

        /* ---------- BACKGROUND ---------- */
        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('FonKinoshka_1920x10880_2026.jpg');
            background-size: cover;
            background-position: top center;
            background-repeat: no-repeat;
            z-index: 0;
        }

        /* ---------- SEMI-TRANSPARENT DARK OVERLAY ---------- */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        /* ---------- LOGIN FORM ---------- */
        .login-form-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            background-color: rgba(20, 20, 20, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 40px 35px;
            width: 380px;
            max-width: 90vw;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .login-form-container.visible {
            opacity: 1;
            visibility: visible;
        }

        .form-title {
            color: #eaeaea;
            font-size: 20px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 30px;
            line-height: 1.4;
            letter-spacing: 0.3px;
        }

        .input-group {
            margin-bottom: 18px;
        }

        .input-group label {
            display: block;
            color: #bbb;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .input-group input {
            width: 100%;
            padding: 12px 15px;
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            color: #fff;
            font-size: 15px;
            outline: none;
            transition: border-color 0.3s;
        }

        .input-group input:focus {
            border-color: #6aa6ed;
        }

        .input-group input::placeholder {
            color: #888;
        }

        .button-wrapper {
            position: relative;
        }

        .enter-btn {
            width: 100%;
            padding: 13px;
            margin-top: 8px;
            background: linear-gradient(135deg, #2c3e50, #4a6580);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 6px;
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .enter-btn:hover {
            background: linear-gradient(135deg, #3d5069, #5b7896);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .enter-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* ---------- SPINNER (overlay on button) ---------- */
        .spinner-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 6px;
            z-index: 5;
        }

        .spinner-container.active {
            display: flex;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.2);
            border-top-color: #6aa6ed;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

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

        /* ---------- MESSAGES ---------- */
        .message-area {
            margin-top: 25px;
            min-height: 40px;
            text-align: center;
        }

        .error-message {
            color: #ff7b7b;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.3px;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .error-message.show {
            opacity: 1;
        }

        .blocked-message {
            color: #ffb347;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.3px;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .blocked-message.show {
            opacity: 1;
        }

        /* ---------- REGISTRATION LINK ---------- */
        .registration-link {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
        }

        .registration-link a {
            color: #6aa6ed;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s;
        }

        .registration-link a:hover {
            color: #8bb9f0;
            text-decoration: underline;
        }

        /* ---------- MODAL WINDOW ---------- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 100;
            display: none;
            justify-content: center;
            align-items: center;
        }

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

        .modal-content {
            background-color: #1e1e1e;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            padding: 30px 25px;
            max-width: 350px;
            width: 90%;
            text-align: center;
            color: #eaeaea;
            font-size: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        }

        /* ---------- RESPONSIVE ---------- */
        @media (max-width: 480px) {
            .login-form-container {
                padding: 30px 20px;
                width: 320px;
            }
            .form-title {
                font-size: 18px;
            }
        }
    
