/**
 * FPLyzer - Footer Styles
 * Social media icons + legal text
 * Add a new .social-icon.{platform}:hover rule to activate future platforms.
 */

.site-footer {
    padding: 32px 20px 24px;
    text-align: center;
}

/* ── Social icon row ── */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaaaaa;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
    /* Instagram uses a <linearGradient> fill — override handled per-platform */
    pointer-events: none;
}

/* ── Platform brand colours on hover ── */
.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #ffffff;
}

/* Instagram gradient approximation via a pseudo-element overlay */
.social-icon.instagram {
    position: relative;
    overflow: hidden;
}

.social-icon.instagram::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,
        #405DE6 0%,
        #833AB4 25%,
        #C13584 55%,
        #E1306C 75%,
        #FD1D1D 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.social-icon.instagram:hover::before {
    opacity: 1;
}

.social-icon.instagram:hover {
    border-color: transparent;
    color: #ffffff;
}

.social-icon.instagram svg {
    position: relative; /* sit above ::before gradient */
    z-index: 1;
}

/* X (Twitter) — activate when element is uncommented */
.social-icon.x-twitter:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* TikTok — activate when element is uncommented */
.social-icon.tiktok:hover {
    background: #010101;
    border-color: #69C9D0;
    color: #69C9D0;
}

/* ── Legal row ── */
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12px;
    color: #555555;
    font-family: 'Montserrat', sans-serif;
}

.footer-legal a {
    color: #777777;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #00FF87;
}

.footer-divider {
    color: #333333;
}
