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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0a0f, #1a0f1a, #2d1a2d);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.auth-container {
    background: rgba(42, 1, 52, 0.8);
    border: 1px solid rgba(34, 1, 53, 0.7);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #d8b4fe;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(216, 180, 254, 0.5);
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input {
    background: rgba(42, 1, 52, 0.3);
    border: 1px solid rgba(139, 69, 193, 0.4);
    border-radius: 8px;
    padding: 15px;
    color: #e9d5ff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #c4b5fd;
}

input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(42, 1, 52, 0.5);
}

button {
    background: #2A0134;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.8);
    background: #220135;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #d8b4fe;
}

.auth-link a {
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    color: #a855f7;
}