/* ========== СТРАНИЦА АВТОРИЗАЦИИ (ТЕМНАЯ ТЕМА) ========== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #17212b;
    min-height: 100vh;
}

.auth-container {
    min-height: 100vh;
    background: #17212b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    max-width: 520px;
    width: 100%;
    background: #242f3d;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease-out;
}

.auth-card:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.auth-logo {
    margin-bottom: 32px;
}

.site-url {
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -0.5px;
}

.site-url .green {
    background: linear-gradient(135deg, #22C55E, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-url .white {
    color: #F1F5F9;
}

.auth-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #22C55E;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 12px;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin-bottom: 32px;
    line-height: 1.5;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    text-align: left;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #CBD5E1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s;
}

.auth-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.auth-feature i {
    font-size: 20px;
    color: #22C55E;
    width: 28px;
}

.telegram-widget {
    margin: 16px 0 24px;
    display: flex;
    justify-content: center;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-footer i {
    font-size: 12px;
    color: #22C55E;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптация для мобильных */
@media (max-width: 640px) {
    .auth-card {
        padding: 32px 24px;
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .site-url {
        font-size: 28px;
    }
    
    .auth-feature {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .auth-feature i {
        font-size: 18px;
        width: 24px;
    }
    
    .auth-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 20px;
    }
    
    .auth-features {
        gap: 10px;
        margin-bottom: 28px;
    }
}