:root {
    color-scheme: light;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --orange: #f97316;
    --yellow: #facc15;
    --radius-xl: 24px;
    --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 32px rgba(37, 99, 235, 0.16);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 56%, var(--slate-50) 100%);
    color: var(--slate-800);
    min-width: 320px;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(18px);
    color: #ffffff;
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.28);
}

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

.brand-copy strong,
.footer-brand strong {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy small {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 auto;
}

.desktop-nav a,
.nav-dropdown > a {
    color: #e2e8f0;
    font-size: 15px;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav .active,
.nav-dropdown:hover > a {
    color: #22d3ee;
}

.nav-dropdown {
    position: relative;
    padding: 24px 0;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 62px;
    width: 210px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: var(--slate-800);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

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

.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-menu a:hover {
    background: rgba(148, 163, 184, 0.14);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 330px;
}

.header-search input,
.mobile-nav input,
.large-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #ffffff;
    color: var(--slate-800);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input {
    background: rgba(51, 65, 85, 0.78);
    color: #ffffff;
    padding: 10px 16px;
}

.header-search input::placeholder,
.mobile-nav input::placeholder {
    color: #94a3b8;
}

.header-search input:focus,
.mobile-nav input:focus,
.large-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.header-search button,
.mobile-nav button,
.large-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(148, 163, 184, 0.16);
    color: #ffffff;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: var(--slate-900);
}

.mobile-nav.is-open {
    display: grid;
    gap: 12px;
}

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.mobile-nav input {
    padding: 11px 14px;
    background: rgba(51, 65, 85, 0.78);
    color: #ffffff;
}

.mobile-nav > a,
.mobile-category-list a {
    padding: 11px 12px;
    border-radius: 12px;
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.08);
}

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

main {
    min-height: 62vh;
}

.hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s 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:
        radial-gradient(circle at 70% 38%, rgba(6, 182, 212, 0.18), transparent 26%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.68) 48%, rgba(15, 23, 42, 0.18) 100%);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #facc15;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p {
    max-width: 720px;
    margin: 0 0 26px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    font-size: 12px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.btn-glass {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.btn-soft {
    color: var(--blue);
    background: #eff6ff;
}

.full-width {
    width: 100%;
}

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

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

.hero-dot.is-active {
    background: #22d3ee;
}

.content-section,
.detail-layout,
.detail-top {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

.section-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.section-heading h2 {
    margin: 0 0 4px;
    color: var(--slate-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--slate-500);
}

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

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

.rail-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-900);
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.72));
}

.play-chip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.95);
    color: #ffffff;
    font-size: 15px;
    box-shadow: 0 12px 26px rgba(6, 182, 212, 0.28);
}

.rank-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0 0 10px;
    color: var(--slate-900);
    font-size: 19px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--blue);
}

.movie-card p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-tags .tag {
    background: var(--slate-100);
    color: var(--slate-600);
}

.card-horizontal {
    display: grid;
    grid-template-columns: 42% 1fr;
}

.card-horizontal .movie-cover {
    aspect-ratio: auto;
    height: 100%;
}

.card-overlay .movie-card-body {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.dark-panel {
    width: min(1180px, calc(100% - 32px));
    margin-top: 20px;
    padding: 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
    color: #ffffff;
}

.dark-panel .section-heading h2,
.dark-panel .section-heading p {
    color: #ffffff;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: auto 68px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.ranking-item img {
    width: 68px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.list-rank {
    min-width: 26px;
    color: #facc15;
    font-weight: 900;
    text-align: center;
}

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

.ranking-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info em {
    overflow: hidden;
    color: #cbd5e1;
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-link {
    display: inline-flex;
    margin-top: 24px;
    color: #67e8f9;
    font-weight: 800;
}

.category-panel {
    padding-top: 30px;
}

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

.category-tile,
.category-overview-card,
.info-card {
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.category-tile {
    display: block;
    min-height: 150px;
    padding: 22px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
    display: block;
    margin-bottom: 12px;
    color: var(--slate-900);
    font-size: 22px;
    font-weight: 900;
}

.category-tile p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.65;
}

.callout-panel {
    margin-bottom: 30px;
    padding: 54px;
    border-radius: 32px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: var(--shadow-soft);
}

.callout-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
}

.callout-panel p {
    margin: 0 0 26px;
    color: #dbeafe;
    font-size: 18px;
}

.page-hero {
    min-height: 330px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 20%, rgba(34, 211, 238, 0.28), transparent 28%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.compact-hero > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0;
}

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

.category-overview-card {
    padding: 24px;
}

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

.category-overview-head p {
    margin: 0 0 20px;
    color: var(--slate-600);
    line-height: 1.65;
}

.category-preview-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.category-preview-list a {
    overflow: hidden;
    border-radius: 14px;
    background: var(--slate-100);
}

.category-preview-list img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.category-preview-list span {
    display: block;
    overflow: hidden;
    padding: 8px;
    color: var(--slate-700);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-section {
    padding-top: 34px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
    margin-bottom: 28px;
}

.filter-bar input,
.filter-bar select,
.large-search input {
    padding: 14px 18px;
    border-color: var(--slate-200);
}

.large-search {
    display: flex;
    gap: 12px;
    width: min(680px, 100%);
}

.large-search input {
    flex: 1 1 auto;
}

.search-status {
    margin-bottom: 20px;
    color: var(--slate-700);
    font-size: 22px;
    font-weight: 900;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: start;
    gap: 28px;
}

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

.ranking-sidebar {
    position: sticky;
    top: 96px;
    padding: 20px;
    border-radius: 24px;
    background: var(--slate-900);
    color: #ffffff;
}

.ranking-sidebar h2 {
    margin: 0 0 16px;
}

.mini-ranking-list {
    grid-template-columns: 1fr;
}

.detail-top {
    padding-top: 28px;
}

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

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

.player-card {
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

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

.player-overlay-button {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.74));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.34);
    font-size: 28px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding-top: 36px;
}

.detail-main,
.detail-side,
.story-section,
.detail-title-block,
.info-card {
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-main {
    display: grid;
    gap: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.detail-title-block,
.story-section {
    padding: 26px;
}

.detail-title-block h1 {
    margin: 16px 0 14px;
    color: var(--slate-900);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
}

.detail-title-block p,
.story-section p {
    margin: 0;
    color: var(--slate-700);
    font-size: 17px;
    line-height: 1.9;
}

.detail-tags .tag {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    color: var(--blue);
}

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

.detail-meta-grid span {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: #ffffff;
    color: var(--slate-700);
}

.detail-meta-grid strong {
    color: var(--slate-500);
    font-size: 12px;
}

.detail-meta-grid .wide {
    grid-column: span 4;
}

.story-section h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 24px;
}

.detail-side {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 20px;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 18px;
}

.side-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.side-links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--slate-100);
    color: var(--slate-700);
    font-weight: 700;
}

.side-links a:hover {
    color: var(--blue);
    background: #eff6ff;
}

.related-section {
    padding-top: 50px;
}

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

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

.info-card {
    padding: 28px;
}

.info-card h2 {
    margin: 0 0 12px;
    color: var(--slate-900);
}

.info-card p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.85;
}

.site-footer {
    margin-top: 42px;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
    color: #cbd5e1;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-brand p {
    margin: 6px 0 0;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 16px;
}

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

.copyright {
    margin: 24px 0 0;
    color: #94a3b8;
}

@media (max-width: 1080px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

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

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

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

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

    .ranking-sidebar,
    .detail-side {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner {
        width: min(100% - 22px, 1180px);
        height: 66px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        height: 560px;
    }

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

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

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

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

    .section-heading {
        align-items: flex-start;
    }

    .movie-grid,
    .movie-grid-wide,
    .ranking-grid,
    .category-overview-grid,
    .info-page {
        grid-template-columns: 1fr;
    }

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

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

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

    .dark-panel,
    .callout-panel {
        padding: 28px;
        border-radius: 24px;
    }

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

    .filter-bar,
    .large-search {
        grid-template-columns: 1fr;
        display: grid;
    }

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

    .detail-meta-grid .wide {
        grid-column: span 2;
    }

    .mobile-category-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .play-circle {
        width: 68px;
        height: 68px;
    }

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

    .detail-meta-grid .wide {
        grid-column: span 1;
    }
}
