* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #f8fafc;
    background: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.25), transparent 32rem), #020617;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(2, 6, 23, 0.85));
    z-index: -1;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid rgba(37, 99, 235, 0.28);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(18px);
}

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

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #dbeafe;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
    font-size: 14px;
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: transparent;
    background: linear-gradient(90deg, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.nav-link,
.mobile-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover {
    color: #ffffff;
    background: rgba(30, 64, 175, 0.52);
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(59, 130, 246, 0.42);
    border-radius: 14px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 235px;
    padding: 11px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(96, 165, 250, 0.95);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.header-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    color: #ffffff;
    border-radius: 14px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.menu-toggle {
    display: none;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 9px 12px;
}

.mobile-panel {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-panel.is-open {
    display: grid;
    gap: 8px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
}

main {
    min-height: 70vh;
}

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.88)), linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.34), rgba(2, 6, 23, 0.7));
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 118px;
    width: min(720px, calc(100% - 64px));
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.86);
    border: 1px solid rgba(125, 211, 252, 0.34);
    font-size: 13px;
    font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
    margin: 18px 0 16px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.hero p,
.page-hero p,
.detail-one-line {
    margin: 0 0 24px;
    max-width: 680px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.75;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.22);
    font-size: 12px;
    padding: 5px 10px;
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.35);
}

.ghost-btn {
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(96, 165, 250, 0.28);
}

.ghost-btn.small {
    padding: 9px 14px;
    font-size: 14px;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 32px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(37, 99, 235, 0.7);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.hero-rail {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 86px;
    width: 360px;
    display: grid;
    gap: 12px;
}

.rail-card,
.mini-rail .rail-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.rail-card:hover {
    transform: translateX(-4px);
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(30, 64, 175, 0.5);
}

.rail-card img {
    width: 86px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
}

.rail-card span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 700;
}

.search-band,
.content-section,
.page-hero,
.detail-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.search-band {
    margin-top: -38px;
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.36));
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.36);
    backdrop-filter: blur(14px);
}

.search-band h2 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.search-band p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.search-band form,
.search-page-form {
    display: flex;
    gap: 10px;
}

.search-band input,
.search-page-form input {
    min-width: 0;
    flex: 1;
    padding: 14px 16px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 16px;
}

.search-band button {
    color: #ffffff;
    border: 0;
    border-radius: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    font-weight: 800;
}

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

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-dot {
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #60a5fa, #22d3ee);
}

.section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 540px;
    margin: 0;
    color: #94a3b8;
    line-height: 1.7;
}

.category-grid,
.movie-grid {
    display: grid;
    gap: 18px;
}

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 24px;
    background: #0f172a;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.32);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    opacity: 0.56;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.9));
}

.category-card span,
.category-card p {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 2;
}

.category-card span {
    bottom: 72px;
    font-size: 24px;
    font-weight: 900;
}

.category-card p {
    bottom: 18px;
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.55;
}

.category-card:hover img {
    transform: scale(1.06);
    opacity: 0.78;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 14px 38px rgba(2, 6, 23, 0.28);
    transition: transform 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.52);
    box-shadow: 0 24px 58px rgba(2, 6, 23, 0.46);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.06);
    opacity: 0.84;
}

.card-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.88);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.35);
}

.card-body {
    padding: 14px;
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #93c5fd;
    font-size: 12px;
}

.card-meta span,
.detail-meta span {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.28);
}

.movie-card h2,
.rank-content h2 {
    margin: 10px 0 8px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card h2 a,
.rank-content h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-desc {
    display: -webkit-box;
    min-height: 58px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 13px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-desc.compact {
    min-height: 42px;
    -webkit-line-clamp: 2;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 54px 90px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.68);
    transition: transform 0.22s ease, border 0.22s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.5);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    font-weight: 900;
}

.rank-cover img {
    width: 90px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-content p {
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    color: #cbd5e1;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.more-link {
    margin-top: 18px;
    color: #bfdbfe;
    background: rgba(30, 64, 175, 0.34);
    border: 1px solid rgba(96, 165, 250, 0.26);
}

.page-hero {
    margin-top: 42px;
    padding: 54px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 30px;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.35), transparent 28rem), linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.28));
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}

.compact-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.filter-bar,
.search-page-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.62);
}

.filter-bar input,
.filter-bar select {
    min-width: 0;
    padding: 13px 14px;
}

.filter-bar input {
    flex: 1;
}

.filter-bar select {
    width: 168px;
}

.search-status {
    margin: 18px 0 22px;
    color: #bfdbfe;
    font-weight: 800;
}

.category-overview-list {
    display: grid;
    gap: 22px;
}

.category-overview-card {
    padding: 24px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: 0 20px 55px rgba(2, 6, 23, 0.3);
}

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

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

.category-overview-head p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0 52px;
    background: #020617;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    filter: blur(10px) saturate(1.2);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.55), #020617 92%);
}

.detail-wrap {
    position: relative;
    z-index: 2;
}

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

.breadcrumb a:hover {
    color: #60a5fa;
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(96, 165, 250, 0.26);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.4);
}

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

.detail-info h1 {
    margin-top: 18px;
    margin-bottom: 12px;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-content {
    padding-top: 0;
}

.player-card {
    margin-top: -20px;
    position: relative;
    z-index: 5;
    padding: 14px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 22px 70px rgba(2, 6, 23, 0.45);
}

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

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(2, 6, 23, 0.72));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 24px 50px rgba(37, 99, 235, 0.38);
    font-size: 30px;
}

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

.text-panel {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.68);
}

.text-panel h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.text-panel p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.95;
    font-size: 16px;
}

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

.site-footer {
    margin-top: 72px;
    color: #cbd5e1;
    border-top: 1px solid rgba(51, 65, 85, 0.86);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), #020617);
}

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

.footer-logo {
    margin-bottom: 14px;
}

.footer-brand p,
.footer-column p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.75;
}

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

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

.footer-column a {
    color: #cbd5e1;
    font-size: 14px;
}

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #64748b;
    border-top: 1px solid rgba(51, 65, 85, 0.72);
    font-size: 14px;
}

.searchable-card.is-hidden {
    display: none;
}

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

    .menu-toggle {
        display: inline-flex;
    }

    .header-search {
        margin-left: auto;
    }

    .hero-rail {
        display: none;
    }

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

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

    .split-section,
    .search-band,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

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

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

    .header-search {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
        bottom: 92px;
        width: auto;
    }

    .hero h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 36px;
    }

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

    .hero-arrow {
        display: none;
    }

    .search-band,
    .page-hero {
        padding: 22px;
        border-radius: 22px;
    }

    .search-band form,
    .search-page-form,
    .filter-bar {
        flex-direction: column;
    }

    .filter-bar select {
        width: 100%;
    }

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

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

    .rank-item {
        grid-template-columns: 42px 78px 1fr;
        gap: 10px;
    }

    .rank-cover img {
        width: 78px;
        height: 58px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .detail-poster {
        width: min(260px, 76vw);
    }

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

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

    .rank-item {
        grid-template-columns: 42px 1fr;
    }

    .rank-cover {
        display: none;
    }
}
