.lf-hero { padding: 24px 0 8px; }

.lf-hero-slider {
    position: relative;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    background: #0b1120;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45);
    touch-action: pan-y;
}
.lf-hero-track { position: absolute; inset: 0; }

.lf-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s var(--s-ease), visibility .8s;
}
.lf-hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.lf-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.08);
    transition: transform 6s linear;
}
.lf-hero-slide.active .lf-hero-img { transform: scale(1); }
.lf-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 6, 22, .82) 0%, rgba(3, 6, 22, .55) 42%, rgba(3, 6, 22, .05) 75%),
        linear-gradient(0deg, rgba(3, 6, 22, .45), transparent 40%);
}

.lf-hero-content { max-width: 560px; padding: 0 64px; color: #fff; }
.lf-hero-content > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--s-ease), transform .7s var(--s-ease); }
.lf-hero-slide.active .lf-hero-content > * { opacity: 1; transform: none; }
.lf-hero-slide.active .lf-hero-content > :nth-child(2) { transition-delay: .08s; }
.lf-hero-slide.active .lf-hero-content > :nth-child(3) { transition-delay: .16s; }
.lf-hero-slide.active .lf-hero-content > :nth-child(4) { transition-delay: .24s; }

.lf-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}
.lf-hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #42a5f5; box-shadow: 0 0 0 3px rgba(66, 165, 245, .3); }
.lf-hero-title { margin: 0 0 12px; font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; color: #fff; }
.lf-hero-text { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 460px; }
.lf-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border-radius: 14px;
    background: #2196f3;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 14px 28px -12px rgba(33, 150, 243, .8);
    transition: background-color .2s, transform .2s;
}
.lf-hero-btn i { font-size: 13px; transition: transform .25s var(--s-ease); }
.lf-hero-btn:hover { background: #1976d2; transform: translateY(-2px); }
.lf-hero-btn:hover i { transform: translateX(3px); }

.lf-hero-dots { position: absolute; left: 64px; bottom: 28px; z-index: 3; display: flex; gap: 8px; }
.lf-hero-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
    overflow: hidden;
    cursor: pointer;
    transition: width .35s var(--s-ease), background-color .2s;
}
.lf-hero-dot span { display: block; width: 0; height: 100%; background: #fff; border-radius: inherit; }
.lf-hero-dot.active { width: 52px; }
.lf-hero-dot.active span { animation: lfHeroProgress var(--lf-hero-dur, 5.5s) linear forwards; }
.lf-hero-slider.paused .lf-hero-dot.active span { animation-play-state: paused; }
@keyframes lfHeroProgress { to { width: 100%; } }

.lf-hero-cats { margin-top: 24px; }
.lf-hero-cats-row { gap: 10px; padding-bottom: 4px; }
.lf-hero-cat {
    width: calc((100% - 90px) / 10);
    min-width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 12px 6px 10px;
    border-radius: 18px;
    transition: background-color .2s;
}
.lf-hero-cat-img {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--s-primary-soft);
    box-shadow: 0 0 0 3px var(--s-bg), 0 0 0 5px var(--s-border-2);
    transition: box-shadow .25s, transform .3s var(--s-ease);
}
.lf-hero-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.lf-hero-cat-name { font-size: 13px; font-weight: 600; color: var(--s-text-2); text-align: center; line-height: 1.25; transition: color .2s; }
.lf-hero-cat:hover .lf-hero-cat-img { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--s-bg), 0 0 0 5px var(--s-primary), 0 12px 22px -10px rgba(33, 150, 243, .6); }
.lf-hero-cat:hover .lf-hero-cat-name { color: var(--s-primary); }

@media (max-width: 1024px) {
    .lf-hero-slider { height: 380px; }
    .lf-hero-content { padding: 0 44px; }
    .lf-hero-title { font-size: 36px; }
    .lf-hero-dots { left: 44px; }
}

@media (max-width: 768px) {
    .lf-hero { padding: 14px 0 0; }
    .lf-hero-slider { height: 420px; border-radius: 20px; }
    .lf-hero-slide { align-items: flex-end; }
    .lf-hero-slide::before { background: linear-gradient(0deg, rgba(3, 6, 22, .9) 0%, rgba(3, 6, 22, .55) 45%, rgba(3, 6, 22, .05) 80%); }
    .lf-hero-content { padding: 0 20px 56px; }
    .lf-hero-tag { margin-bottom: 10px; font-size: 11px; padding: 5px 10px; }
    .lf-hero-title { font-size: 27px; letter-spacing: -.6px; margin-bottom: 8px; }
    .lf-hero-text { font-size: 14px; margin-bottom: 18px; }
    .lf-hero-btn { height: 46px; padding: 0 20px; font-size: 14px; }
    .lf-hero-dots { left: 20px; bottom: 22px; }

    .lf-hero-cats { margin-top: 16px; }
    .lf-hero-cat { width: 82px; min-width: 82px; padding: 6px 2px; gap: 7px; }
    .lf-hero-cat-img { width: 64px; height: 64px; }
    .lf-hero-cat-name { font-size: 12px; }
}
