/* Custom styles for OSWorld documentation */

/* Visitor counter styling */
.visitor-counter {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.visitor-counter img {
    vertical-align: middle;
    margin-right: 8px;
}

/* Discord floating widget */
.discord-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #5865F2;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.discord-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
    color: white;
    text-decoration: none;
}

.discord-float:visited {
    color: white;
}

.discord-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Animation for entry */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.discord-float {
    animation: slideInUp 0.5s ease-out;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .discord-float {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .discord-icon {
        width: 18px;
        height: 18px;
    }
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(88, 101, 242, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    }
}

.discord-float.pulse {
    animation: pulse 2s infinite;
} 