/* LikeFilm homepage — Watch discovery block (v1) */

.homeV2-button--watch {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid rgba(255,198,43,.35);
    background:rgba(255,198,43,.07);
    color:#ffc62b;
}

.homeV2-button--watch:hover {
    border-color:#ffc62b;
    background:rgba(255,198,43,.13);
    color:#ffd250;
}

.homeV2-watch {
    margin:68px 0 72px;
    padding-top:4px;
}

.homeV2-watch__heading {
    align-items:flex-end;
    margin-bottom:20px;
}

.homeV2-watch__heading > div:first-child {
    max-width:820px;
}

.homeV2-watch__heading h2 {
    max-width:760px;
}

.homeV2-watch__heading p {
    max-width:720px;
    margin:9px 0 0;
    color:#9eafc1;
    font-size:14px;
    line-height:1.55;
}

.homeV2-watch__heading > a,
.homeV2-watch-now-head > a {
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#a8bbce;
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
}

.homeV2-watch__heading > a:hover,
.homeV2-watch-now-head > a:hover {
    color:#ffc62b;
}

.homeV2-watch-entry-grid {
    display:grid;
    grid-template-columns:minmax(0,1.75fr) minmax(0,1fr) minmax(0,1fr);
    gap:14px;
}

.homeV2-watch-entry {
    --home-watch-image:none;
    position:relative;
    min-height:230px;
    display:block;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.11);
    border-radius:20px;
    background:#0c1724 var(--home-watch-image) center/cover no-repeat;
    color:#fff;
    text-decoration:none;
    isolation:isolate;
    transition:transform .18s ease,border-color .18s ease;
}

.homeV2-watch-entry--main {
    min-height:300px;
}

.homeV2-watch-entry:hover {
    transform:translateY(-2px);
    border-color:rgba(255,198,43,.45);
}

.homeV2-watch-entry__shade {
    position:absolute;
    inset:0;
    z-index:-1;
    background:
        linear-gradient(90deg,rgba(4,10,17,.94) 0%,rgba(4,10,17,.72) 48%,rgba(4,10,17,.22) 100%),
        linear-gradient(0deg,rgba(4,10,17,.82),rgba(4,10,17,.06) 65%);
}

.homeV2-watch-entry:not(.homeV2-watch-entry--main) .homeV2-watch-entry__shade {
    background:linear-gradient(0deg,rgba(4,10,17,.94) 0%,rgba(4,10,17,.48) 58%,rgba(4,10,17,.18) 100%);
}

.homeV2-watch-entry__content {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:22px;
}

.homeV2-watch-entry--main .homeV2-watch-entry__content {
    max-width:500px;
    justify-content:center;
    padding:30px;
}

.homeV2-watch-entry__kicker {
    color:#ffc62b;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:8px;
}

.homeV2-watch-entry strong {
    display:block;
    max-width:420px;
    font-size:24px;
    line-height:1.12;
}

.homeV2-watch-entry--main strong {
    font-size:31px;
}

.homeV2-watch-entry small {
    display:block;
    max-width:440px;
    margin-top:8px;
    color:#c2cfdd;
    font-size:13px;
    line-height:1.45;
}

.homeV2-watch-entry__arrow {
    position:absolute;
    right:18px;
    bottom:18px;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.19);
    border-radius:50%;
    background:rgba(7,17,29,.66);
    color:#fff;
}

.homeV2-watch-entry--main .homeV2-watch-entry__arrow {
    width:44px;
    height:44px;
    background:#ffc62b;
    border-color:#ffc62b;
    color:#07111d;
}

.homeV2-watch-now-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:26px 0 13px;
}

.homeV2-watch-now-head h3 {
    margin:0;
    color:#f7f9fc;
    font-size:20px;
    line-height:1.2;
}

.homeV2-watch-now {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.homeV2-watch-card {
    min-width:0;
    display:flex;
    flex-direction:column;
    color:#fff;
    text-decoration:none;
}

.homeV2-watch-card__poster {
    position:relative;
    display:block;
    aspect-ratio:2/3;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    background:#0b1623;
    transition:transform .18s ease,border-color .18s ease;
}

.homeV2-watch-card:hover .homeV2-watch-card__poster {
    transform:translateY(-2px);
    border-color:rgba(255,198,43,.35);
}

.homeV2-watch-card__poster img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.homeV2-watch-card__fallback {
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffc62b;
    font-size:34px;
}

.homeV2-watch-card__flag {
    position:absolute;
    left:10px;
    bottom:10px;
    padding:5px 8px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    background:rgba(7,17,29,.88);
    color:#fff;
    font-size:10px;
    font-weight:800;
}

.homeV2-watch-card > strong {
    display:block;
    margin-top:10px;
    color:#f5f8fb;
    font-size:14px;
    line-height:1.3;
    overflow:hidden;
    text-overflow:ellipsis;
}

.homeV2-watch-card > small {
    display:block;
    margin-top:5px;
    color:#8fa4ba;
    font-size:11px;
    line-height:1.3;
}

@media(max-width:1050px) {
    .homeV2-watch-entry-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .homeV2-watch-entry--main {
        grid-column:1/-1;
        min-height:270px;
    }
}

@media(max-width:760px) {
    .homeV2-watch {
        margin:48px 0 54px;
    }
    .homeV2-watch__heading {
        align-items:flex-start;
    }
    .homeV2-watch__heading > a {
        display:none;
    }
    .homeV2-watch-entry-grid {
        grid-template-columns:1fr;
    }
    .homeV2-watch-entry--main {
        grid-column:auto;
        min-height:245px;
    }
    .homeV2-watch-entry {
        min-height:205px;
    }
    .homeV2-watch-now {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px 12px;
    }
}

@media(max-width:520px) {
    .homeV2-hero__actions .homeV2-button--watch {
        width:100%;
    }
    .homeV2-watch-entry__content,
    .homeV2-watch-entry--main .homeV2-watch-entry__content {
        padding:20px;
    }
    .homeV2-watch-entry--main strong {
        font-size:26px;
        max-width:300px;
    }
    .homeV2-watch-entry strong {
        font-size:21px;
    }
    .homeV2-watch-entry small {
        padding-right:42px;
    }
}
