:root {
    --red: #e10600;
    --text: #ffffff;
    --muted-soft: rgba(255, 255, 255, 0.68);
    --muted-strong: rgba(255, 255, 255, 0.5);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
}

.video-page {
    padding: 26px 0 80px;
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(225, 6, 0, 0.08) 0%, rgba(225, 6, 0, 0) 55%),
        linear-gradient(180deg, #0e0e10 0%, #0b0c10 100%);
}

.video-shell {
    display: grid;
    gap: 30px;
}

.video-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--muted-strong);
}

.video-breadcrumbs a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.video-breadcrumbs a:hover {
    color: var(--red);
}

.video-hero {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.video-hero-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    box-shadow: 0 18px 45px -22px rgba(0, 0, 0, 0.7);
}

.stream-iframe,
.trailer-iframe,
.trailer-video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

.trailer-video {
    object-fit: cover;
}

.video-hero-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.32) 100%);
}

.video-hero-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
}

.video-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.video-badge.is-live {
    background: rgba(225, 6, 0, 0.9);
}

.video-player-error {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    background: #000;
    color: rgba(255, 255, 255, 0.82);
}

.video-player-box-message {
    max-width: 620px;
}

.video-player-box-message h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-player-box-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.video-main {
    width: 100%;
}

.video-main-stack {
    display: grid;
    gap: 30px;
}

.video-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.video-head-main {
    min-width: 0;
}

.video-head-side {
    min-width: 0;
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.video-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--muted-strong);
}

.video-meta-line .video-dot {
    opacity: 0.45;
}

.video-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
}

.video-summary {
    max-width: 920px;
    color: var(--muted-soft);
    font-size: 15px;
    line-height: 1.8;
}

.video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.video-action-btn {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.22s ease;
}

.video-action-btn:hover {
    border-color: var(--red);
    background: rgba(225, 6, 0, 0.12);
}

.video-action-btn.is-active {
    border-color: var(--red);
    background: rgba(225, 6, 0, 0.18);
}

.video-action-btn.video-action-primary {
    background: var(--red);
    border-color: var(--red);
}

.video-action-btn.video-action-primary:hover {
    background: #b80500;
    border-color: #b80500;
}

.video-side-block+.video-side-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.video-side-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--muted-strong);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-side-value {
    font-size: 15px;
    line-height: 1.65;
    color: #fff;
    font-weight: 700;
}

.video-side-muted {
    color: var(--muted-soft);
    font-size: 13px;
    line-height: 1.75;
}

.video-access-box {
    padding-top: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 1rem;
}

.video-access-box h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fff;
}

.video-access-box p {
    margin: 0;
    color: var(--muted-soft);
    font-size: 14px;
    line-height: 1.75;
    max-width: 900px;
}

.video-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.video-section {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.video-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.video-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.video-section-title {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.15px;
    color: #fff;
}

.video-info-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 44px;
    align-items: start;
}

.video-description {
    color: var(--muted-soft);
    font-size: 15px;
    line-height: 1.95;
    max-width: 100%;
}

.video-models {
    display: grid;
    gap: 12px;
}

.video-model-chip {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.video-model-chip:last-child {
    border-bottom: none;
}

.video-model-chip:hover .video-model-name {
    color: var(--red);
}

.video-model-avatar {
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.3), rgba(0, 0, 0, 0.55));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-model-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-model-initials {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.video-model-name {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fff;
    transition: color 0.2s ease;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.video-tag {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}

.video-tag:hover {
    border-color: var(--red);
    background: rgba(225, 6, 0, 0.12);
    color: #fff;
}

.video-related {
    margin-top: 6px;
}

.video-related .vr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.video-related .vr-title {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.15px;
    color: #fff;
}

.video-related .vr-note {
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 920px;
}

.video-related .vr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.video-related .vr-card {
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .22);
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.video-related .vr-card:hover,
.video-related .vr-card:focus-visible,
.video-related .vr-card.is-active {
    border-color: rgba(225, 6, 0, .55);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.video-related .vr-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #16161a;
    overflow: hidden;
}

.video-related .vr-thumb img,
.video-related .vr-thumb .vr-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-related .vr-thumb img {
    z-index: 1;
    display: block;
    opacity: 1;
    transition: opacity .25s ease;
}

.video-related .vr-thumb .vr-preview {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    background: #000;
}

.video-related .vr-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .12) 55%);
    z-index: 2;
    pointer-events: none;
}

.video-related .vr-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    margin-left: -37px;
    margin-top: -37px;
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .30);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(.88);
    transition: opacity .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
    pointer-events: none;
}

.video-related .vr-play::before {
    content: "";
    display: block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--red);
    filter: drop-shadow(0 0 10px rgba(225, 6, 0, .18));
}

.video-related .vr-card:hover .vr-play,
.video-related .vr-card:focus-visible .vr-play,
.video-related .vr-card.is-active .vr-play {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, .72);
    border-color: rgba(255, 255, 255, .16);
}

.video-related .vr-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.video-related .vr-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.video-related .vr-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-related .vr-actors {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.video-related .vr-desc {
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    line-height: 1.5;
}

.video-related .vr-date {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.video-empty {
    padding: 28px 0;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1200px) {
    .video-related .vr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .video-head-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .video-head-side {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--line);
        padding-top: 20px;
    }

    .video-info-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .video-page {
        padding: 20px 0 60px;
    }

    .video-title {
        font-size: 28px;
    }

    .video-actions {
        width: 100%;
    }

    .video-action-btn {
        flex: 1 1 calc(50% - 6px);
    }

    .video-related .vr-grid {
        grid-template-columns: 1fr;
    }

    .video-related .vr-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .video-hero-top {
        top: 14px;
        left: 14px;
        right: 14px;
    }

    .video-badge {
        min-height: 30px;
        padding: 0 10px;
        font-size: 10px;
    }

    .video-action-btn {
        flex: 1 1 100%;
    }
}