* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.82);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --sky: #38bdf8;
    --sky-dark: #0284c7;
    --pink: #ec4899;
    --orange: #f97316;
    --green: #14b8a6;
    --shadow: 0 24px 80px rgba(2, 8, 23, 0.58);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 32rem),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.10), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
}

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

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--sky), var(--pink));
    color: #fff;
    box-shadow: 0 12px 34px rgba(56, 189, 248, 0.28);
}

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

.main-nav a,
.mobile-panel a {
    color: var(--muted-strong);
    padding: 9px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.mobile-panel a:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.12);
}

.header-search {
    margin-left: auto;
    width: min(360px, 34vw);
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
}

.header-search input,
.hero-search input,
.search-page-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.header-search input {
    padding: 10px 14px;
}

.header-search button,
.hero-search button,
.search-page-form button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    cursor: pointer;
    white-space: nowrap;
}

.header-search button {
    padding: 10px 16px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #fff;
    background: rgba(15, 23, 42, 0.84);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
}

.mobile-panel.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.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-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 38%, rgba(2, 6, 23, 0.16) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.0) 45%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100% - 1180px) / 2));
    bottom: 160px;
    width: min(650px, calc(100% - 64px));
    z-index: 2;
}

.hero-kicker,
.eyebrow {
    color: var(--sky);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.hero p {
    max-width: 620px;
    margin: 0;
    color: var(--muted-strong);
    font-size: 1.1rem;
}

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

.hero-tags,
.detail-tags {
    margin-top: 20px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 999px;
    color: #dff6ff;
    background: rgba(56, 189, 248, 0.10);
    font-size: 0.82rem;
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    box-shadow: 0 18px 42px rgba(56, 189, 248, 0.28);
}

.ghost-button,
.section-more {
    color: #fff;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.7);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 86px;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-arrow {
    pointer-events: auto;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.66);
    font-size: 2rem;
    line-height: 1;
}

.hero-dots {
    pointer-events: auto;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.42);
}

.hero-dot.is-active {
    width: 34px;
    background: var(--sky);
}

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    width: min(680px, calc(100% - 32px));
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
}

.hero-search input {
    padding: 16px 20px;
}

.hero-search button {
    padding: 0 24px;
}

.section {
    padding: 70px 0;
}

.no-padding-top {
    padding-top: 0;
}

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

.section-heading h2,
.panel-title h2,
.detail-article h2,
.detail-side h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--muted);
}

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

.category-card,
.category-hero-link {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

.category-card img,
.category-hero-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transition: transform 0.45s ease;
}

.category-card:hover img,
.category-hero-link:hover img {
    transform: scale(1.08);
}

.category-shade,
.category-hero-link span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.92));
}

.category-icon,
.category-card strong,
.category-card em,
.category-hero-link div {
    position: relative;
    z-index: 2;
}

.category-icon {
    display: inline-flex;
    margin-bottom: 64px;
    font-size: 2.2rem;
}

.category-card strong {
    display: block;
    font-size: 1.22rem;
}

.category-card em {
    display: block;
    margin-top: 8px;
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-style: normal;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: 0 16px 52px rgba(2, 8, 23, 0.34);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 26px 70px rgba(14, 165, 233, 0.16);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(236, 72, 153, 0.12));
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.02) 64%);
}

.poster-play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(56, 189, 248, 0.86);
    box-shadow: 0 14px 32px rgba(56, 189, 248, 0.36);
}

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 6, 23, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-body {
    padding: 16px;
}

.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--sky);
    font-size: 0.78rem;
    font-weight: 700;
}

.card-body h3 {
    margin: 9px 0 8px;
    font-size: 1.08rem;
    line-height: 1.3;
}

.card-body h3 a:hover,
.rank-info h3 a:hover,
.footer-links a:hover {
    color: var(--sky);
}

.card-body p {
    min-height: 46px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.tag-row {
    min-height: 28px;
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
}

.ranking-panel {
    position: sticky;
    top: 98px;
    align-self: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.panel-title a {
    color: var(--sky);
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 50px 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.38);
}

.full-rank .rank-row {
    grid-template-columns: 72px 94px minmax(0, 1fr);
}

.rank-num {
    color: var(--sky);
    font-size: 1.35rem;
    font-weight: 900;
}

.rank-thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-soft);
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.full-rank .rank-info h3 {
    font-size: 1.25rem;
}

.rank-info p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.page-main {
    padding-top: 42px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    margin-bottom: 42px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(236, 72, 153, 0.09)),
        rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 8px 0 12px;
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted-strong);
}

.small-hero {
    min-height: 220px;
}

.search-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 28px;
}

.search-page-form {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.36);
}

.search-page-form input {
    padding: 15px 18px;
}

.search-page-form button {
    padding: 0 22px;
}

.filter-bar {
    position: sticky;
    top: 86px;
    z-index: 20;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(12px);
}

.filter-bar button {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.72);
    padding: 8px 14px;
}

.filter-bar button.is-active,
.filter-bar button:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.46);
    background: rgba(56, 189, 248, 0.18);
}

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

.category-overview-block {
    margin-bottom: 52px;
}

.category-hero-link {
    display: block;
    min-height: 260px;
    margin-bottom: 20px;
}

.category-hero-link div {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
}

.category-hero-link em {
    font-size: 2rem;
    font-style: normal;
}

.category-hero-link h2 {
    margin: 10px 0 8px;
    font-size: clamp(1.6rem, 3vw, 3rem);
}

.category-hero-link p {
    margin: 0;
    max-width: 680px;
    color: var(--muted-strong);
}

.category-page-hero {
    min-height: 360px;
    display: flex;
    align-items: end;
}

.category-page-hero img,
.category-page-hero span {
    position: absolute;
    inset: 0;
}

.category-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.category-page-hero span {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.28)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.8), transparent);
}

.category-page-hero div {
    position: relative;
    z-index: 2;
}

.movie-detail {
    overflow: hidden;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: end;
    padding: 72px 0 54px;
    border-bottom: 1px solid var(--line);
}

.detail-bg,
.detail-bg-shade {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) scale(1.06) saturate(1.08);
    opacity: 0.46;
}

.detail-bg-shade {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.58)),
        linear-gradient(0deg, var(--bg), rgba(2, 6, 23, 0.1));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted-strong);
    font-size: 0.92rem;
}

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

.detail-info h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.3rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.detail-one-line {
    max-width: 760px;
    margin: 0;
    color: var(--muted-strong);
    font-size: 1.12rem;
}

.player-section {
    padding: 56px 0 36px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: 0 28px 90px rgba(2, 8, 23, 0.72);
}

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

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.16), rgba(2, 6, 23, 0.72));
}

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

.big-play {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    box-shadow: 0 20px 46px rgba(56, 189, 248, 0.34);
    font-size: 2.2rem;
}

.play-cover strong {
    max-width: min(700px, calc(100% - 40px));
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 22px 0 20px;
}

.detail-article,
.detail-side {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.74);
    box-shadow: var(--shadow);
}

.detail-article {
    padding: 30px;
}

.detail-article h2 {
    margin-top: 0;
    margin-bottom: 14px;
}

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

.detail-article p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 1.02rem;
}

.detail-side {
    align-self: start;
    padding: 24px;
}

.detail-side dl {
    margin: 18px 0 0;
}

.detail-side dt {
    color: var(--muted);
    font-size: 0.84rem;
}

.detail-side dd {
    margin: 4px 0 16px;
    color: var(--text);
    font-weight: 700;
}

.site-footer {
    margin-top: 50px;
    padding: 44px 0 26px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.8);
}

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

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

.site-footer p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
}

.site-footer h3 {
    margin: 0 0 14px;
}

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

.footer-links a {
    color: var(--muted-strong);
}

.copyright {
    width: min(1180px, calc(100% - 32px));
    margin: 30px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 840px) {
    .header-inner {
        gap: 12px;
    }

    .main-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero {
        min-height: 640px;
    }

    .hero-content {
        bottom: 148px;
    }

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

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

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

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

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

@media (max-width: 560px) {
    .shell,
    .header-inner,
    .mobile-panel,
    .footer-grid,
    .copyright {
        width: min(100% - 24px, 1180px);
    }

    .brand {
        font-size: 0.98rem;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        left: 16px;
        bottom: 150px;
        width: calc(100% - 32px);
    }

    .hero p,
    .detail-one-line {
        font-size: 1rem;
    }

    .hero-controls {
        bottom: 88px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-search {
        border-radius: 18px;
    }

    .hero-search input {
        padding: 13px 14px;
    }

    .hero-search button {
        padding: 0 14px;
    }

    .section {
        padding: 48px 0;
    }

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

    .category-grid,
    .movie-grid,
    .movie-grid.two-col,
    .related-grid,
    .slim-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 28px;
        border-radius: 22px;
    }

    .rank-row,
    .full-rank .rank-row {
        grid-template-columns: 44px 68px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-info p {
        display: none;
    }

    .detail-hero {
        padding-top: 42px;
        min-height: auto;
    }

    .detail-info h1 {
        font-size: 2.4rem;
    }

    .player-section {
        padding-top: 36px;
    }

    .player-frame {
        border-radius: 18px;
    }

    .detail-article,
    .detail-side {
        padding: 22px;
        border-radius: 22px;
    }
}
