:root {
    --teal: #14b8a6;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f0fdfa;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 48%, #2563eb 100%);
    box-shadow: 0 10px 30px rgba(8, 47, 73, 0.22);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

.nav-link,
.nav-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 46px;
    right: 0;
    width: 210px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #334155;
}

.dropdown-panel a:hover {
    background: #ecfeff;
    color: #0f766e;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.top-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search {
    min-width: 260px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.top-search input,
.mobile-search input,
.large-search input,
.local-search {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    border-radius: 999px;
    background: #ffffff;
}

.top-search input {
    padding: 9px 12px;
    background: transparent;
    color: #ffffff;
}

.top-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.top-search button,
.mobile-search button,
.large-search button {
    border: 0;
    color: #0f766e;
    background: #ffffff;
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

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

.mobile-link,
.mobile-sub-link,
.mobile-label {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
}

.mobile-link.is-active,
.mobile-link:hover,
.mobile-sub-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.mobile-label {
    font-weight: 800;
    opacity: 0.82;
}

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

.mobile-search input {
    padding: 11px 14px;
}

.hero-carousel {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: #0f172a;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease, transform 1.2s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 47, 73, 0.92) 0%, rgba(15, 23, 42, 0.74) 45%, rgba(15, 23, 42, 0.24) 100%),
        radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.32), transparent 38%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100% - 1180px) / 2));
    top: 50%;
    width: min(640px, calc(100% - 64px));
    color: #ffffff;
    transform: translateY(-50%);
}

.hero-eyebrow {
    margin: 0 0 12px;
    color: #a7f3d0;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 600px;
    margin: 18px 0 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 18px;
}

.hero-tags span,
.tag-row span,
.tag-row a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.62);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.tag-row span,
.tag-row a {
    color: #0f766e;
    background: #ccfbf1;
}

.hero-actions,
.inline-actions,
.detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.outline-btn,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(90deg, var(--teal), var(--cyan));
    box-shadow: 0 18px 36px rgba(8, 145, 178, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.outline-btn:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.ghost-btn.on-light {
    color: #0f766e;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #99f6e4;
}

.outline-btn,
.section-link {
    color: #0f766e;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #99f6e4;
}

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

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
}

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

.home-search-band,
.content-section,
.ranking-preview,
.page-shell,
.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-search-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 480px);
    gap: 22px;
    align-items: center;
    margin-top: -34px;
    position: relative;
    z-index: 6;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.home-search-band h2,
.section-head h2,
.detail-content h2,
.detail-sidebar h2,
.filter-panel h2 {
    margin: 0;
    color: #0f172a;
    line-height: 1.2;
}

.home-search-band p,
.section-head p,
.filter-panel p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--muted);
}

.large-search {
    padding: 6px;
    border-radius: 999px;
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.large-search input,
.local-search {
    padding: 12px 16px;
    background: #ffffff;
}

.large-search button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--teal), var(--blue));
}

.content-section {
    margin-top: 54px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.poster-wrap,
.list-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #115e59);
}

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

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

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

.year-badge,
.rank-badge,
.score-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(8px);
}

.year-badge {
    top: 10px;
    right: 10px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.score-badge {
    position: static;
    display: inline-flex;
    width: max-content;
    margin-top: 12px;
    padding: 4px 10px;
    font-size: 12px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
}

.play-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 36px;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover {
    opacity: 1;
}

.card-body,
.list-body {
    padding: 16px;
}

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

.card-title:hover {
    color: #0f766e;
}

.card-body p,
.list-body p {
    margin: 9px 0 12px;
    color: #64748b;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}

.card-meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f5f9;
}

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

.category-tile {
    min-height: 190px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #ecfeff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile span {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #0f766e;
}

.category-tile p {
    color: #64748b;
    font-size: 14px;
}

.category-tile em {
    display: block;
    color: #334155;
    font-size: 13px;
    font-style: normal;
}

.category-tile em a {
    color: #2563eb;
}

.ranking-preview {
    margin-top: 58px;
    padding: 30px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 55%, #14b8a6 100%);
    box-shadow: var(--shadow);
}

.section-head.light h2,
.section-head.light p {
    color: #ffffff;
}

.light-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

.movie-card-list {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.list-cover {
    min-height: 140px;
}

.page-shell,
.detail-shell {
    padding-top: 34px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: #0f766e;
    font-weight: 700;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(20, 184, 166, 0.24), transparent 36%),
        linear-gradient(135deg, #ffffff, #ecfeff 48%, #dbeafe);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    color: #0f172a;
}

.compact-hero,
.category-hero,
.library-hero,
.ranking-hero {
    min-height: 260px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 20px;
    align-items: center;
    margin: 28px 0;
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-grid .movie-card.is-hidden {
    display: none;
}

.quick-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.quick-category-bar a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #0f766e;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #99f6e4;
}

.library-grid {
    margin-bottom: 48px;
}

.full-ranking {
    margin-bottom: 48px;
}

.category-overview-list {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

.category-overview-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.category-overview-head h2 {
    margin: 0;
    font-size: 26px;
}

.category-overview-head h2 a:hover {
    color: #0f766e;
}

.category-overview-head p {
    margin: 7px 0 0;
    color: var(--muted);
}

.small-card-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.small-card,
.small-card-column .small-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 120px;
    border-radius: 16px;
    background: #0f172a;
}

.small-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.small-card:hover img {
    transform: scale(1.08);
    opacity: 0.62;
}

.small-card span,
.small-card em {
    position: absolute;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: #ffffff;
}

.small-card span {
    bottom: 28px;
    font-weight: 850;
    line-height: 1.25;
}

.small-card em {
    bottom: 8px;
    font-size: 12px;
    font-style: normal;
    color: #a7f3d0;
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.16), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.08;
}

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

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

.player-section {
    margin-top: 30px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
    aspect-ratio: 16 / 9;
}

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

.movie-video {
    z-index: 1;
    object-fit: contain;
    background: #020617;
}

.player-cover {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #020617;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.48;
    filter: saturate(1.08);
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    position: relative;
    z-index: 4;
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 40px;
    text-indent: 5px;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 20px 44px rgba(20, 184, 166, 0.34);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    margin-top: 30px;
}

.detail-content,
.detail-sidebar {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-content {
    padding: 28px;
}

.detail-content p {
    color: #475569;
    font-size: 16px;
}

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

.detail-meta-list div {
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.detail-meta-list strong,
.detail-meta-list span {
    display: block;
}

.detail-meta-list strong {
    color: #0f766e;
    font-size: 13px;
}

.detail-meta-list span {
    margin-top: 3px;
    color: #334155;
}

.detail-sidebar {
    position: sticky;
    top: 92px;
    height: max-content;
    padding: 22px;
}

.small-card-column {
    display: grid;
    gap: 12px;
}

.related-block {
    width: auto;
    margin-top: 30px;
}

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

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #1e293b, #020617);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 44px 0;
}

.footer-brand {
    color: #ffffff;
}

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

.site-footer p {
    color: #cbd5e1;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li {
    margin: 8px 0;
}

.site-footer a:hover {
    color: #5eead4;
}

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.20);
}

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

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

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

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

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

    .detail-sidebar {
        position: static;
    }

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

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

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

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

    .hero-content {
        left: 20px;
        width: calc(100% - 40px);
    }

    .home-search-band,
    .filter-panel,
    .detail-hero {
        grid-template-columns: 1fr;
    }

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

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

    .movie-card-list {
        grid-template-columns: 150px 1fr;
    }

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

@media (max-width: 560px) {
    .brand-text {
        font-size: 18px;
    }

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

    .hero-arrow {
        display: none;
    }

    .home-search-band,
    .ranking-preview,
    .page-hero,
    .detail-hero,
    .detail-content,
    .detail-sidebar,
    .category-overview-card {
        padding: 20px;
        border-radius: 20px;
    }

    .movie-grid,
    .category-grid,
    .small-card-row,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-list {
        grid-template-columns: 1fr;
    }

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

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

    .player-button {
        width: 74px;
        height: 74px;
        font-size: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}
