/* Description Section Animation Styles */
.description-text {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(3em, 7.5vw, 6rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: 1200px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: opacity 1s ease-out, transform 1s ease-out;

    /* Font rendering optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Add class to apply when animation is complete */
.description-text.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Add a special class for the FANTASY span */
.description-fantasy {
    font-family: 'Redaction', serif;
    font-weight: 400;
    font-size: clamp(1.2em, 4.2vw, 2.2rem);
    text-shadow: 1px 1px 2px var(--black), 0 2px 10px var(--yellow), 1px 0 5px var(--green);
}

/* Feature Animation Styles */
.feature {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.feature.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .description-text,
    .feature {
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}
