:root {
    --bg: #f6feff;
    --surface: #ffffff;
    --surface-soft: #ecfeff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #cffafe;
    --brand: #0891b2;
    --brand-strong: #0f766e;
    --brand-soft: #e0f7fb;
    --shadow: 0 24px 70px rgba(14, 116, 144, 0.16);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(103, 232, 249, 0.28), transparent 34rem), linear-gradient(180deg, #f8feff 0%, var(--bg) 44%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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;
    border-bottom: 1px solid rgba(14, 165, 233, 0.16);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(15, 118, 110, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #0f766e);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(8, 145, 178, 0.32);
}

.brand-text {
    font-size: 22px;
    color: transparent;
    background: linear-gradient(90deg, #0891b2, #0f766e);
    -webkit-background-clip: text;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    color: #334155;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 650;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 48px;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 6px;
    width: 330px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown-panel a {
    padding: 10px 12px;
    color: #475569;
    border-radius: 12px;
    font-size: 14px;
}

.dropdown-panel a:hover {
    color: var(--brand);
    background: #ecfeff;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    background: #ecfeff;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #0f766e;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

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

.mobile-nav a:hover,
.mobile-nav .is-active {
    color: var(--brand);
    background: #ecfeff;
}

.nav-open .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

main {
    overflow: hidden;
}

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

.hero-section {
    position: relative;
    padding: 34px 0 28px;
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 24px;
    min-height: 610px;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.55);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.98), rgba(240, 249, 255, 0.88) 48%, rgba(204, 251, 241, 0.94));
    box-shadow: var(--shadow);
}

.hero-orb {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(6px);
    pointer-events: none;
}

.hero-orb-one {
    top: 64px;
    right: 10%;
    width: 260px;
    height: 260px;
    background: rgba(34, 211, 238, 0.24);
}

.hero-orb-two {
    bottom: 18px;
    left: 7%;
    width: 220px;
    height: 220px;
    background: rgba(45, 212, 191, 0.22);
}

.hero-heading {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}

.hero-heading > span,
.subpage-hero > span,
.section-heading span,
.detail-kicker {
    width: fit-content;
    padding: 7px 12px;
    color: #0e7490;
    background: rgba(207, 250, 254, 0.82);
    border: 1px solid rgba(103, 232, 249, 0.65);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-heading h1,
.subpage-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #0f172a;
}

.hero-heading p,
.subpage-hero p,
.detail-copy p {
    margin: 0;
    max-width: 620px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
}

.hero-search,
.search-panel,
.toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-search {
    padding: 10px;
    border: 1px solid rgba(103, 232, 249, 0.72);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 42px rgba(14, 116, 144, 0.12);
}

.hero-search input,
.search-panel input,
.search-panel select,
.toolbar input {
    min-height: 46px;
    border: 1px solid #bae6fd;
    outline: 0;
    background: #ffffff;
    border-radius: 14px;
    color: #0f172a;
}

.hero-search input {
    flex: 1 1 230px;
    border-color: transparent;
    padding: 0 14px;
    background: transparent;
}

.hero-search button,
.primary-button,
.ghost-button,
.toolbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-search button,
.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #0f766e);
    box-shadow: 0 14px 34px rgba(8, 145, 178, 0.28);
}

.ghost-button,
.toolbar-link {
    color: #0e7490;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
}

.hero-search button:hover,
.primary-button:hover,
.ghost-button:hover,
.toolbar-link:hover {
    transform: translateY(-2px);
}

.hero-carousel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 30px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: end;
    padding: 26px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(8, 47, 73, 0.94), rgba(14, 116, 144, 0.84));
    border-radius: 30px;
    opacity: 0;
    transform: translateX(18px) scale(0.98);
    transition: opacity 420ms ease, transform 420ms ease;
    pointer-events: none;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 14%, rgba(34, 211, 238, 0.28), transparent 28rem), linear-gradient(0deg, rgba(2, 6, 23, 0.32), transparent);
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-copy {
    align-self: center;
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    color: #ccfbf1;
    background: rgba(20, 184, 166, 0.24);
    border: 1px solid rgba(153, 246, 228, 0.28);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0;
    color: #e0f2fe;
    line-height: 1.8;
}

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

.hero-tags {
    margin: 18px 0 22px;
}

.hero-tags span,
.detail-tags span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

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

.hero-actions,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-poster {
    align-self: center;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-controls {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-prev,
.hero-next {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.hero-dot.is-active {
    width: 24px;
    background: #67e8f9;
}

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

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

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

.section-heading p {
    margin: 12px 0 0;
    max-width: 680px;
    color: var(--muted);
    line-height: 1.75;
}

.section-heading a {
    flex: 0 0 auto;
    color: #0e7490;
    font-weight: 800;
}

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 35px rgba(15, 118, 110, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.62);
    box-shadow: 0 24px 60px rgba(14, 116, 144, 0.18);
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #cffafe, #f0fdfa);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.movie-card-link:hover .poster-frame img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.58));
    opacity: 0;
    transition: opacity 200ms ease;
}

.movie-card-link:hover .poster-shade {
    opacity: 1;
}

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    background: rgba(8, 145, 178, 0.92);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 200ms ease, transform 200ms ease;
}

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

.poster-badge,
.poster-year {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poster-badge {
    left: 12px;
}

.poster-year {
    right: 12px;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.movie-card-body strong {
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card-desc {
    display: -webkit-box;
    min-height: 45px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags span {
    color: #0e7490;
    background: #ecfeff;
}

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: #64748b;
    font-size: 12px;
}

.movie-card-meta span {
    overflow: hidden;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.category-card a {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    box-shadow: 0 18px 48px rgba(15, 118, 110, 0.13);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 420ms ease;
}

.category-card a:hover img {
    transform: scale(1.08);
}

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.1), rgba(8, 47, 73, 0.92));
}

.category-card-body {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 8px;
    padding: 20px;
    color: #ffffff;
}

.category-card-body strong {
    font-size: 23px;
    line-height: 1.1;
}

.category-card-body em {
    color: #cffafe;
    font-size: 14px;
    font-style: normal;
    line-height: 1.65;
}

.subpage-hero,
.detail-hero {
    margin-top: 28px;
    padding: 40px;
    border: 1px solid rgba(103, 232, 249, 0.52);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.96), rgba(255, 255, 255, 0.9));
    box-shadow: var(--shadow);
}

.subpage-hero h1 {
    margin-top: 16px;
}

.subpage-hero p {
    margin-top: 16px;
}

.toolbar {
    margin-top: 24px;
}

.toolbar label,
.search-panel label {
    display: grid;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.toolbar input,
.search-panel input,
.search-panel select {
    width: min(100%, 280px);
    padding: 0 14px;
}

.search-panel {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
}

.rank-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
}

.rank-list-panel {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 118, 110, 0.12);
}

.rank-list-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.rank-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-list a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 10px;
    border-radius: 14px;
}

.rank-list a:hover {
    background: #ecfeff;
}

.rank-list span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #0f766e);
    border-radius: 999px;
    font-weight: 900;
}

.rank-list strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list em {
    overflow: hidden;
    color: #64748b;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-style: normal;
}

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

.breadcrumb a {
    color: #0e7490;
    font-weight: 800;
}

.breadcrumb em {
    font-style: normal;
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 118, 110, 0.18);
}

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

.detail-copy {
    display: grid;
    gap: 18px;
}

.detail-copy h1 {
    font-size: clamp(36px, 5vw, 64px);
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    color: #0f766e;
    background: #ccfbf1;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
}

.detail-tags span {
    color: #0e7490;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
}

.video-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
}

.movie-video,
.play-layer,
.play-layer img {
    width: 100%;
    height: 100%;
}

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

.play-layer {
    position: absolute;
    inset: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    cursor: pointer;
    background: #020617;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.play-layer img {
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(1.05);
}

.play-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.56));
}

.play-layer span {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #0f766e);
    border-radius: 999px;
    box-shadow: 0 24px 60px rgba(8, 145, 178, 0.42);
    font-size: 40px;
    transform: translate(-50%, -50%);
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.detail-content article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.08);
}

.detail-content h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

.detail-content p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.9;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

.site-footer {
    margin-top: 52px;
    border-top: 1px solid rgba(14, 165, 233, 0.16);
    background: linear-gradient(180deg, #ffffff, #ecfeff);
}

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

.footer-brand p {
    max-width: 470px;
    margin: 18px 0 0;
    color: #64748b;
    line-height: 1.8;
}

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

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

.footer-links a {
    padding: 8px 11px;
    color: #0e7490;
    background: #ffffff;
    border: 1px solid #cffafe;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #64748b;
    font-size: 14px;
}

.is-filtered-out {
    display: none;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-shell,
    .detail-layout,
    .rank-layout,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: auto;
        padding: 26px;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        width: min(260px, 70%);
        margin: 0 auto;
    }

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

    .rank-list-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header-inner {
        height: 62px;
    }

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

    .hero-section,
    .subpage-hero,
    .detail-hero,
    .player-section,
    .content-section {
        width: min(100% - 22px, 1180px);
    }

    .hero-section {
        padding-top: 16px;
    }

    .hero-shell,
    .subpage-hero,
    .detail-hero {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-heading h1,
    .subpage-hero h1,
    .detail-copy h1 {
        font-size: 34px;
        letter-spacing: -0.04em;
    }

    .hero-heading p,
    .subpage-hero p,
    .detail-copy p {
        font-size: 15px;
    }

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

    .hero-slide {
        padding: 20px;
    }

    .hero-copy h2 {
        font-size: 30px;
    }

    .hero-controls {
        right: 18px;
        bottom: 18px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

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

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

    .movie-card-body strong {
        font-size: 15px;
    }

    .movie-card-desc {
        min-height: 42px;
        font-size: 13px;
    }

    .category-card a {
        min-height: 190px;
    }

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

    .play-layer span {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .search-panel,
    .toolbar {
        display: grid;
    }

    .toolbar input,
    .search-panel input,
    .search-panel select {
        width: 100%;
    }

    .nav-open .mobile-nav {
        grid-template-columns: 1fr;
    }
}

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

    .poster-frame {
        aspect-ratio: 16 / 9;
    }

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