/* ============================================
   DISCORD INTEGRATION STYLES
   ============================================ */

/* Online Indicator */
.discord-online-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.online-pulse {
    width: 12px;
    height: 12px;
    background: #43b581;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.online-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #43b581;
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes pulseRing {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.online-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.online-text i {
    color: #5865f2;
    font-size: 1.2rem;
}

.online-text strong {
    color: #43b581;
    font-weight: 700;
}

/* Discord Update Banner */
.discord-update-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #0d0d0d;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 1200px;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.4s ease-out;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-update-banner:hover {
    background: #111111;
    border-left-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.banner-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.banner-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.banner-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.banner-timestamp {
    font-size: 0.75rem;
    color: #b9bbbe;
    font-weight: 400;
}

.banner-message {
    font-size: 0.95rem;
    color: #dcddde;
    line-height: 1.5;
    word-wrap: break-word;
}

.banner-discord-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-discord-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.banner-discord-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .discord-online-indicator {
        padding: 0.75rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .online-text {
        font-size: 0.85rem;
    }
    
    .discord-update-banner {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .banner-avatar {
        width: 36px;
        height: 36px;
    }
    
    .banner-author {
        font-size: 0.9rem;
    }
    
    .banner-timestamp {
        font-size: 0.7rem;
    }
    
    .banner-message {
        font-size: 0.9rem;
    }
    
    .banner-discord-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .discord-update-banner {
        background: #0d0d0d;
    }
}

/* Refresh Indicator */
.refresh-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 0.75rem 1.25rem;
    background: #0d0d0d;
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.refresh-indicator.show {
    opacity: 1;
    transform: translateX(0);
}

.refresh-indicator i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .refresh-indicator {
        top: 70px;
        right: 10px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
