.video-block {
    position: relative;
    margin-bottom: 64px;
    padding-top: 50px;
    overflow: hidden;
    color: var(--artelv-color-card);
    font-family: var(--artelv-font-main);
    background-image: url("/image/catalog/landings/pages/home-video-block/bg.webp");
    background-position: center;
    background-size: auto 432px;
    background-repeat: repeat-x;
}

.video-block::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 50%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, var(--artelv-color-card) 20%);
    pointer-events: none;
}

.video-block__decor {
    position: absolute;
    z-index: 2;
    display: block;
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(0, 30px, 0) scale(0.96);
    object-fit: contain;
    pointer-events: none;
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.video-block__decor--dog {
    left: calc(50% - 880px);
    bottom: 0;
    width: 370px;
    height: 430px;
    transform: translate3d(-54px, 34px, 0) rotate(-2deg) scale(0.96);
}

.video-block__decor--deer {
    left: calc(50% + 460px);
    bottom: 0;
    width: 700px;
    transform: translate3d(64px, 36px, 0) rotate(2deg) scale(0.96);
    transition-delay: 0.14s;
}

.video-block.is-visible .video-block__decor {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.video-block__container {
    position: relative;
    z-index: 3;
    max-width: 1020px;
    margin-right: auto;
    margin-left: auto;
}

.video-block__feature {
    position: relative;
    height: clamp(360px, 49vw, 500px);
    overflow: hidden;
    border-radius: 8px;
    background: url("/image/catalog/landings/pages/home-video-block/video-bg.webp") center / cover no-repeat;
}

.video-block__feature::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    height: 50%;
    background: linear-gradient(0deg, rgba(16, 16, 16, 0.80) 22.28%, rgba(16, 16, 16, 0.00) 100%);
}

.video-block__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 52px;
    z-index: 1;
}

.video-block__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--artelv-font-accent);
    letter-spacing: 1px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.video-block__description {
    margin: 0;
    color: #ffffff;
    font-family: var(--artelv-font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.video-block__watch-link {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 23px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(12px);
    color: var(--artelv-color-heading);
    font-family: var(--artelv-font-accent);
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.video-block__watch-link:hover,
.video-block__watch-link:focus-visible {
    background-color: rgba(255, 255, 255, 0.74);
    color: var(--artelv-color-accent);
    transform: translateY(-1px);
}

.video-block__watch-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.video-block__socials {
    width: 100%;
    max-width: fit-content;
    margin: 64px auto 0;
}

.video-block__socials-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}

.video-block__socials-viewport::-webkit-scrollbar {
    display: none;
    height: 0;
}

.video-block__socials-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: fit-content;
}

.video-block__social-link {
    position: relative;
    display: block;
    width: 115px;
    color: var(--artelv-color-muted);
    font-family: var(--artelv-font-accent);
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.video-block__social-link:hover,
.video-block__social-link:focus-visible {
    color: var(--artelv-color-heading);
}

.video-block__social-icon {
    display: block;
    width: 100%;
    height: 115px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: var(--artelv-color-surface-warm);
    object-fit: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.video-block__social-icon--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.video-block__social-link:hover .video-block__social-icon--hover,
.video-block__social-link:focus-visible .video-block__social-icon--hover {
    opacity: 1;
}

.video-block__scrollbar {
    position: relative;
    display: none;
    width: calc(100% - 36px);
    height: 14px;
    margin: 12px 18px 0;
    touch-action: none;
    cursor: pointer;
}

.video-block__scrollbar::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(34, 55, 44, 0.14);
}

.video-block__socials.has-overflow .video-block__scrollbar {
    display: block;
}

.video-block__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--video-scrollbar-thumb-width, 40%);
    height: 14px;
    transform: translate3d(var(--video-scrollbar-thumb-offset, 0px), 0, 0);
    will-change: transform;
}

.video-block__scrollbar-thumb::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    left: 0;
    height: 6px;
    border-radius: 999px;
    background: var(--artelv-color-heading);
    box-shadow: 0 1px 4px rgba(34, 55, 44, 0.22);
    transition: background-color 0.2s ease;
}

.video-block__scrollbar:hover .video-block__scrollbar-thumb::before,
.video-block__scrollbar:focus-visible .video-block__scrollbar-thumb::before,
.video-block__scrollbar.is-dragging .video-block__scrollbar-thumb::before {
    background: var(--artelv-color-accent);
}

.video-block__scrollbar:focus-visible {
    outline: 2px solid var(--artelv-color-accent);
    outline-offset: 2px;
    border-radius: 999px;
}

@media screen and (max-width: 1240px) {
    .video-block {
        margin-top: 50px;
        margin-bottom: 40px;
        padding-top: 0;
    }

    .video-block__decor {
        display: none;
    }

    .video-block__title {
        font-size: 20px;
    }

    .video-block__watch-link {
        top: 30px;
        right: 30px;
    }

    .video-block__socials {
        margin-top: 40px;
    }
}

@media screen and (max-width: 650px) {
    .video-block__feature {
        height: clamp(280px, 70vw, 360px);
    }

    .video-block__content {
        padding: 18px;
    }

    .video-block__title {
        margin-bottom: 4px;
        font-size: 20px;
        line-height: 1;
    }

    .video-block__description {
        font-size: 14px;
        line-height: 1.2;
    }
    .video-block__socials {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
    }

    .video-block__socials-list {
        justify-content: flex-start;
        gap: 16px;
        margin: 0 auto;
    }
    .video-block__watch-link {
        top: 14px;
        right: 14px;
        padding: 8px 12px;
        font-size: 14px;
        line-height: 1;
    }

    .video-block__social-link {
        width: 80px;
        font-size: 14px;
    }
    .video-block__social-icon {
        height: 80px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-block__decor {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}
