body {
    font-family: 'Hanken Grotesk', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.font-headline {
    font-family: 'Nunito', sans-serif;
}

#main-content {
    flex-grow: 1;
}

#footer-placeholder {
    margin-top: auto;
}

/* Custom Gradient Text */
.text-gradient {
    background: linear-gradient(to right, #2C3E50, #4267B2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Background */
.bg-hero-gradient {
    background: linear-gradient(45deg, rgba(246, 173, 85, 0.2) 0%, rgba(246, 173, 85, 0.2) 25%, rgba(229, 62, 62, 0.2) 50%, rgba(66, 103, 178, 0.2) 75%, rgba(66, 103, 178, 0.2) 100%);
}

/* Infinite Scroll Animation for Ribbons */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll-left 30s linear infinite;
}

.ribbon-wrapper {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    transform: rotate(-3deg);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Glassmorphism support */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Header transitions */
.header-transition {
    transition: all 0.4s ease-in-out;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        transition: none;
        transform: none;
        opacity: 1;
    }
}