/* === FOOTER ULTRA-MODERNE === */
.footer-2024 {
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="var(--accent-primary)" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.3;
    animation: footerPattern 30s linear infinite;
}

@keyframes footerPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 1px;
}

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

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.footer-link:hover {
    color: var(--text-primary);
    padding-left: 15px;
}

.footer-link:hover::before {
    width: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--accent-primary);
}

.footer-credits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-credit-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-credit-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-credit-link:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* === EASTER EGG "ludo" === */
.footer-credit-link[href*="ludo"] {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-credit-link[href*="ludo"]:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* === RESPONSIVE FOOTER === */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-main {
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-subtitle {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-col {
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
    }
    
    .footer-list {
        gap: 0.6rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    .footer-link:hover {
        padding-left: 0;
        transform: translateX(5px);
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .footer-info {
        gap: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-legal-link {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .footer-credits {
        align-items: center;
        gap: 0.8rem;
    }
    
    .footer-credit-text {
        font-size: 0.75rem;
    }
    
    .footer-credit-link {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .footer-credit-link:hover {
        background: var(--accent-primary);
        color: white;
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 0.8rem 1rem;
    }
    
    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 1.2rem;
    }
    
    .footer-col {
        gap: 1.2rem;
    }
    
    .footer-section-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-list {
        gap: 0.5rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .footer-bottom {
        gap: 1.2rem;
        padding-top: 1.2rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .footer-legal-link {
        font-size: 0.7rem;
        padding: 0.2rem 0;
    }
    
    .footer-credit-text {
        font-size: 0.7rem;
    }
    
    .footer-credit-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .footer-container {
        padding: 1.5rem 0.6rem 0.8rem;
    }
    
    .footer-main {
        gap: 1.2rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-subtitle {
        font-size: 0.75rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-col {
        gap: 1rem;
    }
    
    .footer-section-title {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-list {
        gap: 0.4rem;
    }
    
    .footer-link {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .footer-bottom {
        gap: 1rem;
        padding-top: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
    
    .footer-legal-link {
        font-size: 0.65rem;
        padding: 0.15rem 0;
    }
    
    .footer-credit-text {
        font-size: 0.65rem;
    }
    
    .footer-credit-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}