/* Video show page — nt-* design system */

.nt-video-show {
    position: relative;
    padding-top: 16px;
    padding-bottom: 56px;
}

.nt-video-show::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 45% at 12% 0%, color-mix(in oklab, var(--nt-accent) 10%, transparent), transparent 55%),
        radial-gradient(ellipse 55% 40% at 90% 12%, color-mix(in oklab, var(--nt-vip) 8%, transparent), transparent 50%);
    z-index: 0;
}

.nt-video-show > .nt-container {
    position: relative;
    z-index: 1;
}

.nt-video-show-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.nt-video-show-breadcrumb {
    margin-bottom: 16px;
}

.nt-video-show-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.nt-video-show-breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--nt-muted);
}

.nt-video-show-breadcrumb a {
    color: var(--nt-muted);
    text-decoration: none;
}

.nt-video-show-breadcrumb a:hover {
    color: var(--nt-accent-hover);
}

.nt-video-show-breadcrumb [aria-current="page"] {
    color: var(--nt-text);
}

/* Player */
.nt-video-player-wrap {
    margin-bottom: 18px;
    border-radius: var(--nt-radius-lg);
    overflow: hidden;
    background: #0a0a0c;
    border: 1px solid var(--nt-glass-border);
    box-shadow: var(--nt-softshadow);
}

.nt-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.nt-video-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.nt-video-poster.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.nt-video-poster-media {
    position: absolute;
    inset: 0;
}

.nt-video-poster-cover,
.nt-video-poster-preview,
.nt-video-poster-preview-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nt-video-poster-cover {
    z-index: 1;
    transition: opacity .25s ease;
}

.nt-video-poster-preview {
    z-index: 2;
    opacity: 0;
    transition: opacity .25s ease;
}

.nt-video-poster-preview-video {
    z-index: 2;
    display: none;
    object-fit: cover;
}

.nt-video-poster-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, transparent 45%);
    pointer-events: none;
}

.nt-video-poster-play {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}

.nt-video-poster-play:hover {
    background: rgba(0, 0, 0, .42);
}

.nt-video-poster-play i,
.nt-video-poster-play svg {
    width: 56px;
    height: 56px;
    color: #fff;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .45));
}

.nt-video-poster-play span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nt-video-poster-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.nt-video-badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, .62);
    border: 1px solid rgba(255, 255, 255, .12);
}

.nt-video-badge.is-accent {
    background: var(--nt-accent);
    border-color: var(--nt-accent);
}

.nt-video-embed {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.nt-video-embed iframe,
.nt-video-embed video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #000;
}

/* Unlock bar */
.nt-video-unlock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--nt-glass);
    border-top: 1px solid var(--nt-glass-border);
}

.nt-video-unlock.is-owned {
    border-top-color: color-mix(in oklab, var(--nt-accent) 25%, var(--nt-border));
}

.nt-video-unlock-main h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 650;
    color: var(--nt-text);
}

.nt-video-unlock-main p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--nt-muted);
}

.nt-video-unlock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Meta */
.nt-video-meta {
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: var(--nt-radius-lg);
    background: var(--nt-glass);
    border: 1px solid var(--nt-glass-border);
}

.nt-video-meta-eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nt-accent-hover);
    background: var(--nt-accent-soft);
    border: 1px solid color-mix(in oklab, var(--nt-accent) 30%, transparent);
    border-radius: 999px;
}

.nt-video-meta h1 {
    margin: 0;
    font-size: clamp(22px, 3.5vw, 32px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--nt-text);
}

.nt-video-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.nt-video-creator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nt-video-creator img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--nt-border);
}

.nt-video-creator span {
    font-size: 14px;
    font-weight: 650;
    color: var(--nt-text);
}

.nt-video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--nt-muted);
}

.nt-video-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nt-video-stats i,
.nt-video-stats svg {
    width: 14px;
    height: 14px;
}

.nt-video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.nt-video-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nt-text);
    background: color-mix(in oklab, var(--nt-elevated) 80%, transparent);
    border: 1px solid var(--nt-border);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.nt-video-action:hover,
.nt-video-action.is-active {
    border-color: color-mix(in oklab, var(--nt-accent) 40%, var(--nt-border));
    background: var(--nt-accent-soft);
}

.nt-video-action i,
.nt-video-action svg {
    width: 16px;
    height: 16px;
}

/* Content blocks */
.nt-video-block {
    margin-bottom: 20px;
    padding: 22px 24px;
    border-radius: var(--nt-radius-lg);
    background: var(--nt-glass);
    border: 1px solid var(--nt-glass-border);
}

.nt-video-block h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 650;
    color: var(--nt-text);
}

.nt-video-description {
    color: var(--nt-muted);
    font-size: 15px;
    line-height: 1.65;
}

.nt-video-description p {
    margin: 0 0 12px;
}

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

.nt-video-tag {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--nt-text);
    background: color-mix(in oklab, var(--nt-elevated) 85%, transparent);
    border: 1px solid var(--nt-border);
    transition: border-color .2s ease, background .2s ease;
}

.nt-video-tag.is-primary {
    color: #fff;
    background: var(--nt-accent);
    border-color: var(--nt-accent);
}

.nt-video-tag:hover {
    border-color: color-mix(in oklab, var(--nt-accent) 40%, var(--nt-border));
}

.nt-video-tag.is-primary:hover {
    filter: brightness(1.08);
}

/* Comments */
.nt-video-comment {
    padding: 14px 0;
    border-bottom: 1px solid var(--nt-border);
}

.nt-video-comment:last-child {
    border-bottom: 0;
}

.nt-video-comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.nt-video-comment-head img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nt-video-comment-name {
    font-size: 14px;
    font-weight: 650;
    color: var(--nt-text);
}

.nt-video-comment-date {
    font-size: 12px;
    color: var(--nt-muted);
    margin-left: 6px;
}

.nt-video-comment-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--nt-muted);
}

.nt-video-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    font-size: 12px;
}

.nt-video-comment-actions a,
.nt-video-comment-actions button {
    color: var(--nt-accent-hover);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.nt-video-comment.is-reply {
    margin-left: 28px;
    padding-left: 16px;
    border-left: 2px solid var(--nt-border);
}

.nt-video-comment-form textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: var(--nt-radius-md, 12px);
    background: color-mix(in oklab, var(--nt-elevated) 85%, transparent);
    border: 1px solid var(--nt-border);
    color: var(--nt-text);
    font-size: 14px;
    resize: vertical;
}

.nt-video-related {
    margin-top: 8px;
}

.nt-video-related .nt-movies-grid {
    margin-top: 0;
}

/* Sidebar */
.nt-video-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nt-video-sidebar-card {
    padding: 18px 20px;
    border-radius: var(--nt-radius-lg);
    background: var(--nt-glass);
    border: 1px solid var(--nt-glass-border);
}

.nt-video-sidebar-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 650;
    color: var(--nt-text);
}

.nt-video-sidebar-card p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--nt-muted);
}

.nt-video-sidebar-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--nt-text);
    margin-bottom: 10px;
}

@media (max-width: 990px) {
    .nt-video-show-layout {
        grid-template-columns: 1fr;
    }

    .nt-video-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .nt-video-unlock {
        flex-direction: column;
        align-items: stretch;
    }

    .nt-video-unlock-actions .nt-btn {
        width: 100%;
        justify-content: center;
    }

    .nt-video-meta,
    .nt-video-block {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nt-video-poster-play:hover {
        background: rgba(0, 0, 0, .28);
    }
}
