* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: rgba(44, 47, 51, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(114, 118, 125, 0.2);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.bot-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #5865f2;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bot-description {
    color: #b9bbbe;
    font-size: 16px;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

.bot-author {
    margin-top: 8px;
}

.bot-author a {
    color: #5865f2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.bot-author a:hover {
    color: #4752c4;
    text-decoration: underline;
}


.action-section {
    text-align: center;
}

.invite-btn {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.invite-btn:active {
    transform: translateY(0);
}

.invite-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.info-section {
    margin-bottom: 20px;
}

.info-text {
    color: #b9bbbe;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(114, 118, 125, 0.2);
}

.footer p {
    color: #b9bbbe;
    font-size: 12px;
}


/* Dil Seçici */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    background: rgba(44, 47, 51, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(114, 118, 125, 0.2);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lang-btn:hover {
    background: rgba(64, 68, 75, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.lang-flag {
    font-size: 16px;
}

.lang-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}


/* Responsive */
@media (max-width: 600px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .bot-avatar {
        width: 60px;
        height: 60px;
    }
    
    .language-selector {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        padding: 6px 10px;
    }
    
    .lang-text {
        font-size: 12px;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success state */
.success {
    background: linear-gradient(135deg, #43b581 0%, #3ca374 100%);
}

.success:hover {
    box-shadow: 0 8px 25px rgba(67, 181, 129, 0.4);
}
