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

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    color: #00FF41;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

/* Background animated matrix grid */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 200%;
    background: linear-gradient(rgba(0, 255, 65, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 65, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: scrollGrid 30s linear infinite;
    pointer-events: none;
}
@keyframes scrollGrid {
    from { transform: translateY(0); }
    to { transform: translateY(40px); }
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-glass {
    background: rgba(0, 15, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #00FF41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    padding: 48px;
    text-align: center;
    animation: fade-in-up 0.6s ease-out forwards;
}

.logo-container {
    margin-bottom: 24px;
    min-height: 50px;
}

.logo {
    max-width: 260px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.7)) sepia(1) hue-rotate(80deg) saturate(5);
}

h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #00FF41;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.subtitle {
    color: #008F11;
    font-size: 15px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #00FF41;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 59, 0, 0.2);
    border: 1px solid #008F11;
    color: #00FF41;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.input-group input:focus {
    border-color: #00FF41;
    background: rgba(0, 59, 0, 0.5);
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.3), 0 0 15px rgba(0, 255, 65, 0.4);
}

.input-group input::placeholder {
    color: #008F11;
}

.login-btn {
    width: 100%;
    padding: 14px;
    border: 1px solid #00FF41;
    background: rgba(0, 143, 17, 0.2);
    color: #00FF41;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    margin-top: 10px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-btn:hover {
    background: #00FF41;
    color: #000;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.8);
    text-shadow: none;
}

.error-msg {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border: 1px solid #FF0000;
    padding: 12px;
    font-size: 14px;
    margin-bottom: 24px;
    animation: shake 0.5s;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

@media (max-width: 480px) {
    .login-glass {
        padding: 32px 24px;
    }
}
