* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top, #29104d 0%, #10051f 45%, #050208 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 40px 35px;
    background: rgba(20, 10, 35, 0.92);
    border: 1px solid rgba(190, 70, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 0 45px rgba(170, 40, 255, 0.25);
    text-align: center;
}

.admin-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: linear-gradient(135deg, #7b2cff, #d52cff);
    box-shadow: 0 0 30px rgba(190, 50, 255, 0.5);
}

.login-card h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.login-card h2 {
    font-size: 20px;
    color: #c66cff;
    margin-bottom: 8px;
}

.subtitle {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ddd;
}

.input-group input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #4b2867;
    border-radius: 12px;
    outline: none;
    background: #12091d;
    color: white;
    font-size: 15px;
    transition: 0.25s;
}

.input-group input:focus {
    border-color: #c02cff;
    box-shadow: 0 0 12px rgba(192, 44, 255, 0.25);
}

.input-group input::placeholder {
    color: #777;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px 0;
    min-height: 65px;
}

#loginButton {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #822cff, #d32cff);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

#loginButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(190, 40, 255, 0.35);
}

#errorMessage {
    min-height: 22px;
    margin-top: 15px;
    color: #ff5c7a;
    font-size: 14px;
}

.footer {
    margin-top: 25px;
    color: #777;
    font-size: 13px;
}

@media (max-width: 500px) {
    .login-card {
        padding: 32px 22px;
    }

    .login-card h1 {
        font-size: 24px;
    }
}