

.auth-discord-container {
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

.auth-discord-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: rgba(88, 101, 242, 0.06);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 8px;
    color: #5865F2;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.auth-discord-badge:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.12);
}

.auth-discord-badge i {
    font-size: 1rem;
}

.auth-discord-badge span {
    letter-spacing: 0.2px;
}

.dashboard-discord-widget {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(88, 101, 242, 0.04) 100%);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-discord-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    transition: left 0.5s ease;
}

.dashboard-discord-widget:hover::before {
    left: 100%;
}

.dashboard-discord-widget:hover {
    border-color: rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.15);
}

.discord-widget-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.discord-widget-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    font-size: 1.4rem;
}

.discord-widget-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.discord-widget-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.discord-widget-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.discord-widget-cta:hover {
    background: #4752C4;
    transform: translateX(3px);
}

.discord-widget-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.discord-widget-cta:hover i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .dashboard-discord-widget {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .discord-widget-content {
        flex-direction: column;
        text-align: center;
    }
}

.discord-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalOverlayFade 0.2s ease;
    padding: 1rem;
}

@keyframes modalOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.discord-modal {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.discord-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.discord-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    z-index: 10;
    border-radius: 6px;
}

.discord-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.discord-modal-header {
    padding: 2.75rem 2.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.discord-modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.discord-modal-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.discord-modal-header p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.6;
}

.discord-modal-body {
    padding: 0 2.5rem 2.5rem;
}

.discord-modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.discord-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.discord-feature-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.discord-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.discord-feature-text h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.25rem 0;
}

.discord-feature-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.5;
}

.discord-modal-actions {
    display: flex;
    gap: 0.875rem;
}

.discord-modal-btn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.discord-modal-btn-primary {
    background: white;
    color: #000;
}

.discord-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.12);
}

.discord-modal-btn-secondary {
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
    .discord-modal {
        max-width: 100%;
        margin: 0 1rem;
        border-radius: 16px;
    }
    
    .discord-modal-header {
        padding: 2.25rem 1.75rem 1.25rem;
    }
    
    .discord-modal-body {
        padding: 0 1.75rem 2rem;
    }
    
    .discord-modal-actions {
        flex-direction: column;
    }
    
    .discord-modal-btn {
        width: 100%;
    }
}

.footer-discord-section {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 8px;
    color: #5865F2;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-discord-link:hover {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.15);
}

.footer-discord-link i {
    font-size: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
    .discord-modal-overlay,
    .discord-modal,
    .auth-discord-badge,
    .dashboard-discord-widget,
    .footer-discord-link {
        animation: none !important;
        transition: none !important;
    }
}
