/* Footer Styles - Shared across all pages */

footer {
    border-top: 1px solid var(--border, #333333);
    padding: 20px 0;
    margin-top: 60px;
    width: 100%;
}


.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contribute-badge {
    background: #111;
    border: 1px solid var(--border, #333333);
    padding: 8px 18px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contribute-badge:hover {
    border-color: var(--accent, #ffffff);
    background: rgba(255, 255, 255, 0.05);
}

/* دکمه حمایت دایره‌ای */
.support-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    border: 1px solid var(--border, #333333);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.support-btn:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    transform: scale(1.1);
}

.support-icon {
    width: 20px;
    height: 20px;
}

.support-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-bottom: 8px;
    border: 1px solid var(--border, #333333);
}

.support-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* استایل‌های pulse-dot برای دکمه‌های فوتر */
.footer-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.footer-pulse-dot::before,
.footer-pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: footer-pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-pulse-dot::after {
    animation-delay: 1s;
}

/* قرمز برای نقشه حرارتی */
.footer-pulse-dot-red {
    background: #ef4444;
}

.footer-pulse-dot-red::before,
.footer-pulse-dot-red::after {
    background: rgba(239, 68, 68, 0.6);
}

/* سبز برای افزودن مزدور */
.footer-pulse-dot-green {
    background: #22c55e;
}

.footer-pulse-dot-green::before,
.footer-pulse-dot-green::after {
    background: rgba(34, 197, 94, 0.6);
}

@keyframes footer-pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 750px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}