:root {
    --pmv-bg: #0a0a0a;
    --pmv-bg-2: #101010;
    --pmv-panel: #151515;
    --pmv-panel-2: #1c1c1c;
    --pmv-panel-3: #222;
    --pmv-border: rgba(255, 255, 255, 0.09);
    --pmv-border-strong: rgba(255, 255, 255, 0.16);
    --pmv-text: #f5f5f4;
    --pmv-muted: #a3a3a3;
    --pmv-soft: #737373;
    --pmv-accent: #f97316;
    --pmv-accent-2: #fb923c;
    --pmv-accent-soft: rgba(249, 115, 22, 0.16);
    --pmv-green: #22c55e;
    --pmv-red: #ef4444;
    --pmv-sidebar: 16rem;
    --pmv-radius: 16px;
    --pmv-radius-sm: 11px;
    --pmv-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
    --pmv-content: 1540px;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--pmv-bg);
    color: var(--pmv-text);
    font: 400 15px/1.55 "Trebuchet MS", "Segoe UI", sans-serif;
    -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
form,
button,
input,
textarea {
    margin: 0;
    padding: 0;
}

ul,
ol,
li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

::selection {
    background: rgba(249, 115, 22, 0.35);
    color: #fff;
}

.skip-to-main-content {
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 200;
    transform: translateY(-160%);
    border-radius: 999px;
    background: var(--pmv-accent);
    color: #111;
    padding: 9px 14px;
    font-weight: 800;
}

.skip-to-main-content:focus {
    transform: translateY(0);
}

.pmv-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16rem -80px, rgba(249, 115, 22, 0.2), transparent 320px),
        radial-gradient(circle at 86% 5%, rgba(251, 146, 60, 0.1), transparent 360px),
        linear-gradient(180deg, #101010 0, #0a0a0a 360px);
}

.pmv-main {
    width: min(calc(100% - var(--pmv-sidebar)), var(--pmv-content));
    min-height: calc(100vh - 220px);
    margin-left: var(--pmv-sidebar);
    padding: 26px 32px 20px;
}

.pmv-section {
    margin: 22px 0;
}

.pmv-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.pmv-section-heading h2 {
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* Sidebar */
.pmv-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: var(--pmv-sidebar);
    background:
        linear-gradient(180deg, rgba(31, 31, 31, 0.95), rgba(12, 12, 12, 0.98)),
        var(--pmv-bg-2);
    border-right: 1px solid var(--pmv-border);
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.28);
}

.pmv-sidebar__inner {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    padding: 20px 16px;
}

.pmv-brand {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    color: #fff;
    font-family: Impact, "Arial Black", "Trebuchet MS", sans-serif;
    font-size: clamp(20px, 1.55vw, 28px);
    letter-spacing: 0.01em;
    line-height: 1.04;
    text-transform: uppercase;
}

.pmv-brand__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmv-sidebar .pmv-brand {
    width: 100%;
}

.pmv-sidebar .pmv-brand__text {
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}

.pmv-brand__text:first-letter {
    color: var(--pmv-accent-2);
}

.pmv-brand--footer {
    font-size: 25px;
}

.pmv-sidebar-search {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0;
    align-items: center;
    border: 1px solid var(--pmv-border);
    border-radius: 999px;
    background: #0f0f0f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.pmv-sidebar-search input {
    width: 100%;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 12px 0 0;
    min-width: 0;
}

.pmv-sidebar-search input::placeholder {
    color: #777;
}

.pmv-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pmv-soft);
}

.pmv-sidebar-search button {
    grid-column: 1 / -1;
    display: none;
}

.pmv-side-nav {
    display: grid;
    gap: 6px;
}

.pmv-side-nav__title {
    color: var(--pmv-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 10px 4px;
}

.pmv-side-nav__link {
    display: flex;
    width: 100%;
    min-height: 43px;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    color: #d4d4d4;
    font-weight: 800;
    padding: 0 11px;
    text-align: left;
}

.pmv-side-nav__link:hover,
.pmv-side-nav__link.active {
    background: var(--pmv-accent-soft);
    color: #fff;
}

.pmv-side-nav__link.active svg,
.pmv-side-nav__link:hover svg {
    color: var(--pmv-accent-2);
}

.pmv-side-nav__link--button {
    display: none;
}

.pmv-lang {
    position: relative;
    margin-top: auto;
}

.pmv-lang__choice {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--pmv-border);
    border-radius: 13px;
    background: #121212;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0 13px;
    text-transform: uppercase;
}

.pmv-lang__menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: 90;
    display: none;
    max-height: 340px;
    overflow: auto;
    border: 1px solid var(--pmv-border-strong);
    border-radius: 14px;
    background: #111;
    box-shadow: var(--pmv-shadow);
    padding: 8px;
}

.pmv-lang.open .pmv-lang__menu {
    display: grid;
    gap: 4px;
}

.pmv-lang__item {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 9px;
    color: #d4d4d4;
    font-size: 12px;
    font-weight: 900;
    padding: 0 10px;
}

.pmv-lang__item strong {
    color: var(--pmv-accent-2);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pmv-lang__item:hover,
.pmv-lang__item.active {
    background: var(--pmv-accent);
    color: #111;
}

.pmv-lang__item:hover strong,
.pmv-lang__item.active strong {
    color: #111;
}

/* Mobile header */
.pmv-mobile-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: none;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--pmv-border);
    background: rgba(10, 10, 10, 0.94);
    padding: 0 14px;
    backdrop-filter: blur(16px);
}

.pmv-brand--mobile {
    flex: 1;
    justify-content: center;
    max-width: calc(100% - 112px);
    font-size: clamp(18px, 5.8vw, 24px);
}

.pmv-brand--mobile .pmv-brand__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmv-menu-button,
.pmv-search-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pmv-border);
    border-radius: 12px;
    background: #151515;
    color: #fff;
}

.pmv-menu-button span,
.pmv-menu-button span:before,
.pmv-menu-button span:after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.pmv-menu-button span {
    position: relative;
}

.pmv-menu-button span:before,
.pmv-menu-button span:after {
    content: "";
    position: absolute;
    left: 0;
}

.pmv-menu-button span:before {
    top: -7px;
}

.pmv-menu-button span:after {
    top: 7px;
}

.pmv-mobile-search {
    display: none;
}

.search-open .pmv-mobile-search {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    z-index: 75;
    display: block;
    border-bottom: 1px solid var(--pmv-border);
    background: rgba(10, 10, 10, 0.98);
    padding: 12px 14px;
}

.pmv-sidebar-search--mobile {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    border-radius: 14px;
}

.pmv-sidebar-search--mobile button {
    grid-column: auto;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    background: var(--pmv-accent);
    color: #111;
    font-weight: 900;
    padding: 0 15px;
}

.pmv-overlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: none;
    background: rgba(0, 0, 0, 0.62);
}

.nav-open .pmv-overlay,
.search-open .pmv-overlay {
    display: block;
}

.search-open .pmv-mobile-search {
    z-index: 95;
}

/* Ads */
.pmv-ad-row {
    margin: 0 0 22px;
}

.pmv-ad-row--bottom {
    margin: 28px 0 0;
}

.pmv-ad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ad-slot {
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: #111;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ad-slot iframe,
.ad-slot img {
    max-width: 100%;
}

/* Listing */
.pmv-hero {
    margin-bottom: 20px;
}

.pmv-hero__panel {
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 0, rgba(249, 115, 22, 0.22), transparent 270px),
        linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(14, 14, 14, 0.98));
    box-shadow: var(--pmv-shadow);
    padding: clamp(20px, 3.4vw, 34px);
}

.pmv-hero h1,
.pmv-watch__header h1,
.section-head h1,
.error-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.pmv-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pmv-filter-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--pmv-border);
    border-radius: 999px;
    background: #151515;
    color: #d4d4d4;
    font-weight: 900;
    padding: 0 14px;
}

.pmv-filter-chip:hover,
.pmv-filter-chip.active {
    border-color: rgba(249, 115, 22, 0.55);
    background: var(--pmv-accent);
    color: #111;
}

.pmv-filter-panel {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.pmv-filter-panel.open {
    display: grid;
}

.pmv-filter-panel div {
    border: 1px solid var(--pmv-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    padding: 13px;
}

.pmv-filter-panel span {
    display: block;
    color: var(--pmv-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pmv-filter-panel strong {
    display: block;
    color: #fff;
    margin-top: 4px;
}

.pmv-search-cloud__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: rgba(255, 255, 255, 0.035);
    padding: 12px;
}

.pmv-search-cloud span {
    color: var(--pmv-muted);
    font-weight: 900;
}

.pmv-search-cloud a,
.pmv-chip-list a,
.pmv-video-card__tags span,
.pmv-video-card__tags a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: #191919;
    color: #d4d4d4;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
}

.pmv-search-cloud a:hover,
.pmv-chip-list a:hover,
.pmv-video-card__tags a:hover {
    border-color: rgba(249, 115, 22, 0.55);
    background: var(--pmv-accent-soft);
    color: #fff;
}

.pmv-note,
.pmv-empty,
.empty-state {
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--pmv-muted);
    padding: 16px;
}

.pmv-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 18px;
}

.pmv-video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #181818, #111);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pmv-video-card:hover {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    transform: translateY(-3px);
}

.pmv-video-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.18), transparent 38%),
        #0f0f0f;
}

.pmv-video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.pmv-video-card:hover .pmv-video-card__media img {
    opacity: 0.86;
    transform: scale(1.04);
}

.pmv-video-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 34%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 48%);
    pointer-events: none;
}

.pmv-no-thumb {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--pmv-soft);
    font-weight: 900;
}

.pmv-pill {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.03em;
    padding: 0 8px;
    backdrop-filter: blur(10px);
}

.pmv-pill--new {
    left: 9px;
    top: 9px;
    background: var(--pmv-accent);
    color: #111;
}

.pmv-pill--quality {
    right: 9px;
    top: 9px;
}

.pmv-pill--aspect {
    left: 9px;
    bottom: 9px;
}

.pmv-pill--time {
    right: 9px;
    bottom: 9px;
}

.pmv-video-card__body {
    display: grid;
    gap: 10px;
    padding: 13px;
}

.pmv-video-card__score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--pmv-muted);
    font-size: 12px;
    font-weight: 800;
}

.pmv-score {
    color: var(--pmv-green);
}

.pmv-score strong {
    display: inline-flex;
    min-width: 20px;
    min-height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(34, 197, 94, 0.13);
    color: var(--pmv-green);
    margin-left: 4px;
}

.pmv-video-card__title {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.pmv-video-card__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pmv-video-card__title a:hover {
    color: var(--pmv-accent-2);
}

.pmv-video-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pmv-muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pmv-video-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pmv-video-card__tags a {
    margin-left: auto;
    border-color: rgba(249, 115, 22, 0.45);
    color: var(--pmv-accent-2);
}

/* Watch page */
.pmv-watch {
    display: grid;
    gap: 18px;
}

.pmv-watch__header {
    display: grid;
    gap: 12px;
    border: 1px solid var(--pmv-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 10%, rgba(249, 115, 22, 0.17), transparent 250px),
        linear-gradient(135deg, #1c1c1c, #111);
    padding: clamp(18px, 3vw, 30px);
}

.pmv-watch__home {
    width: max-content;
    color: var(--pmv-accent-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pmv-watch__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pmv-watch__meta span {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    border: 1px solid var(--pmv-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #d4d4d4;
    font-size: 12px;
    font-weight: 900;
    padding: 0 10px;
}

.pmv-player-card {
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: 22px;
    background: #000;
    box-shadow: var(--pmv-shadow);
}

.pmv-player-card #player,
.pmv-player-card .jwplayer {
    min-height: 360px;
    background: #000;
}

.pmv-watch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pmv-watch-actions a,
.pmv-watch-actions button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--pmv-border);
    border-radius: 999px;
    background: #151515;
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
}

.pmv-watch-actions a:hover,
.pmv-watch-actions button:hover {
    border-color: rgba(249, 115, 22, 0.55);
    background: var(--pmv-accent-soft);
}

.pmv-watch-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 14px;
}

.pmv-info-card {
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: rgba(255, 255, 255, 0.045);
    padding: 16px;
}

.pmv-info-card h2 {
    color: #fff;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.pmv-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pmv-stat-grid div {
    border: 1px solid var(--pmv-border);
    border-radius: 14px;
    background: #121212;
    padding: 12px;
}

.pmv-stat-grid strong,
.pmv-stat-grid span {
    display: block;
}

.pmv-stat-grid strong {
    color: #fff;
    font-size: 20px;
}

.pmv-stat-grid span {
    color: var(--pmv-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

.pmv-share-input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--pmv-border);
    border-radius: 12px;
    outline: 0;
    background: #101010;
    color: #fff;
    padding: 0 12px;
}

.pmv-share-input:focus {
    border-color: var(--pmv-accent);
}

.pmv-rating-line {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #0e0e0e;
    margin-top: 12px;
}

.pmv-rating-line span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pmv-accent), var(--pmv-green));
}

.pmv-entry-content {
    color: #d4d4d4;
}

.pmv-entry-content p,
.pmv-entry-content div {
    margin: 0 0 12px;
}

.pmv-entry-content a {
    color: var(--pmv-accent-2);
}

.pmv-taxonomy {
    display: grid;
    gap: 12px;
}

.pmv-taxonomy h2 {
    margin: 6px 0 0;
}

.pmv-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pmv-related {
    margin-top: 30px;
}

.pmv-video-card--compact .pmv-video-card__body {
    padding: 12px;
}

/* Pagination */
.pmv-pagination-section {
    display: flex;
    justify-content: center;
}

.pmv-pager {
    width: 100%;
}

.pmv-pager .pagination,
.load-more-row .pagination {
    display: flex;
    justify-content: center;
}

.pmv-pager .pagination ul,
.load-more-row .pagination ul,
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pmv-pager .pagination li,
.load-more-row .pagination li,
.pagination li {
    display: inline-flex;
}

.pmv-pager .page_link,
.pmv-pager .current,
.pmv-pager .pagination-ellipsis span,
.load-more-row .page_link,
.load-more-row .current,
.load-more-row .pagination-ellipsis span,
.pagination .page_link,
.pagination .current,
.pagination .pagination-ellipsis span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pmv-border);
    border-radius: 12px;
    background: #151515;
    color: #d4d4d4;
    font-weight: 900;
    padding: 0 12px;
}

.pmv-pager .page_link:hover,
.load-more-row .page_link:hover,
.pagination .page_link:hover,
.pmv-pager .chosen .current,
.load-more-row .chosen .current,
.pagination .chosen .current {
    border-color: rgba(249, 115, 22, 0.65);
    background: var(--pmv-accent);
    color: #111;
}

/* SEO and footer */
.pmv-seo-text {
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: rgba(255, 255, 255, 0.035);
    padding: 18px;
}

.pmv-footer {
    margin-left: var(--pmv-sidebar);
    border-top: 1px solid var(--pmv-border);
    background: rgba(10, 10, 10, 0.92);
    padding: 24px 32px;
}

.pmv-footer__inner,
.pmv-footer__bottom {
    width: min(100%, var(--pmv-content));
    margin: 0 auto;
}

.pmv-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pmv-footer__brand {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.footer-counters {
    color: var(--pmv-muted);
    font-size: 13px;
}

.pmv-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pmv-footer__nav a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid var(--pmv-border);
    border-radius: 999px;
    background: #151515;
    color: #d4d4d4;
    font-weight: 900;
    padding: 0 12px;
}

.pmv-footer__nav a:hover,
.pmv-footer__nav a.active {
    background: var(--pmv-accent);
    color: #111;
}

.pmv-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--pmv-border);
    color: var(--pmv-soft);
    font-size: 12px;
    font-weight: 800;
    margin-top: 20px;
    padding-top: 16px;
}

/* Directory and 404 compatibility */
.directory-page,
.error-hero {
    display: grid;
    gap: 18px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--pmv-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 0, rgba(249, 115, 22, 0.18), transparent 250px),
        linear-gradient(135deg, #1c1c1c, #111);
    padding: clamp(18px, 3vw, 30px);
}

.section-head span {
    color: var(--pmv-accent-2);
    font-weight: 900;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.directory-card,
.model-tile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--pmv-border);
    border-radius: var(--pmv-radius);
    background: linear-gradient(180deg, #181818, #111);
    padding: 13px;
}

.directory-card:hover,
.model-tile:hover {
    border-color: rgba(249, 115, 22, 0.55);
    transform: translateY(-2px);
}

.directory-card__letter,
.model-tile__placeholder {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--pmv-accent);
    color: #111;
    font-size: 20px;
    font-weight: 1000;
}

.directory-card__content,
.directory-card__title,
.directory-card__meta {
    display: block;
    min-width: 0;
}

.directory-card__title,
.model-tile__title {
    overflow: hidden;
    color: #fff;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-card__meta {
    color: var(--pmv-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 2px;
}

.model-tile {
    display: grid;
    gap: 10px;
    text-align: center;
}

.model-tile__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
    background: #101010;
}

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

.error-hero__panel {
    display: grid;
    grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    border: 1px solid var(--pmv-border);
    border-radius: 26px;
    background:
        radial-gradient(circle at 12% 15%, rgba(249, 115, 22, 0.26), transparent 260px),
        linear-gradient(135deg, #1c1c1c, #101010);
    box-shadow: var(--pmv-shadow);
    padding: clamp(22px, 4vw, 42px);
}

.error-hero__code {
    color: var(--pmv-accent);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(78px, 13vw, 170px);
    line-height: 0.85;
    text-shadow: 0 18px 50px rgba(249, 115, 22, 0.25);
}

.error-hero__content {
    display: grid;
    gap: 14px;
}

.error-hero__eyebrow {
    color: var(--pmv-accent-2);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-hero__text {
    color: var(--pmv-muted);
    max-width: 620px;
}

.error-hero__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 560px;
    overflow: hidden;
    border: 1px solid var(--pmv-border);
    border-radius: 15px;
    background: #101010;
}

.error-hero__search input {
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 0 13px;
}

.error-hero__search button,
.error-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #191919;
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
}

.error-hero__search button,
.error-button--primary {
    background: var(--pmv-accent);
    color: #111;
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* RTL */
.is-rtl .pmv-sidebar {
    right: 0;
    left: auto;
    border-right: 0;
    border-left: 1px solid var(--pmv-border);
}

.is-rtl .pmv-main,
.is-rtl .pmv-footer {
    margin-right: var(--pmv-sidebar);
    margin-left: 0;
}

.is-rtl .pmv-video-card__tags a {
    margin-right: auto;
    margin-left: 0;
}

/* Responsive */
@media (min-width: 1680px) {
    .pmv-main {
        padding-left: 42px;
        padding-right: 42px;
    }
}

@media (max-width: 1280px) {
    .pmv-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 1200px) {
    .pmv-mobile-header {
        display: flex;
    }

    .pmv-sidebar {
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .nav-open .pmv-sidebar {
        transform: translateX(0);
    }

    .is-rtl .pmv-sidebar {
        transform: translateX(105%);
    }

    .is-rtl.nav-open .pmv-sidebar {
        transform: translateX(0);
    }

    .pmv-main,
    .pmv-footer,
    .is-rtl .pmv-main,
    .is-rtl .pmv-footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pmv-main {
        padding: 18px 14px;
    }

    .pmv-footer {
        padding: 22px 14px;
    }

    .pmv-side-nav__link--button {
        display: flex;
    }
}

@media (max-width: 900px) {
    .pmv-filter-panel,
    .pmv-watch-info,
    .error-hero__panel {
        grid-template-columns: 1fr;
    }

    .pmv-ad-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    html,
    body {
        font-size: 14px;
    }

    .pmv-hero__panel,
    .pmv-watch__header {
        border-radius: 18px;
        padding: 18px;
    }

    .pmv-hero h1,
    .pmv-watch__header h1,
    .section-head h1,
    .error-hero h1 {
        font-size: clamp(29px, 10vw, 44px);
    }

    .pmv-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pmv-video-card {
        border-radius: 14px;
    }

    .pmv-video-card__body {
        gap: 8px;
        padding: 10px;
    }

    .pmv-video-card__title {
        font-size: 13px;
    }

    .pmv-video-card__excerpt,
    .pmv-video-card__tags {
        display: none;
    }

    .pmv-video-card__score {
        font-size: 11px;
    }

    .pmv-pill {
        min-height: 21px;
        font-size: 10px;
        padding: 0 7px;
    }

    .pmv-player-card #player,
    .pmv-player-card .jwplayer {
        min-height: 220px;
    }

    .pmv-stat-grid {
        grid-template-columns: 1fr;
    }

    .pmv-footer__inner,
    .pmv-footer__bottom {
        display: grid;
        justify-content: stretch;
    }

    .pmv-footer__nav {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .pmv-video-grid {
        grid-template-columns: 1fr;
    }

    .pmv-sidebar {
        width: min(19rem, 88vw);
    }

    .pmv-brand--mobile {
        font-size: 22px;
    }

    .pmv-sidebar-search--mobile {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .pmv-sidebar-search--mobile button {
        grid-column: 1 / -1;
        min-height: 40px;
        justify-content: center;
    }
}
