/* Спільні стилі */

.theme-decor {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.theme-decor__item {
    position: absolute;
    top: -40px;
    left: var(--left, 50%);
    font-size: var(--size, 18px);
    color: var(--theme-decor-color, var(--fox-accent));
    opacity: 0.5;
    filter: blur(2px);
    animation: themeDecorFall var(--duration, 16s) linear var(--delay, 0s) infinite;
    will-change: transform;
}

.theme-decor__item i {
    display: block;
}

.home-hero {
    margin-top: -118px;
    min-height: max(778px, 100svh);
    padding-top: 186px;
}

@media (max-width: 1080px) {
    .home-hero {
        margin-top: -104px;
        min-height: max(734px, 100svh);
        padding-top: 162px;
    }
}

@media (max-width: 760px) {
    .home-hero {
        margin-top: -82px;
        min-height: auto;
        padding-top: 134px;
    }
}

@keyframes themeDecorFall {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(24px, 50vh, 0) rotate(180deg);
    }
    to {
        transform: translate3d(-12px, calc(100vh + 80px), 0) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-decor {
        display: none;
    }
}
