/* Discord Widget - Floating w prawym dolnym rogu */
.discord-widget-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    transition: all 0.3s ease;
}

/* Zwinięty stan - tylko ikona */
.discord-widget-collapsed {
    width: 70px;
    height: 70px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.5);
    transition: all 0.3s ease;
}

.discord-widget-collapsed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.7);
}

.discord-widget-collapsed svg {
    width: 40px;
    height: 40px;
    fill: white;
}

/* Rozwinięty stan - pełny widget */
.discord-widget-expanded {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.discord-widget-floating:hover .discord-widget-expanded {
    display: block;
}

.discord-widget-floating:hover .discord-widget-collapsed {
    display: none;
}

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

/* Header widgetu */
.discord-widget-header {
    background: #5865F2;
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-widget-header svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .discord-widget-floating {
        bottom: 10px;
        right: 10px;
    }
    
    .discord-widget-collapsed {
        width: 60px;
        height: 60px;
    }
    
    .discord-widget-collapsed svg {
        width: 32px;
        height: 32px;
    }
    
    .discord-widget-expanded iframe {
        width: 300px !important;
        height: 400px !important;
    }
}
