:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: rgba(15, 23, 42, 0.78);
    --panel-deep: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --red: #dc2626;
    --orange: #ea580c;
    --green: #10b981;
    --radius: 22px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.22), transparent 32rem),
        radial-gradient(circle at 82% 18%, rgba(6, 182, 212, 0.14), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #fff;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 34px rgba(37, 99, 235, 0.34);
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    color: var(--muted-strong);
    font-weight: 650;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    left: -16px;
    top: 100%;
    width: 260px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted-strong);
}

.dropdown-panel a:hover {
    background: rgba(51, 65, 85, 0.9);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.9);
}

.nav-search input {
    width: 190px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 8px 4px 8px 12px;
}

.nav-search button,
.search-page-form button {
    border: 0;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    color: #fff;
    padding: 8px 11px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.9);
}

.mobile-panel {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.mobile-panel a,
.mobile-panel form {
    display: block;
    margin: 10px 0;
}

.mobile-panel input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #fff;
    background: rgba(2, 6, 23, 0.85);
    padding: 11px 13px;
}

.mobile-panel button {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    padding: 11px 13px;
}

.mobile-panel.is-open {
    display: block;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.45fr);
    align-items: center;
    gap: 48px;
    padding: 86px max(24px, calc((100vw - 1240px) / 2)) 76px;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 45%, rgba(2, 6, 23, 0.46) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(6, 182, 212, 0.24), transparent 18rem),
        linear-gradient(180deg, transparent 66%, #020617 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-kicker,
.detail-channel,
.page-hero span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.24);
    font-weight: 700;
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 8px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-movie-title {
    display: block;
    margin: 18px 0 12px;
    font-size: clamp(26px, 3vw, 42px);
    color: #fff;
}

.hero-content p {
    max-width: 710px;
    margin: 0;
    color: var(--muted-strong);
    font-size: 18px;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.68);
    padding: 6px 10px;
    font-size: 13px;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ea580c);
    box-shadow: 0 18px 46px rgba(220, 38, 38, 0.26);
}

.btn.secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.btn.ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.48);
}

.hero-poster {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    aspect-ratio: 2 / 3;
    background: rgba(15, 23, 42, 0.8);
}

.hero-poster img,
.card-poster img,
.detail-poster img,
.compact-card img,
.ranking-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.68);
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-control.prev {
    left: 24px;
}

.hero-control.next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 8;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 26px;
    height: 6px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 42px;
    background: #fff;
}

.section-wrap,
.page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.section-wrap {
    padding: 64px 0 20px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-heading.small h2 {
    font-size: 24px;
}

.section-icon {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.section-icon.hot {
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.section-icon.fresh {
    background: linear-gradient(135deg, #16a34a, var(--green));
}

.section-icon.rank {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(30, 41, 59, 0.88);
}

.card-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

.wide-card .card-poster {
    aspect-ratio: 16 / 10;
}

.card-poster img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.movie-card:hover .card-poster img {
    transform: scale(1.08);
    filter: brightness(0.82);
}

.card-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    background: rgba(220, 38, 38, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 99, 235, 0.86);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
    transition: 0.2s ease;
}

.movie-card:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 16px;
}

.card-title {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 850;
    line-height: 1.35;
}

.card-body p {
    min-height: 48px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.card-meta,
.detail-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
    color: var(--muted-strong);
    font-size: 13px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 100px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.88));
    box-shadow: var(--shadow);
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-list li + li {
    margin-top: 10px;
}

.rank-list a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.34);
    transition: background 0.18s ease;
}

.rank-list a:hover {
    background: rgba(51, 65, 85, 0.74);
}

.rank-num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

.rank-list strong {
    display: block;
    overflow: hidden;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list em,
.compact-card em {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: #7dd3fc;
    font-weight: 800;
}

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

.category-card,
.category-overview-card,
.filter-panel,
.search-page-box,
.detail-text-grid article,
.player-section {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.category-link {
    display: grid;
    gap: 8px;
    padding: 22px;
}

.category-link span {
    font-size: 21px;
    font-weight: 900;
}

.category-link small {
    color: var(--muted);
    font-size: 14px;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 22px;
}

.category-samples a {
    max-width: 100%;
    overflow: hidden;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.16);
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.page-shell {
    padding: 42px 0 60px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.08)),
        rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: 17px;
}

.overview-list {
    display: grid;
    gap: 20px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
}

.overview-copy h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.overview-copy p {
    margin: 0;
    color: var(--muted);
}

.overview-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.36);
}

.compact-card img {
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background: #111827;
}

.compact-card strong {
    display: block;
    overflow: hidden;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: #bae6fd;
}

.filter-panel {
    padding: 18px;
    margin-bottom: 24px;
}

.page-filter {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 16px;
    color: #fff;
    background: rgba(2, 6, 23, 0.56);
    padding: 13px 15px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.filter-chips button {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(30, 41, 59, 0.72);
    padding: 8px 12px;
    cursor: pointer;
}

.filter-chips button.is-active,
.filter-chips button:hover {
    color: #fff;
    border-color: rgba(125, 211, 252, 0.44);
    background: rgba(37, 99, 235, 0.35);
}

.catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ranking-page-list {
    display: grid;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.74);
}

.ranking-cover {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
}

.rank-num.large {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
}

.ranking-copy h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ranking-copy p {
    margin: 0;
    color: var(--muted-strong);
}

.search-page-form {
    display: flex;
    gap: 10px;
}

.search-page-form input {
    flex: 1;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 18px;
    color: #fff;
    background: rgba(2, 6, 23, 0.62);
    padding: 15px 16px;
}

.search-page-box {
    padding: 22px;
}

.search-results {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.36);
}

.search-result-item img {
    aspect-ratio: 2 / 3;
    width: 74px;
    border-radius: 12px;
    object-fit: cover;
    background: #111827;
}

.search-result-item h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.search-result-item p {
    margin: 0;
    color: var(--muted);
}

.detail-head {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 10%, rgba(6, 182, 212, 0.18), transparent 22rem),
        rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 2 / 3;
    background: #111827;
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 820px;
    color: var(--muted-strong);
    font-size: 18px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tag-row.large span {
    padding: 8px 12px;
}

.player-section {
    padding: 22px;
    margin-bottom: 28px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.play-toggle {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.26), transparent 12rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
    cursor: pointer;
}

.play-toggle span {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 50px rgba(220, 38, 38, 0.34);
    font-size: 34px;
}

.video-shell.is-playing .play-toggle {
    display: none;
}

.detail-text-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
}

.detail-text-grid article {
    padding: 26px;
}

.detail-text-grid h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-text-grid p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 16px;
}

.related-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.site-footer {
    margin-top: 44px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 30px;
    padding: 44px 0;
}

.footer-grid p,
.footer-links a,
.footer-bottom {
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 34px;
    border-top: 1px solid var(--line);
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .main-nav,
    .nav-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-poster {
        display: none;
    }

    .movie-grid,
    .catalog-grid,
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-layout,
    .detail-text-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .brand-text strong {
        font-size: 17px;
    }

    .hero-carousel {
        min-height: 620px;
    }

    .hero-control {
        display: none;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions,
    .detail-actions,
    .search-page-form {
        flex-direction: column;
    }

    .movie-grid,
    .latest-grid,
    .catalog-grid,
    .related-grid,
    .category-grid,
    .overview-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-overview-card,
    .detail-head,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 280px;
    }

    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .detail-head {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .header-inner,
    .section-wrap,
    .page-shell,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 22px, 1240px);
    }

    .movie-grid,
    .latest-grid,
    .catalog-grid,
    .related-grid,
    .category-grid,
    .overview-strip {
        grid-template-columns: 1fr;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 38px;
    }
}
