/* auth.css */
:root {
    --primary-color: #9146ff;
    --secondary-color: #3498db;
    --dark-bg: #0e0e10;
    --medium-bg: #18181b;
    --text-color: #efeff1;
    --error-color: #ff3333;
    --success-color: #33ff33;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1f1f23 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.auth-box {
    background: var(--medium-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(145, 70, 255, 0.2);
    text-align: center;
}

.logo {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.subtitle {
    color: #adadb8;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.btn-twitch {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-twitch:hover {
    background: #772ce8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(145, 70, 255, 0.3);
}

.btn-local {
    background: transparent;
    color: var(--text-color);
    border: 2px solid #3a3a3d;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s;
}

.btn-local:hover {
    border-color: var(--primary-color);
    background: rgba(145, 70, 255, 0.1);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #adadb8;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #3a3a3d;
}

.divider span {
    padding: 0 15px;
}

.message {
    background: rgba(145, 70, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border-left-color: var(--error-color);
}

.footer {
    margin-top: 30px;
    color: #adadb8;
    font-size: 0.9rem;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}