.home-video-hub {
    --video-navy: #07172d;
    --video-cyan: #21c7c3;
    --video-cyan-soft: #9cf4ef;
    --video-orange: #ff7043;
    position: relative;
    overflow: hidden;
    padding-block: clamp(42px, 7vw, 88px);
    isolation: isolate;
}

.home-video-hub::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 9% 18%, rgba(33, 199, 195, .17), transparent 26%),
        radial-gradient(circle at 91% 85%, rgba(255, 112, 67, .14), transparent 25%),
        linear-gradient(135deg, #eefbfb 0%, #f8fbfd 44%, #fff7f2 100%);
}

.home-video-hub::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .32;
    background-image: radial-gradient(rgba(7, 23, 45, .16) .75px, transparent .75px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.home-video-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(circle at 0 0, rgba(33, 199, 195, .2), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(255, 112, 67, .15), transparent 30%),
        linear-gradient(145deg, #07172d 0%, #0b203a 55%, #0d2943 100%);
    box-shadow: 0 38px 90px rgba(7, 23, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .11);
}

.home-video-shell::before,
.home-video-shell::after {
    position: absolute;
    z-index: 0;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 30px;
    pointer-events: none;
}

.home-video-shell::before {
    content: '🎬';
    top: 28px;
    left: 4%;
    opacity: .72;
    transform: rotate(-11deg);
}

.home-video-shell::after {
    content: '▶';
    right: 4%;
    bottom: 38px;
    opacity: .25;
    color: var(--video-cyan-soft);
    transform: rotate(9deg);
}

.home-video-block {
    position: relative;
    z-index: 1;
}

.home-video-block + .home-video-block {
    margin-top: clamp(44px, 7vw, 76px);
    padding-top: clamp(36px, 5vw, 58px);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.home-video-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 26px;
}

.home-video-heading-main { max-width: 720px; }

.home-video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 7px 12px;
    border: 1px solid rgba(156, 244, 239, .2);
    border-radius: 999px;
    background: rgba(33, 199, 195, .1);
    color: var(--video-cyan-soft);
    font-size: 12px;
    font-weight: 900;
}

.home-video-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--video-orange);
    box-shadow: 0 0 0 5px rgba(255, 112, 67, .12);
}

.home-video-title {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3.3vw, 42px);
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -.6px;
}

.home-video-description {
    max-width: 670px;
    margin: 10px 0 0;
    color: #aebed0;
    font-size: 14px;
    line-height: 2;
}

.home-video-heading-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .065);
    color: #d7e3ef;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.home-video-heading-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fe6a0;
    box-shadow: 0 0 0 5px rgba(63, 230, 160, .11);
}

/* Landscape cinema cards */
.home-video-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.home-video-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: right;
    -webkit-tap-highlight-color: transparent;
}

.home-video-card--landscape {
    grid-column: span 4;
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 24px;
    background: #09182c;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.home-video-card--landscape:first-child {
    grid-column: span 7;
    min-height: 340px;
}

.home-video-card--landscape:nth-child(2) {
    grid-column: span 5;
    min-height: 340px;
}

.home-video-card--landscape:hover {
    border-color: rgba(156, 244, 239, .5);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .32);
    transform: translateY(-7px);
}

.home-video-card-media { position: absolute; inset: 0; }

.home-video-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-video-card--landscape img {
    transition: transform .65s cubic-bezier(.2, .75, .25, 1), filter .35s ease;
}

.home-video-card--landscape:hover img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.065);
}

.home-video-card--landscape::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2, 8, 17, .04) 24%, rgba(2, 8, 17, .9) 100%), linear-gradient(90deg, rgba(2, 8, 17, .38), transparent 45%);
    pointer-events: none;
}

.home-video-card-topline {
    position: absolute;
    top: 15px;
    right: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-video-card-label,
.home-video-duration {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    background: rgba(4, 13, 26, .66);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(9px);
}

.home-video-duration { direction: ltr; }

.home-video-card-label::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--video-orange);
}

.home-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
    color: var(--video-orange);
    font-size: 21px;
    line-height: 1;
    transform: translate(-50%, -50%);
    transition: transform .3s ease, background .3s ease;
    backdrop-filter: blur(8px);
}

.home-video-play span { margin-right: 3px; }

.home-video-card--landscape:hover .home-video-play {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.home-video-card-copy {
    position: absolute;
    right: 19px;
    bottom: 18px;
    left: 19px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.home-video-card-copy-main { min-width: 0; }

.home-video-card-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.7;
}

.home-video-card-subtitle {
    display: block;
    margin-top: 4px;
    color: #c0cfdd;
    font-size: 11px;
}

.home-video-card-arrow {
    flex: 0 0 auto;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    font-size: 19px;
    transition: background .25s ease, transform .25s ease;
}

.home-video-card--landscape:hover .home-video-card-arrow {
    background: var(--video-cyan);
    transform: translateX(-3px);
}

/* Instagram-like circular reels */
.home-reel-wrap { position: relative; margin-inline: -8px; }

.home-reel-track {
    display: grid;
    grid-auto-columns: 126px;
    grid-auto-flow: column;
    gap: clamp(12px, 2vw, 25px);
    overflow-x: auto;
    padding: 8px 8px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 244, 239, .45) rgba(255, 255, 255, .05);
}

.home-video-card--reel {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    background: transparent;
    scroll-snap-align: start;
}

.home-reel-ring {
    position: relative;
    display: grid;
    width: 108px;
    height: 108px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #ffd166, #ff6b5f, #d946ef, #7c3aed, #21c7c3, #ffd166);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
    transition: transform .28s ease, filter .28s ease;
}

.home-reel-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 3px solid var(--video-navy);
    border-radius: 50%;
    pointer-events: none;
}

.home-reel-cover {
    position: relative;
    overflow: hidden;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #122943;
}

.home-reel-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(2, 8, 17, .64));
}

.home-reel-cover img { transition: transform .45s ease; }

.home-video-card--reel:hover .home-reel-ring {
    filter: saturate(1.12) brightness(1.08);
    transform: translateY(-4px) scale(1.035);
}

.home-video-card--reel:hover .home-reel-cover img { transform: scale(1.08); }

.home-reel-play {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 3;
    display: grid;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 3px solid var(--video-navy);
    border-radius: 50%;
    background: #fff;
    color: var(--video-orange);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
}

.home-reel-title {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #f1f7fb;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.65;
    text-align: center;
}

.home-reel-duration {
    position: absolute;
    bottom: 8px;
    left: 50%;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 8px;
    direction: ltr;
    transform: translateX(-50%);
}

.home-video-state {
    padding: 30px 18px;
    border: 1px dashed rgba(156, 244, 239, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .035);
    color: #9fb1c4;
    text-align: center;
}

.home-video-state[hidden] { display: none; }

.home-video-more {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 175px;
    margin: 25px auto 0;
    padding: 11px 20px;
    border: 1px solid rgba(156, 244, 239, .32);
    border-radius: 14px;
    background: rgba(33, 199, 195, .1);
    color: var(--video-cyan-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.home-video-more:hover { background: rgba(33, 199, 195, .19); transform: translateY(-2px); }
.home-video-more.is-visible { display: flex; }

/* Premium video/reel viewer */
.home-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: radial-gradient(circle at 50% 40%, rgba(33, 199, 195, .12), transparent 35%), rgba(3, 10, 21, .94);
    backdrop-filter: blur(18px);
}

.home-video-modal.is-open { display: flex; animation: homeVideoFadeIn .22s ease both; }

.home-video-modal-dialog {
    position: relative;
    width: min(1120px, 94vw);
    animation: homeVideoRise .28s ease both;
}

.home-video-modal-dialog.is-reel { width: min(430px, 88vw); }

.home-video-modal-progress { display: none; gap: 4px; margin-bottom: 10px; }
.home-video-modal-dialog.is-reel .home-video-modal-progress { display: flex; }

.home-video-progress-segment {
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
}

.home-video-progress-segment::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #fff;
}

.home-video-progress-segment.is-past::after { width: 100%; }
.home-video-progress-segment.is-active::after { width: var(--story-progress, 0%); }

.home-video-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: #fff;
}

.home-video-modal-brand { display: flex; align-items: center; min-width: 0; gap: 10px; }

.home-video-modal-brand-icon {
    flex: 0 0 auto;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--video-cyan), #167b91);
    box-shadow: 0 8px 22px rgba(33, 199, 195, .25);
    font-size: 16px;
}

.home-video-modal-title {
    overflow: hidden;
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-video-modal-close {
    flex: 0 0 auto;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font: inherit;
    font-size: 25px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.home-video-modal-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(7deg); }

.home-video-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: #000;
    box-shadow: 0 35px 110px rgba(0, 0, 0, .65);
    color: #fff;
}

.home-video-modal-dialog.is-reel .home-video-player {
    aspect-ratio: 9 / 16;
    max-height: 78vh;
    border-radius: 26px;
}

.home-video-player video,
.home-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.home-video-player-error {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 30px;
    color: #dce7f1;
    line-height: 2;
    text-align: center;
}

.home-video-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
    font-size: 25px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
}

.home-video-modal-dialog.is-reel .home-video-modal-nav { display: grid; }
.home-video-modal-nav--next { left: -64px; }
.home-video-modal-nav--prev { right: -64px; }
.home-video-modal-nav:disabled { opacity: .25; cursor: default; }
body.home-video-modal-open { overflow: hidden; }

@keyframes homeVideoFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes homeVideoRise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
    .home-video-card--landscape,
    .home-video-card--landscape:first-child,
    .home-video-card--landscape:nth-child(2) {
        grid-column: span 6;
        min-height: 285px;
    }
}

@media (max-width: 700px) {
    .home-video-hub { padding-block: 34px; }
    .home-video-shell { padding: 24px 14px 28px; border-radius: 28px; }
    .home-video-shell::before,
    .home-video-shell::after { width: 50px; height: 50px; border-radius: 17px; font-size: 21px; }
    .home-video-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
    .home-video-heading-badge { display: none; }
    .home-video-title { font-size: 25px; }
    .home-video-description { font-size: 12px; }

    .home-video-grid {
        display: grid;
        grid-auto-columns: 82vw;
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 13px;
        overflow-x: auto;
        margin-inline: -14px;
        padding: 5px 14px 18px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-video-grid::-webkit-scrollbar,
    .home-reel-track::-webkit-scrollbar { display: none; }

    .home-video-card--landscape,
    .home-video-card--landscape:first-child,
    .home-video-card--landscape:nth-child(2) {
        grid-column: auto;
        min-height: 230px;
        border-radius: 20px;
        scroll-snap-align: center;
    }

    .home-video-play { width: 53px; height: 53px; font-size: 17px; }
    .home-video-card-copy { right: 15px; bottom: 14px; left: 15px; }
    .home-reel-track { grid-auto-columns: 104px; gap: 13px; }
    .home-reel-ring { width: 92px; height: 92px; }
    .home-reel-cover { width: 80px; height: 80px; }
    .home-video-modal { padding: 12px; }
    .home-video-modal-dialog.is-reel { width: min(390px, 94vw); }
    .home-video-modal-dialog.is-reel .home-video-player { max-height: 79vh; }
    .home-video-modal-nav { top: auto; bottom: 18px; transform: none; }
    .home-video-modal-nav--prev { right: 18px; }
    .home-video-modal-nav--next { left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-card,
    .home-video-card img,
    .home-video-play,
    .home-reel-ring,
    .home-video-modal-dialog { transition: none !important; animation: none !important; }
}
