/* GitHub Badge Styles - Dark Theme */
.github-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
    line-height: 1.2;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.github-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.github-badge:hover::before {
    left: 100%;
}

.github-badge:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.github-icon {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    transition: fill 0.2s ease;
}

.github-badge:hover .github-icon {
    fill: #00ffff;
}

.github-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    transition: color 0.2s ease;
}

.github-badge:hover .github-text {
    color: #00ffff;
}

.github-star {
    width: 16px;
    height: 16px;
    fill: #ffc107;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.5));
}

.github-badge:hover .github-star {
    fill: #ffd54f;
    filter: drop-shadow(0 0 8px rgba(255, 213, 79, 0.8));
    transform: rotate(72deg) scale(1.2);
}

.github-count {
    color: #ffc107;
    font-weight: 600;
    padding-left: 2px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-shadow: 0 0 4px rgba(255, 193, 7, 0.3);
}

.github-badge:hover .github-count {
    color: #ffd54f;
    text-shadow: 0 0 8px rgba(255, 213, 79, 0.6);
    transform: scale(1.1);
}

/* Loading animation for star count */
.github-count[data-loading="true"] {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media (max-width: 968px) {
    .github-badge {
        padding: 5px 10px;
        font-size: 12px;
        gap: 6px;
    }
    
    .github-icon,
    .github-star {
        width: 14px;
        height: 14px;
    }
    
    .github-count {
        font-size: 13px;
    }
}

