/* Footer CSS Styles - Cyberpunk Theme */
.site-footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #16213e 100%);
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 40px;
    width: 100%;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, #00ffff, #ff00ff, #ffff00, #00ff00, #ff0000, #00ffff) 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 -0 40px rgba(0, 255, 255, 0.2);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.05) 2px,
            rgba(0, 255, 255, 0.05) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 0, 255, 0.05) 2px,
            rgba(255, 0, 255, 0.05) 4px
        );
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(4px, 4px);
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #00ffff;
    padding-bottom: 5px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff00ff, transparent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.footer-section:hover h4::after {
    width: 100%;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 8px;
    text-align: center;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}

.footer-section ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    transform: translateY(-1px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffff, #ff00ff, transparent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #bdc3c7;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: #00ffff;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}

.footer-links a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
    transform: translateY(-1px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Visitor Counter Widget Styling */
.footer-visitor-widget {
    color: #bdc3c7;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    padding: 2px 0;
    user-select: none;
}

.footer-visitor-widget #visitor-count {
    color: #00ffff;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

