.han-reels-wrap,
.han-reels-wrap * {
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

.han-reels-wrap {
    width: 100%;
    position: relative;
}

.han-reels-layout {
    --han-reels-left-col: 45%;
    --han-reels-right-col: 55%;
    --han-reels-gap: 22px;
    --han-reels-speed: 45s;
    display: grid;
    grid-template-columns: minmax(280px, var(--han-reels-left-col)) minmax(320px, var(--han-reels-right-col));
    gap: 44px;
    align-items: center;
}

.han-reels-left {
    min-width: 0;
    padding-right: 12px;
}

.han-reels-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px;
}

.han-reels-title {
    margin: 0;
    color: #0f172a;
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: -2px;
    font-weight: 700;
    max-width: 560px;
}

.han-reels-desc {
    margin-top: 24px;
    color: #475569;
    font-size: 19px;
    line-height: 1.8;
    max-width: 620px;
}

.han-reels-action {
    margin-top: 34px;
}

.han-reels-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
    padding: 14px 26px;
    border-radius: 18px;
    text-decoration: none !important;
    background: #0b0b0f;
    color: #ffffff;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.han-reels-btn:hover {
    transform: translateY(-2px);
    background: #1e293b;
    color: #ffffff;
}

.han-reels-btn-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.han-reels-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--han-reels-gap);
    height: 640px;
    min-width: 0;
    overflow: hidden;
}

.han-reels-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--han-reels-gap);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.han-reels-track {
    display: flex;
    flex-direction: column;
    gap: var(--han-reels-gap);
    flex: 0 0 auto;
    will-change: transform;
}

.han-reels-rail.is-up .han-reels-track {
    animation: hanReelsMoveUp var(--han-reels-speed) linear infinite;
}

.han-reels-rail.is-down .han-reels-track {
    animation: hanReelsMoveDown var(--han-reels-speed) linear infinite;
}

.han-reels-layout.is-pause-hover .han-reels-rail:hover .han-reels-track {
    animation-play-state: paused;
}

.han-reels-item {
    position: relative;
    width: 100%;
    min-height: 176px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.han-reels-item.is-video {
    background: #dbe4ef;
}

.han-reels-item video,
.han-reels-video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 176px;
    object-fit: cover;
}

.han-reels-video-placeholder {
    background: linear-gradient(135deg, #dbeafe 0%, #cbd5e1 100%);
}

.han-reels-item.is-text {
    display: flex;
    align-items: flex-end;
    background: #0f172a;
    min-height: 128px;
}

.han-reels-item-inner {
    width: 100%;
    padding: 28px 28px 26px;
}

.han-reels-item-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.han-reels-item-desc {
    margin-top: 10px;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.7;
}

.han-reels-video-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.han-reels-video-overlay .han-reels-item-title,
.han-reels-video-overlay .han-reels-item-desc {
    color: #ffffff;
}

.han-reels-item.is-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.0) 0%, rgba(15,23,42,0.16) 100%);
    pointer-events: none;
}

@keyframes hanReelsMoveUp {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-100% - var(--han-reels-gap))); }
}

@keyframes hanReelsMoveDown {
    from { transform: translateY(calc(-100% - var(--han-reels-gap))); }
    to { transform: translateY(0); }
}

@media (max-width: 1200px) {
    .han-reels-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .han-reels-left {
        padding-right: 0;
    }

    .han-reels-title {
        font-size: 54px;
        max-width: none;
    }

    .han-reels-right {
        height: 560px;
    }
}

@media (max-width: 767px) {
    .han-reels-layout {
        gap: 24px;
    }

    .han-reels-title {
        font-size: 38px;
        line-height: 1.03;
        letter-spacing: -1px;
    }

    .han-reels-desc {
        font-size: 16px;
        line-height: 1.75;
        margin-top: 18px;
    }

    .han-reels-action {
        margin-top: 24px;
    }

    .han-reels-btn {
        min-height: 48px;
        padding: 12px 20px;
        border-radius: 16px;
    }

    .han-reels-right {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        height: 440px;
    }

    .han-reels-rail,
    .han-reels-track {
        gap: 12px;
    }

    .han-reels-item {
        min-height: 140px;
        border-radius: 20px;
    }

    .han-reels-item video,
    .han-reels-video-placeholder {
        min-height: 140px;
    }

    .han-reels-item-inner {
        padding: 18px;
    }

    .han-reels-item-title {
        font-size: 16px;
    }

    .han-reels-item-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .han-reels-video-overlay {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 13px;
        border-radius: 14px;
    }
}
