:root {
    --footer-bg: var(--bg-primary);
    --footer-text-main: var(--text-primary);
    --footer-text-sub: var(--text-secondary);
    --footer-text-header: var(--text-primary);
    --footer-link-hover: var(--brand-yellow);
    --footer-border: var(--border-color);
}

.footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 80px 0 40px;
    margin-top: auto;
    /* Push to bottom if using flex-col body */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Section (CTA) */
.footer-top {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-headline {
    font-size: 32px;
    font-weight: 700;
    color: var(--footer-text-header);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-subhead {
    font-size: 18px;
    color: var(--footer-text-sub);
    margin-bottom: 32px;
}

.btn-footer {
    display: inline-block;
    background: linear-gradient(135deg, #FF2A55 0%, #FF9E00 100%);
    color: #fff;
    padding: 13px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 42, 85, 0.4), 0 0 12px rgba(255, 170, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-footer:hover {
    background: linear-gradient(135deg, #FF3E66 0%, #FFAA00 100%);
    box-shadow: 0 6px 26px rgba(255, 42, 85, 0.6), 0 0 16px rgba(255, 170, 0, 0.35);
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Middle Section (Links) */
.footer-middle {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.footer-brand {
    grid-column: span 2;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-text-header);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    text-decoration: none;
    color: var(--footer-text-sub);
    font-size: 14px;
    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: var(--footer-link-hover);
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 14px;
    color: var(--footer-text-sub);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    text-decoration: none;
    color: var(--footer-text-sub);
    font-size: 14px;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--footer-text-sub);
    transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
    color: var(--footer-text-header);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-middle {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-headline {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer-middle {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
