/* === Sticky Footer (Global) === */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main page content wrapper (ensure content scrolls above footer) */
body > *:not(footer) {
    flex: 1 0 auto;
}

/* Universal Footer Styling */
footer {
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 216, 77, 0.25);
    padding: 0.9rem 1rem;
    text-align: center;
    color: #9d0f82;
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* Footer text consistency */
footer a {
    color: #f3bb1a;
    text-decoration: none;
    font-weight: 500;
}
footer a:hover {
    text-decoration: underline;
}

/* Adjust bottom spacing for content on mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* prevent overlap with fixed footer */
    }
    footer {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
    }
}
