/* Professional Footer Styles */
@keyframes separator-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 140, 0, 0.4), 0 0 20px rgba(255, 140, 0, 0.1);
        opacity: 0.7;
        transform: scaleX(0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.4);
        opacity: 1;
        transform: scaleX(1.2);
    }
}

footer {
    background: transparent;
    border-top: none;
    padding: 0;
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

footer .footer-separator {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    margin: 0.2rem auto 2rem;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4), 0 0 20px rgba(255, 140, 0, 0.1);
    animation: separator-pulse-glow 2s ease-in-out infinite;
}

footer .footer-container {
    margin: 30px 20px 20px 20px;
    padding: 2rem 30px;
    background-color: #1e3a8a !important;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px), radial-gradient(circle, #1e3a8a 0%, #1e3a8a 100%), url(https://www.transparenttextures.com/patterns/felt.png) !important;
    background-blend-mode: multiply !important;
    border: 2px solid #334155 !important;
    border-radius: 10px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Footer Grid */
footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

footer .footer-section h3 {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer .footer-section:first-child {
    margin-left: 2rem;
}

footer .footer-section.align-center {
    text-align: center;
}

footer .footer-section.align-right {
    text-align: right;
    margin-right: 2rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

footer li {
    margin: 0;
}

footer a {
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Tribe Colors */
footer .aether-link { color: #9370db; }
footer .fire-link { color: #ff6347; }
footer .water-link { color: #4169e1; }
footer .air-link { color: #87ceeb; }
footer .earth-link { color: #228b22; }
footer .primary-link { color: #FF1493; }
footer .discord-link { color: #5865F2; }
footer .goose-link { color: #8B4513; }
footer .gold-link { color: #FFD700; }

/* Subsection Headers */
footer .subsection-header {
    font-weight: 600;
    color: #87ceeb;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
}

footer .subsection-header:first-of-type {
    margin-top: 0;
}

/* Divider */
footer .footer-divider {
    border-top: none;
    margin: 0;
    padding-top: 0.4rem;
}

footer .footer-bottom {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    max-width: 60%;
    margin: 0 auto;
}

footer .copyright {
    margin: 0.2rem 0;
    color: #888;
    font-size: 0.9rem;
}

footer .credit {
    margin: 0.1rem 0;
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    footer {
        padding: 0;
    }
    
    footer .footer-container {
        padding: 2rem 1rem;
        margin: 1.5rem auto;
    }
    
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer .footer-section h3 {
        font-size: 1rem;
    }

    footer .footer-section:first-child {
        margin-left: 0;
    }

    footer .footer-section.align-center {
        text-align: left;
    }

    footer .footer-section.align-right {
        text-align: left;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 0;
    }
    
    footer .footer-container {
        padding: 1.5rem 0.5rem;
        margin: 1rem auto;
    }
    
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    footer .footer-separator {
        width: 150px;
    }
}
