* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    color: #0f172a;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 46%, #f8fafc 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: transparent;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #334155;
    font-weight: 650;
}

.desktop-nav a {
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: #0284c7;
}

.mobile-menu-button {
    display: none;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #0369a1;
    background: #e0f2fe;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #334155;
    font-weight: 650;
}

.mobile-nav a:hover {
    background: #f0f9ff;
    color: #0284c7;
}

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

.hero {
    padding: 26px 0 0;
}

.hero-stage {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.84) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.18) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.76) 0%, rgba(2, 6, 23, 0.08) 56%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 74px;
    width: min(680px, calc(100% - 64px));
    color: #ffffff;
}

.eyebrow,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    color: #0369a1;
    background: #e0f2fe;
}

.hero-kicker {
    color: #ffffff;
    background: #0ea5e9;
}

.hero-content h1 {
    margin: 18px 0 14px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 640px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-meta,
.genre-pills,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span,
.genre-pills span,
.detail-tags a {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    color: #0369a1;
    background: #e0f2fe;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

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

.button.primary {
    color: #0f172a;
    background: #ffffff;
}

.button.primary:hover {
    color: #ffffff;
    background: #0ea5e9;
}

.button.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.search-panel {
    padding: 26px 0 0;
}

.search-panel-inner,
.search-page-panel,
.filter-panel {
    display: grid;
    gap: 18px;
    align-items: end;
    padding: 24px;
    border: 1px solid rgba(186, 230, 253, 0.8);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 55px rgba(2, 132, 199, 0.10);
}

.search-panel-inner {
    grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
}

.search-panel h2 {
    margin: 12px 0 0;
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.hero-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
}

.hero-search input,
.search-page-panel input,
.search-page-panel select,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 14px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
}

.hero-search input {
    border: 0;
    background: transparent;
}

.hero-search button,
.search-page-panel button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.stats-band {
    padding: 30px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-grid div {
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.stats-grid strong {
    display: block;
    font-size: 32px;
    color: #0284c7;
}

.stats-grid span {
    color: #64748b;
}

.content-section {
    padding: 58px 0 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -0.05em;
}

.section-heading p {
    margin: 8px 0 0;
    color: #64748b;
}

.section-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-weight: 800;
    white-space: nowrap;
}

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

.movie-card {
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(14, 116, 144, 0.18);
}

.movie-card-link,
.poster-wrap,
.movie-card-body {
    display: block;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e2e8f0;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.70) 100%);
}

.quality-badge,
.year-badge {
    position: absolute;
    top: 12px;
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(2, 132, 199, 0.92);
}

.quality-badge {
    left: 12px;
}

.year-badge {
    right: 12px;
    background: rgba(15, 23, 42, 0.72);
}

.movie-card-body {
    padding: 16px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 13px;
}

.movie-title {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.35;
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    margin-top: 8px;
    overflow: hidden;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    margin-top: 12px;
}

.hot-panel {
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.12);
}

.horizontal-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 285px;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x proximity;
}

.horizontal-scroller .movie-card {
    scroll-snap-align: start;
}

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

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

.category-card,
.category-overview-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 168px;
    padding: 22px;
    border: 1px solid #dbeafe;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(2, 132, 199, 0.14);
}

.category-card-title,
.category-overview-top span {
    font-size: 20px;
    font-weight: 850;
}

.category-card-count,
.category-overview-top strong {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-size: 13px;
}

.category-card-desc,
.category-overview-desc,
.category-card-examples,
.category-overview-meta,
.category-overview-list {
    color: #64748b;
    line-height: 1.7;
}

.category-overview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.category-overview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-overview-list span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 13px;
}

.rank-panel,
.related-panel,
.detail-article,
.detail-info-card,
.player-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.rank-panel-head h2 {
    margin: 12px 0 18px;
    font-size: 28px;
}

.rank-list {
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 8px 10px;
    border-radius: 16px;
    background: #f8fafc;
}

.rank-row:hover {
    background: #e0f2fe;
}

.rank-number {
    color: #0284c7;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-heat {
    color: #64748b;
    font-size: 13px;
}

.category-strip {
    margin-bottom: 30px;
}

.category-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.category-strip-head h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.category-strip-head h3::before {
    content: "";
    width: 5px;
    height: 26px;
    border-radius: 999px;
    background: #0ea5e9;
}

.category-strip-head a {
    color: #0284c7;
    font-weight: 800;
}

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

.page-hero,
.detail-hero {
    padding: 44px 0 14px;
}

.simple-hero .container,
.category-hero .container {
    padding: 42px;
    border-radius: 34px;
    color: #ffffff;
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.72), transparent 42%), linear-gradient(135deg, #0f172a, #075985 48%, #2563eb);
    box-shadow: 0 24px 76px rgba(15, 23, 42, 0.22);
}

.simple-hero .eyebrow,
.category-hero .eyebrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.hero-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-mini-stats span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.filter-panel {
    grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
    margin-bottom: 24px;
}

.filter-panel label,
.search-page-panel label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 750;
}

.filter-panel strong {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 14px;
    color: #0369a1;
    background: #e0f2fe;
}

.empty-state {
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
}

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

.ranking-card a {
    display: grid;
    grid-template-columns: 58px 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.ranking-card a:hover {
    background: #f0f9ff;
}

.ranking-index {
    color: #0284c7;
    font-size: 22px;
    font-weight: 900;
}

.ranking-card img {
    width: 96px;
    height: 128px;
    object-fit: cover;
    border-radius: 16px;
    background: #e2e8f0;
}

.ranking-info {
    display: grid;
    gap: 8px;
}

.ranking-card strong {
    color: #0284c7;
}

.search-page-panel {
    grid-template-columns: minmax(260px, 1fr) 180px auto;
    margin-bottom: 24px;
}

.search-results {
    display: grid;
    gap: 14px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.search-result-item img {
    width: 78px;
    height: 104px;
    object-fit: cover;
    border-radius: 14px;
    background: #e2e8f0;
}

.search-result-item h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.search-result-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.search-result-item strong {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    white-space: nowrap;
}

.detail-hero {
    color: #ffffff;
    background: radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.34), transparent 36%), linear-gradient(135deg, #020617, #0f172a 45%, #0c4a6e);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    gap: 24px;
    align-items: stretch;
}

.player-card {
    overflow: hidden;
    background: #020617;
}

.player-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 360px;
    overflow: hidden;
    background: #000000;
}

.player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    z-index: 2;
}

.player-cover.is-hidden {
    display: none;
}

.play-icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    color: #0f172a;
    background: #ffffff;
    font-size: 28px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.detail-info-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
    align-content: start;
    padding: 20px;
    color: #0f172a;
}

.detail-info-card img {
    width: 130px;
    min-height: 178px;
    border-radius: 18px;
    object-fit: cover;
    background: #e2e8f0;
}

.detail-info-card h1 {
    margin: 12px 0 10px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.detail-info-card p {
    color: #475569;
    line-height: 1.7;
}

.detail-meta span {
    padding: 6px 9px;
    border-radius: 999px;
    color: #334155;
    background: #f1f5f9;
    font-size: 13px;
}

.detail-tags {
    margin-top: 14px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding-top: 36px;
}

.detail-article {
    padding: 30px;
}

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

.detail-article h2:not(:first-child) {
    margin-top: 34px;
}

.detail-article p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 2;
}

.related-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.related-head h2 {
    margin: 10px 0 18px;
}

.related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.related-grid .movie-card {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.related-grid .poster-wrap {
    aspect-ratio: 16 / 10;
}

.site-footer {
    margin-top: 70px;
    padding: 46px 0 28px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 32px;
}

.footer-main p {
    max-width: 520px;
    color: #64748b;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.footer-links a {
    color: #64748b;
}

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

.footer-bottom {
    margin: 30px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-section,
    .detail-content-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .related-panel {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .hero-content {
        left: 22px;
        bottom: 72px;
        width: calc(100% - 44px);
    }

    .hero-arrow {
        display: none;
    }

    .search-panel-inner,
    .search-page-panel,
    .filter-panel,
    .stats-grid,
    .category-grid,
    .category-overview-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-search {
        border-radius: 20px;
        flex-direction: column;
    }

    .hero-search input {
        min-height: 44px;
    }

    .hero-search button {
        min-height: 44px;
    }

    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .ranking-card a,
    .search-result-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .ranking-index,
    .ranking-card strong,
    .search-result-item strong {
        grid-column: 1 / -1;
    }

    .ranking-card img {
        width: 72px;
        height: 96px;
    }

    .detail-info-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .detail-info-card img {
        width: 96px;
        min-height: 132px;
    }

    .player-wrap {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 17px;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }

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

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

    .horizontal-scroller {
        grid-auto-columns: 82%;
    }

    .simple-hero .container,
    .category-hero .container {
        padding: 28px;
        border-radius: 26px;
    }

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

    .detail-info-card img {
        width: 150px;
        min-height: 206px;
    }
}
