
.sf {
    position: relative;
    padding: 3.5rem 0 2rem;
    font-size: 0.875rem;
    color: var(--fe-footer-text);
    background: var(--fe-footer-bg);
    border-top: 1px solid var(--fe-color-border);
    transition: background var(--fe-transition), color var(--fe-transition);
}

.sf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--fe-color-primary, #e21b33) 30%,
        var(--fe-color-primary, #e21b33) 50%,
        transparent 100%
    );
    opacity: 0.4;
}

.sf-inner {
    max-width: var(--fe-main-max);
    margin: 0 auto;
    padding: 0 var(--fe-spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sf-brand {
    margin-bottom: 1.75rem;
}

.sf-brand__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.625rem;
}

.sf-brand__img {
    height: 30px;
    width: auto;
}

.sf-brand__img--light { display: none; }
.sf-brand__img--dark  { display: inline-block; }
[data-theme="dark"] .sf-brand__img--light { display: inline-block; }
[data-theme="dark"] .sf-brand__img--dark  { display: none; }

.sf-brand__tagline {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--fe-color-text-muted, #64748b);
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    margin-bottom: 1.5rem;
}

.sf-nav__link {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fe-footer-text);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.sf-nav__link:hover {
    color: var(--fe-color-primary, #e21b33);
    background: color-mix(in srgb, var(--fe-color-primary, #e21b33) 6%, transparent);
}

.sf-nav__dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--fe-color-text-muted, #94a3b8);
    opacity: 0.5;
    margin: 0 0.125rem;
    flex-shrink: 0;
}

.sf-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.75rem;
}

.sf-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    color: var(--fe-footer-text);
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.sf-social__link svg {
    fill: currentColor;
    stroke: none;
}

.sf-social__link:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

[data-theme="dark"] .sf-social__link:hover {
    background: rgba(255,255,255,0.08);
}

.sf-social__link[data-social="facebook"]:hover  { color: #1877F2; }
.sf-social__link[data-social="twitter"]:hover   { color: #000; }
[data-theme="dark"] .sf-social__link[data-social="twitter"]:hover { color: #e7e9ea; }
.sf-social__link[data-social="youtube"]:hover   { color: #FF0000; }
.sf-social__link[data-social="instagram"]:hover  { color: #E4405F; }
.sf-social__link[data-social="pinterest"]:hover  { color: #BD081C; }
.sf-social__link[data-social="tiktok"]:hover    { color: #000; }
[data-theme="dark"] .sf-social__link[data-social="tiktok"]:hover { color: #e7e9ea; }
.sf-social__link[data-social="linkedin"]:hover   { color: #0A66C2; }
.sf-social__link[data-social="steam"]:hover     { color: #1b2838; }
[data-theme="dark"] .sf-social__link[data-social="steam"]:hover { color: #66c0f4; }
.sf-social__link[data-social="discord"]:hover   { color: #5865F2; }
.sf-social__link[data-social="email"]:hover     { color: #ea4335; }
.sf-social__link[data-social="rss"]:hover       { color: #FFA500; }
.sf-social__link[data-social="microsoft"]:hover  { color: #00A4EF; }

.sf-google-preferred {
    margin: -0.5rem 0 1.75rem;
}

.sf-google-preferred__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.sf-google-preferred__link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.sf-google-preferred__link:focus-visible {
    outline: 2px solid var(--fe-color-primary, #e21b33);
    outline-offset: 3px;
}

.sf-google-preferred__img {
    height: 64px;
    width: auto;
    max-width: min(340px, 94vw);
    display: block;
}

.sf-google-preferred__img--light { display: none; }
.sf-google-preferred__img--dark { display: inline-block; }
[data-theme="dark"] .sf-google-preferred__img--light { display: inline-block; }
[data-theme="dark"] .sf-google-preferred__img--dark { display: none; }

.sf-divider {
    width: 100%;
    max-width: 480px;
    height: 1px;
    background: var(--fe-color-border);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.sf-policies {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.125rem 0;
    margin-bottom: 1.25rem;
}

.sf-policies__link {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fe-color-text-muted, #64748b);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s;
}

.sf-policies__link:hover {
    color: var(--fe-color-primary, #e21b33);
}

.sf-policies__dot {
    display: inline-block;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--fe-color-text-muted, #94a3b8);
    opacity: 0.4;
    flex-shrink: 0;
}

.sf-copy {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--fe-color-text-muted, #94a3b8);
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .sf {
        padding: 2.5rem 0 1.75rem;
    }

    .sf-inner {
        padding-left: var(--fe-spacing);
        padding-right: var(--fe-spacing);
    }

    .sf-brand {
        margin-bottom: 1.5rem;
    }

    .sf-nav {
        margin-bottom: 1.25rem;
    }

    .sf-nav__link {
        padding: 0.3rem 0.625rem;
        font-size: 0.8125rem;
    }

    .sf-social {
        margin-bottom: 1.5rem;
    }

    .sf-google-preferred {
        margin-bottom: 1.5rem;
    }

    .sf-google-preferred__img {
        height: 56px;
    }

    .sf-divider {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .sf {
        padding: 2rem 0 1.5rem;
    }

    .sf-nav__link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8125rem;
    }

    .sf-nav__dot {
        margin: 0 0.0625rem;
    }

    .sf-social__link {
        width: 2rem;
        height: 2rem;
    }

    .sf-policies__link {
        padding: 0.2rem 0.375rem;
        font-size: 0.6875rem;
    }
}
