/* ===== Google Pixel Footer ===== */

.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 4px solid #202124;
    padding: 0 0 32px;
    margin-bottom: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: 
        repeating-linear-gradient(
            90deg,
            var(--google-blue) 0px,
            var(--google-blue) 40px,
            var(--google-red) 40px,
            var(--google-red) 80px,
            var(--google-yellow) 80px,
            var(--google-yellow) 120px,
            var(--google-green) 120px,
            var(--google-green) 160px
        );
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: 80px;
    }
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-top: 48px;
}

.brand {
    max-width: 340px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.logoMark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--google-blue);
    color: white;
    border: 4px solid #202124;
    font-family: var(--font-pixel);
    font-size: 0.625rem;
    box-shadow: inset -2px -2px 0 #3367D6;
}

.logoText {
    font-family: var(--font-pixel);
    font-size: 0.5rem;
    color: #5F6368;
    line-height: 1.4;
}

.tagline {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social {
    display: flex;
    gap: 6px;
}

.socialLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 3px solid #202124;
    background: var(--google-blue);
    font-size: 1rem;
    transition: all var(--transition-base);
    box-shadow: 2px 2px 0 #202124;
}

.socialLink:hover {
    background: var(--google-red);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #202124;
}

.linksGroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.linksTitle {
    font-family: var(--font-pixel);
    font-size: 0.5rem;
    color: var(--google-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.link {
    font-family: var(--font-pixel);
    font-size: 0.4375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 3px 0;
}

.link:hover {
    color: var(--google-blue);
}

.bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 4px dashed #DADCE0;
}

.copy {
    font-family: var(--font-pixel);
    font-size: 0.375rem;
    color: var(--text-tertiary);
}

.madeWith {
    font-family: var(--font-pixel);
    font-size: 0.375rem;
    color: var(--google-blue);
}

@media (max-width: 768px) {
    .top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}