:root {
    --bg: #080b10;
    --bg-soft: #0f141c;
    --surface: #141b25;
    --surface-2: #1b2430;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f4f7fb;
    --muted: #9aa7b8;
    --accent: #e50914;
    --accent-2: #ff3b30;
    --gold: #f5c518;
    --green: #26c281;
    --teal: #1abc9c;
    --danger: #dc3545;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(229, 9, 20, 0.08), transparent 34%), var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.hp-field {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 11, 16, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.site-navbar {
    padding: 14px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text) !important;
    font-weight: 900;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #8f0610);
    color: #fff;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
}

.nav-toggler {
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.nav-toggler-icon {
    filter: invert(1);
}

.nav-menu {
    gap: 2px;
}

.nav-menu .nav-link {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 9px 12px;
    border-radius: 10px;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    min-width: 260px;
    margin-left: 14px;
}

.nav-search input {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    width: 100%;
    font-size: 0.9rem;
}

.nav-search input::placeholder {
    color: var(--muted);
}

.nav-search button {
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease;
}

.nav-search button:hover {
    background: var(--accent-2);
    transform: scale(1.04);
}

.nav-user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold) !important;
    font-weight: 800;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.nav-user-link:hover {
    background: rgba(245, 197, 24, 0.08);
}

.explore-menu {
    min-width: 440px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.explore-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.explore-title {
    color: var(--accent-2);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.explore-menu .dropdown-item,
.site-header .dropdown-menu .dropdown-item {
    color: var(--muted);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.explore-menu .dropdown-item:hover,
.site-header .dropdown-menu .dropdown-item:hover {
    background: var(--accent);
    color: #fff;
}

.site-header .dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.page-main {
    padding-top: 38px;
    padding-bottom: 60px;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

.page-title {
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.6px;
    margin: 0;
}

.page-subtitle {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 0.95rem;
}

.page-count {
    color: var(--muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.tag-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.9rem;
}

.tag-bar a {
    margin-left: auto;
    color: var(--accent-2);
    font-weight: 800;
    text-decoration: none;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.poster-grid.small {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.poster-card {
    min-width: 0;
}

.poster-link {
    display: block;
    text-decoration: none;
}

.poster-article {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.poster-link:hover .poster-article {
    transform: translateY(-4px);
    border-color: rgba(229, 9, 20, 0.55);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--surface-2);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.poster-link:hover .poster-frame img {
    transform: scale(1.04);
    filter: brightness(0.82);
}

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent 38%);
    pointer-events: none;
}

.poster-meta {
    padding: 10px 11px 12px;
}

.poster-title {
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.poster-year {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 70px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.pagination-wrap {
    margin-top: 38px;
}

.pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pagination .page-link {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 9px !important;
    font-weight: 700;
}

.pagination .page-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination .active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.seo-section {
    max-width: 920px;
    margin: 46px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.seo-section h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.seo-section p {
    color: var(--muted);
    margin: 0;
}

.item-page {
    padding-bottom: 50px;
}

.item-hero {
    position: relative;
    padding: 46px 0 42px;
    background-image: linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.86) 52%, rgba(8, 11, 16, 0.72) 100%), var(--hero-image, none);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
}

.item-hero-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.item-poster img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--line-strong);
}

.item-intro {
    max-width: 860px;
}

.item-title {
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -1.2px;
    font-weight: 900;
    margin: 0 0 10px;
}

.item-year {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.6em;
    letter-spacing: 0;
}

.item-original {
    color: var(--muted);
    font-size: 1.03rem;
    margin: 0 0 14px;
}

.item-tagline {
    color: #d8dee9;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin: 0 0 18px;
}

.section-title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -0.3px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "";
    width: 5px;
    height: 1.1em;
    border-radius: 999px;
    background: linear-gradient(var(--accent), var(--accent-2));
    display: inline-block;
}

.section-title.compact {
    font-size: 1.05rem;
    margin-top: 6px;
    margin-bottom: 12px;
}

.item-synopsis {
    color: #d9e1ec;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 860px;
}

.breadcrumb-wrap {
    margin-bottom: 22px;
}

.breadcrumb {
    margin: 0;
    font-size: 0.82rem;
}

.breadcrumb-item a {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb-item.active {
    color: var(--muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
    content: "›";
}

.item-section {
    margin-top: 38px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.tech-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.tech-card:hover {
    border-color: rgba(229, 9, 20, 0.45);
    transform: translateY(-1px);
}

.tech-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 9, 20, 0.12);
    color: var(--accent-2);
}

.tech-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tech-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tech-value {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    word-break: break-word;
}

.text-link {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

.genre-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    margin: 2px 5px 2px 0;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
}

.genre-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.genre-sep {
    display: none;
}

.badge-faixa-etaria {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
}

.fe-l,
.fe-livre { background: #00a651; }
.fe-10 { background: #04b4e4; }
.fe-12 { background: #fbc02d; color: #111; }
.fe-14 { background: #f57c00; }
.fe-16 { background: #e53935; }
.fe-18 { background: #000; }

.download-list {
    display: grid;
    gap: 10px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.download-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-dl-verde {
    background: linear-gradient(135deg, #26c281, #168f5b);
    box-shadow: 0 8px 20px rgba(38, 194, 129, 0.18);
}

.btn-dl-verde:hover {
    background: linear-gradient(135deg, #2fdb91, #1aa568);
}

.btn-dl-legendado {
    background: linear-gradient(135deg, #1abc9c, #128a73);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.18);
}

.btn-dl-legendado:hover {
    background: linear-gradient(135deg, #25d6b2, #15957c);
}

.btn-dl-cam {
    background: linear-gradient(135deg, #f39c12, #b36b00);
    border: 2px dashed rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.18);
}

.btn-dl-cam:hover {
    background: linear-gradient(135deg, #ffb32e, #c97900);
}

.download-note {
    color: var(--muted);
    font-size: 0.86rem;
    margin: 16px 0 0;
    text-align: center;
}

.download-note a {
    color: var(--accent-2);
    font-weight: 800;
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

.ficha-content {
    color: #dbe3ee;
    font-size: 0.98rem;
}

.ficha-content p:last-child {
    margin-bottom: 0;
}

.editorial-section {
    background: transparent;
    border: 0;
    padding: 0;
}

.content-block {
    margin-top: 34px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}

.video-frame {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.cast-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.cast-card:hover {
    border-color: rgba(229, 9, 20, 0.45);
    transform: translateY(-1px);
    color: var(--text);
}

.cast-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 46px;
    background: var(--surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.cast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.cast-name {
    font-weight: 800;
    font-size: 0.9rem;
}

.cast-character {
    color: var(--muted);
    font-size: 0.78rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.tag-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.awards-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.awards-table th,
.awards-table td {
    border: 1px solid var(--line);
    padding: 12px;
    text-align: left;
}

.awards-table th {
    background: var(--surface);
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.status-win {
    color: #2fdb91;
    font-weight: 800;
}

.status-nom {
    color: var(--gold);
    font-weight: 800;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.poster-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.media-item {
    min-width: 0;
}

.media-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    display: block;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.media-thumb.poster-thumb {
    height: auto;
    aspect-ratio: 2 / 3;
}

.media-item a:hover .media-thumb {
    transform: translateY(-2px);
    border-color: rgba(229, 9, 20, 0.55);
}

.media-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.media-original {
    color: var(--accent-2);
    font-weight: 800;
    text-decoration: none;
}

.media-original:hover {
    text-decoration: underline;
}

.center-action {
    text-align: center;
    margin-top: 18px;
}

.toggle-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line-strong);
    font-weight: 800;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.toggle-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.trailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.trailer-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    cursor: pointer;
}

.trailer-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.trailer-placeholder:hover img {
    opacity: 1;
}

.trailer-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.6rem;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.trailer-placeholder:hover .play-icon {
    transform: scale(1.08);
}

.trailer-caption {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.social-list,
.provider-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.social-link,
.provider-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
}

.social-link:hover,
.provider-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.provider-link img {
    height: 22px;
    width: auto;
    border-radius: 4px;
}

.provider-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
}

.provider-flatrate { background: #168f5b; color: #fff; }
.provider-rent { background: #b36b00; color: #fff; }
.provider-buy { background: #1f6feb; color: #fff; }

.franchise-block {
    margin-bottom: 34px;
}

.franchise-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.franchise-box,
.date-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.franchise-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-left: 4px solid var(--accent);
}

.franchise-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #8f0610);
    color: #fff;
    flex: 0 0 44px;
}

.franchise-label {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.franchise-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.date-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.date-box strong {
    color: var(--text);
}

.comments-block {
    margin-top: 34px;
}

.comments-container {
    margin-top: 18px;
}

.site-footer {
    margin-top: 50px;
    background: #06080c;
    border-top: 1px solid var(--line);
    padding: 34px 0;
}

.footer-inner {
    max-width: 900px;
    text-align: center;
}

.footer-copy {
    color: var(--text);
    margin: 0 0 10px;
}

.footer-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 10px;
}

.footer-disclaimer {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
}

.footer-disclaimer i {
    color: var(--gold);
    margin-right: 4px;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

@media (max-width: 1199.98px) {
    .nav-search {
        margin: 14px 0 0;
        width: 100%;
    }
    .nav-user-link {
        display: inline-flex;
        margin-top: 10px;
    }
    .explore-menu {
        min-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .item-hero-grid {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }
    .franchise-row {
        grid-template-columns: 1fr;
    }
    .poster-grid,
    .poster-grid.small {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .page-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .poster-grid,
    .poster-grid.small {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
    .item-hero {
        padding: 30px 0 26px;
    }
    .item-hero-grid {
        grid-template-columns: 1fr;
    }
    .item-poster {
        max-width: 230px;
        margin: 0 auto;
    }
    .item-intro {
        text-align: left;
    }
    .item-section,
    .content-block {
        padding: 20px;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .cast-grid {
        grid-template-columns: 1fr;
    }
    .trailer-grid {
        grid-template-columns: 1fr;
    }
    .explore-columns {
        grid-template-columns: 1fr;
    }
    .media-thumb {
        height: 170px;
    }
}

@media (max-width: 420px) {
    .poster-grid,
    .poster-grid.small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .page-title {
        font-size: 1.35rem;
    }
    .item-title {
        font-size: 1.8rem;
    }
}

.section-lead {
    color: var(--muted);
    font-size: 0.92rem;
    margin: -6px 0 18px;
    max-width: 780px;
    line-height: 1.6;
}

.section-lead strong {
    color: var(--text);
}

.cast-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2px 24px;
}

.cast-simple-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.93rem;
    color: var(--text);
}

.cast-simple-list strong {
    color: var(--text);
    font-weight: 800;
}

.cast-simple-list .cast-role {
    color: var(--muted);
    font-weight: 500;
    margin-left: 4px;
}

.tech-info-list {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tech-info-row {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
}

.tech-info-row:last-child {
    border-bottom: 0;
}

.tech-info-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.tech-info-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tech-info-value {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    word-break: break-word;
}

.tags-plain {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-plain span {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.gallery-group {
    margin-bottom: 22px;
}

.gallery-group:last-child {
    margin-bottom: 0;
}

.gallery-group-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.media-grid.posters-5,
.media-grid.backdrops-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.media-grid.posters-5 .media-thumb {
    height: auto;
    aspect-ratio: 2 / 3;
}

.media-grid.backdrops-5 .media-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (max-width: 991.98px) {
    .media-grid.posters-5,
    .media-grid.backdrops-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tech-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 575.98px) {
    .media-grid.posters-5,
    .media-grid.backdrops-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cast-simple-list {
        grid-template-columns: 1fr;
    }
}

.genre-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin: 3px 6px 3px 0;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.genre-chip:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cast-block {
    margin-bottom: 22px;
}

.cast-block:last-child {
    margin-bottom: 0;
}

.cast-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.cast-lines {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cast-lines li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 0.95rem;
}

.cast-lines li:last-child {
    border-bottom: 0;
}

.cast-lines .cast-as {
    color: var(--muted);
    font-weight: 500;
    margin-left: 4px;
}

.franchise-inline-label {
    color: var(--muted);
    font-weight: 600;
    margin-right: 4px;
}

.page-description {
    max-width: 820px;
    margin-top: 0.75rem;
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.65;
}