/* ═══════════════════════════════════════════
   DragonsMag — footer.css
   Dépend de base.css
═══════════════════════════════════════════ */

.tcg-footer {
    background: var(--bg2);
    border-top: 2px solid var(--accent);
    margin-top: 40px;
    font-family: var(--fb);
}

/* ── Bande supérieure décorative ── */
.tcg-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--accent),
        var(--accent3),
        var(--muted),
        var(--accent3),
        var(--accent)
    );
}

/* ── Contenu principal ── */
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

/* ── Colonne gauche — copyright ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand-name {
    font-family: var(--fc);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .5px;
    line-height: 1.1;
}

.footer-brand-name span { color: var(--accent3); }

.footer-brand-years {
    font-family: var(--fm);
    font-size: 12px;
    color: var(--muted2);
    letter-spacing: 1px;
}

.footer-brand-tagline {
    font-size: 11px;
    color: var(--text3);
    font-style: italic;
    margin-top: 2px;
}

/* ── Colonne centre — partenaires ── */
.footer-partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-partners-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-partners-list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-partner-link {
    display: block;
    opacity: .75;
    transition: opacity .2s, transform .2s, filter .2s;
    border-radius: 6px;
    overflow: hidden;
}

.footer-partner-link:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 10px rgba(116,27,71,.4));
}

.footer-partner-link img {
    height: 50px;
    width: auto;
    display: block;
}

/* ── Colonne droite — liens légaux ── */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    transition: color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-link:hover { color: var(--accent3); }

.footer-link svg {
    width: 12px;
    height: 12px;
    opacity: .5;
    flex-shrink: 0;
}

/* ── Bande inférieure ── */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-bottom-text {
    font-size: 10px;
    color: var(--text3);
    letter-spacing: .5px;
    text-align: center;
}

.footer-bottom-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border2);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-brand { align-items: center; }
    .footer-links { align-items: center; }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom-sep { display: none; }
}
