/* CrazyGame.in Footer Styles - Matching main theme */
footer {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    color: var(--text, #e2e8f0);
    margin: 0; /* Removed all margins */
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 245, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%; /* Ensure full width */
}

/* Animated background effect like main theme */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(131, 56, 236, 0.1) 0%, transparent 50%);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

footer .footer-container {
    max-width: 100%; /* Changed from auto to 100% */
    margin: 0; /* Removed auto margins */
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 30px;
}

footer .footer-brand .footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary, #00f5ff), var(--secondary, #ff006e));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    letter-spacing: -1px;
}

footer .footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

footer .footer-nav a {
    color: var(--text-dim, #94a3b8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

footer .footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary, #00f5ff), var(--accent, #8338ec));
    transition: width 0.3s ease;
}

footer .footer-nav a:hover {
    color: var(--text, #e2e8f0);
    transform: translateY(-2px);
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary, #00f5ff);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

footer .footer-nav a:hover::after {
    width: 100%;
}

footer .footer-bottom {
    padding: 25px 0;
    text-align: center;
}

footer .footer-copyright {
    font-size: 0.9rem;
    color: var(--text-dim, #94a3b8);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

footer .heart {
    color: var(--secondary, #ff006e);
    animation: heartbeat 1.5s ease-in-out infinite;
    font-size: 1.1em;
    display: inline-block;
    filter: drop-shadow(0 0 5px rgba(255, 0, 110, 0.5));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    footer .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        gap: 25px;
    }
    
    footer .footer-brand .footer-logo {
        font-size: 1.5rem;
    }
    
    footer .footer-nav {
        justify-content: center;
        gap: 15px;
    }
    
    footer .footer-nav a {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
    
    footer .footer-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    footer .footer-nav {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    footer .footer-nav a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    footer .footer-brand .footer-logo {
        font-size: 1.3rem;
    }
    
    footer .footer-copyright {
        font-size: 0.85rem;
    }
}