* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --page: #fff7ed;
    --surface: #ffffff;
    --surface-soft: #fffaf3;
    --ink: #111827;
    --muted: #6b7280;
    --line: #f0dcc5;
    --brand: #f97316;
    --brand-dark: #ea580c;
    --brand-soft: #ffedd5;
    --red: #ef4444;
    --shadow: 0 18px 45px rgba(124, 45, 18, 0.16);
    --radius: 18px;
    --shell: 1280px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffaf3 100%);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.shell {
    width: min(var(--shell), calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(124, 45, 18, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.24);
}

.brand-name {
    font-size: 22px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #374151;
    font-weight: 700;
}

.nav-link {
    position: relative;
    padding: 24px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fb923c, #ef4444);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-search,
.mobile-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-search input,
.mobile-search input,
.search-page-form input,
.filter-field input {
    width: 240px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fffaf3;
    padding: 11px 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quick-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-field input:focus {
    border-color: var(--brand);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.quick-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #ffffff;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--brand-soft);
    cursor: pointer;
    padding: 10px;
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--brand-dark);
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid #ffedd5;
}

.mobile-nav.open {
    display: block;
}

.mobile-link {
    display: block;
    border-radius: 12px;
    padding: 12px 14px;
    color: #374151;
    font-weight: 800;
}

.mobile-link:hover,
.mobile-link.active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.mobile-search {
    margin-top: 10px;
}

.mobile-search input {
    width: 100%;
}

.home-hero {
    padding-top: 32px;
}

.hero-stage {
    position: relative;
    height: min(600px, calc(100vh - 120px));
    min-height: 460px;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 45%, rgba(0, 0, 0, 0.18) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero-copy {
    position: absolute;
    left: clamp(24px, 6vw, 72px);
    bottom: clamp(28px, 8vw, 86px);
    width: min(720px, calc(100% - 48px));
    color: #ffffff;
}

.hero-tags,
.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.card-tags span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.94);
    color: #ffffff;
    padding: 5px 11px;
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 22px;
    color: #f3f4f6;
    font-size: clamp(16px, 2vw, 21px);
}

.hero-meta,
.card-meta,
.compact-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span,
.card-meta span,
.compact-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    color: inherit;
    font-size: 13px;
    font-weight: 800;
}

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

.primary-button,
.ghost-button,
.section-more,
.category-preview-title a,
.category-card-body span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 13px;
    padding: 0 18px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    background: linear-gradient(135deg, #fb923c, #ef4444);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.26);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.category-preview-title a:hover,
.category-card-body span:hover {
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.44);
    color: #ffffff;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.68);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.section-block {
    padding: 64px 0 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 900;
}

.section-head h2,
.page-hero h1,
.detail-info h1,
.story-panel h2,
.player-section h2 {
    margin: 0;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more,
.category-preview-title a,
.category-card-body span {
    background: #ffffff;
    color: var(--brand-dark);
    box-shadow: 0 12px 25px rgba(124, 45, 18, 0.1);
}

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

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

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

.movie-card,
.compact-card,
.category-card,
.story-panel,
.player-section,
.search-box-panel {
    overflow: hidden;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(124, 45, 18, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover,
.compact-card:hover,
.category-card:hover {
    border-color: rgba(249, 115, 22, 0.42);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.card-cover,
.compact-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

.card-cover {
    aspect-ratio: 16 / 9;
}

.card-cover img,
.compact-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.2s ease;
}

.movie-card:hover .card-cover img,
.compact-card:hover .compact-cover img {
    transform: scale(1.08);
}

.card-cover::after,
.compact-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 58%);
    content: "";
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after,
.compact-card:hover .compact-cover::after {
    opacity: 1;
}

.card-type {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-body {
    padding: 18px;
}

.card-body h2,
.compact-body h2 {
    margin: 10px 0 8px;
    font-size: 19px;
    line-height: 1.32;
}

.card-body h2 a:hover,
.compact-body h2 a:hover {
    color: var(--brand-dark);
}

.card-body p,
.compact-body p,
.category-card-body p,
.story-panel p,
.detail-one-line,
.page-hero p {
    color: var(--muted);
}

.card-body p,
.compact-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 16px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    justify-content: space-between;
    color: #6b7280;
}

.card-meta span,
.compact-meta span {
    background: #fff7ed;
    color: #9a3412;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 130px;
}

.compact-cover {
    height: 100%;
}

.compact-body {
    padding: 16px;
}

.compact-body h2 {
    margin-top: 0;
    font-size: 18px;
}

.rank-number {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 3;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    color: #ffffff;
    font-weight: 900;
}

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

.category-preview {
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.9));
    padding: 20px;
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.09);
}

.category-preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.category-preview-title h3 {
    margin: 0;
    font-size: 24px;
}

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

.movie-card.mini .card-body h2 {
    font-size: 16px;
}

.movie-card.mini .card-body p,
.movie-card.mini .card-tags,
.movie-card.mini .card-meta {
    display: none;
}

.page-main {
    padding: 32px 0 72px;
}

.page-hero {
    margin-bottom: 32px;
    border-radius: 28px;
    padding: clamp(32px, 6vw, 64px);
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.2), transparent 36%), linear-gradient(135deg, #ffffff 0%, #fff7ed 58%, #ffedd5 100%);
    box-shadow: 0 18px 40px rgba(124, 45, 18, 0.1);
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-dark);
    padding: 6px 13px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(124, 45, 18, 0.08);
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(32px, 4.4vw, 58px);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 18px;
}

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

.category-link-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 220px;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    background: #111827;
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.category-card-body p {
    margin: 0 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #9a3412;
    font-weight: 800;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--brand-dark);
}

.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    padding: 16px;
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
}

.filter-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-field label {
    color: #9a3412;
    font-weight: 900;
}

.filter-field input {
    width: 320px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    padding: 9px 14px;
    cursor: pointer;
    font-weight: 900;
}

.filter-chip.active,
.filter-chip:hover {
    background: var(--brand);
    color: #ffffff;
}

.category-movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.detail-main {
    padding-top: 24px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(300px, 430px) 1fr;
    gap: clamp(24px, 5vw, 54px);
    align-items: center;
    margin-bottom: 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, #111827 0%, #3f1d0b 54%, #9a3412 100%);
    color: #ffffff;
    padding: clamp(24px, 5vw, 54px);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.detail-info h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 64px);
}

.detail-one-line {
    max-width: 780px;
    color: #f3f4f6;
    font-size: 19px;
}

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

.detail-meta-grid span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    color: #ffffff;
}

.detail-meta-grid strong {
    color: #fed7aa;
    font-size: 13px;
}

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

.player-section h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-video,
.player-cover,
.player-cover img {
    width: 100%;
    height: 100%;
}

.movie-video {
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.78;
}

.player-cover::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.24), rgba(0, 0, 0, 0.76));
    content: "";
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb923c, #ef4444);
    color: #ffffff;
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(239, 68, 68, 0.32);
    transform: translate(-50%, -50%);
}

.play-button span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.floating-play {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.92);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-wrap.playing .floating-play,
.player-wrap.ready .floating-play {
    opacity: 1;
}

.floating-play:hover {
    transform: scale(1.06);
}

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

.story-panel {
    padding: 26px;
}

.story-panel h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.story-panel p {
    margin: 0;
    font-size: 17px;
}

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

.search-box-panel {
    padding: 22px;
    margin-bottom: 26px;
}

.search-page-form input {
    width: 100%;
}

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

.search-empty {
    grid-column: 1 / -1;
    border-radius: 20px;
    background: #ffffff;
    padding: 36px;
    color: var(--muted);
    text-align: center;
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
}

.site-footer {
    margin-top: 44px;
    background: #111827;
    color: #d1d5db;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.footer-about p {
    max-width: 560px;
    color: #9ca3af;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 18px;
}

.footer-column a {
    color: #9ca3af;
}

.footer-column a:hover {
    color: #fb923c;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #1f2937;
    padding: 20px 0;
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

    .category-link-card,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .category-covers {
        height: 170px;
    }
}

@media (max-width: 860px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .header-inner {
        min-height: 66px;
    }

    .hero-stage {
        min-height: 520px;
        border-radius: 22px;
    }

    .hero-shade {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.26) 100%);
    }

    .hero-arrow {
        display: none;
    }

    .section-head,
    .filter-panel,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .large-grid,
    .three-grid,
    .category-movie-grid,
    .rank-grid,
    .category-preview-grid,
    .category-grid-page,
    .top-rank-grid,
    .detail-content-grid,
    .related-grid,
    .search-results,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-field,
    .filter-field input {
        width: 100%;
    }

    .filter-field {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-card {
        grid-template-columns: 120px 1fr;
    }

    .compact-body p {
        display: none;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 22px, var(--shell));
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .home-hero {
        padding-top: 18px;
    }

    .hero-stage {
        min-height: 500px;
    }

    .hero-copy {
        left: 18px;
        bottom: 54px;
        width: calc(100% - 36px);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .movie-grid,
    .mini-grid,
    .category-movie-grid {
        grid-template-columns: 1fr;
    }

    .card-body h2,
    .compact-body h2 {
        font-size: 18px;
    }

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

    .player-section,
    .story-panel {
        padding: 18px;
    }

    .play-button {
        gap: 8px;
        padding: 13px 18px;
    }
}
