:root {
    --cream-50: #fefdfb;
    --warm-50: #faf5f0;
    --warm-100: #f5ebe0;
    --warm-200: #e8d4be;
    --warm-300: #d9b896;
    --warm-500: #be8350;
    --warm-600: #a86d44;
    --warm-700: #8b583a;
    --warm-800: #714834;
    --warm-900: #5d3d2d;
    --tea-50: #fdf8f3;
    --tea-100: #fbeee0;
    --tea-400: #eca368;
    --tea-600: #d9703c;
    --tea-700: #b45833;
    --white: #ffffff;
    --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    --shadow-soft-lg: 0 20px 35px -12px rgba(93, 61, 45, 0.24);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--warm-900);
    background: var(--cream-50);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--cream-50), #ffffff 48%, var(--warm-50));
    color: var(--warm-900);
}

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(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--warm-100);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.header-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--warm-800);
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tea-600), var(--warm-600));
    color: white;
    font-size: 14px;
    box-shadow: 0 12px 24px rgba(217, 112, 60, 0.28);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
    font-weight: 600;
    color: var(--warm-700);
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: var(--tea-600);
}

.header-search {
    width: min(310px, 24vw);
    display: flex;
    align-items: center;
    border: 1px solid var(--warm-200);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    color: var(--warm-800);
}

.header-search button {
    border: 0;
    padding: 10px 16px;
    background: var(--tea-600);
    color: white;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--tea-50);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--warm-800);
}

.mobile-nav {
    display: none;
    padding: 12px 24px 22px;
    border-top: 1px solid var(--warm-100);
    background: white;
}

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

.hero-carousel {
    position: relative;
    height: 72vh;
    min-height: 560px;
    overflow: hidden;
    background: #111111;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.15));
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--tea-400);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero h1 {
    margin: 0 0 18px;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
}

.hero-content p,
.page-hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.detail-tags span,
.tag-row span {
    background: var(--tea-100);
    color: var(--tea-700);
}

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

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

.primary-button {
    background: var(--tea-600);
    color: white;
    box-shadow: 0 16px 28px rgba(217, 112, 60, 0.28);
}

.primary-button:hover,
.header-search button:hover {
    background: var(--tea-700);
    transform: translateY(-2px);
}

.ghost-button {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.ghost-button.light {
    color: white;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    font-size: 36px;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.52);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

.hero-dots button {
    width: 28px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dots button.active {
    background: var(--tea-400);
}

.section-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 76px 24px;
}

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

.section-heading h2 {
    margin: 0;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--warm-900);
}

.section-heading p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--warm-600);
    line-height: 1.8;
}

.section-heading a {
    color: var(--tea-600);
    font-weight: 800;
}

.center-heading {
    display: block;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.small-heading {
    align-items: start;
    margin-bottom: 24px;
}

.small-heading h2 {
    font-size: 30px;
}

.quick-search {
    padding-top: 60px;
    padding-bottom: 56px;
}

.big-search,
.search-page-form {
    display: flex;
    max-width: 880px;
    margin: 28px auto 0;
    padding: 8px;
    border: 1px solid var(--warm-100);
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.big-search input,
.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 14px 18px;
    color: var(--warm-800);
    font-size: 16px;
}

.big-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 0 30px;
    background: var(--tea-600);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.quick-links,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.quick-links a,
.tag-cloud a {
    border-radius: 999px;
    padding: 9px 16px;
    background: var(--tea-50);
    color: var(--warm-700);
    font-weight: 700;
}

.quick-links a:hover,
.tag-cloud a:hover {
    background: var(--tea-100);
    color: var(--tea-700);
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--warm-100);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--tea-600);
    font-size: 20px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-shade,
.movie-card:hover .play-badge {
    opacity: 1;
}

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

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--warm-900);
}

.card-body h3 a:hover {
    color: var(--tea-600);
}

.card-body p {
    min-height: 44px;
    margin: 0 0 14px;
    color: var(--warm-600);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--warm-500);
    font-size: 13px;
    font-weight: 700;
}

.card-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--warm-300);
}

.tag-row span {
    padding: 4px 9px;
    font-size: 12px;
}

.tinted-section {
    max-width: none;
    background: linear-gradient(180deg, var(--tea-50), white);
}

.tinted-section > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.category-tile,
.category-card-large,
.top-rank-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--warm-900);
    color: white;
    box-shadow: var(--shadow-soft);
}

.category-tile img,
.category-card-media img,
.top-rank-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-tile:hover img,
.category-card-large:hover img,
.top-rank-card:hover img {
    transform: scale(1.08);
}

.category-mask,
.category-card-media span,
.top-rank-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.16));
}

.category-tile strong,
.category-tile em {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 1;
}

.category-tile strong {
    bottom: 70px;
    font-size: 22px;
}

.category-tile em {
    bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 13px;
    line-height: 1.5;
}

.split-section,
.split-ranking {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: start;
}

.ranking-panel,
.year-panel-wrap,
.ranking-side {
    border-radius: 24px;
    padding: 26px;
    background: white;
    box-shadow: var(--shadow-soft);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.rank-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: var(--warm-100);
}

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

.rank-num {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--tea-600);
    color: white;
    font-weight: 900;
}

.rank-item h3 {
    margin: 0 0 8px;
    color: var(--warm-900);
}

.rank-item h3 a:hover {
    color: var(--tea-600);
}

.rank-item p {
    margin: 0 0 10px;
    color: var(--warm-600);
    line-height: 1.55;
}

.year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.year-tabs button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--tea-50);
    color: var(--warm-700);
    font-weight: 800;
    cursor: pointer;
}

.year-tabs button.active {
    background: var(--tea-600);
    color: white;
}

.year-panel {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.year-panel.active {
    display: grid;
}

.page-main {
    background: linear-gradient(180deg, var(--cream-50), white 42%, var(--warm-50));
}

.page-hero {
    min-height: 360px;
    padding: 86px max(24px, calc((100vw - 1280px) / 2 + 24px));
    display: flex;
    align-items: end;
    background: radial-gradient(circle at 15% 15%, rgba(236, 163, 104, 0.38), transparent 32%), linear-gradient(135deg, var(--warm-900), #2d1c15);
    color: white;
}

.small-page-hero {
    min-height: 300px;
}

.ranking-hero {
    background: radial-gradient(circle at 76% 18%, rgba(217, 112, 60, 0.5), transparent 28%), linear-gradient(135deg, #21140f, var(--warm-900));
}

.compact-actions {
    margin-top: 12px;
}

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

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px 160px;
    gap: 14px;
    margin-bottom: 28px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid var(--warm-200);
    border-radius: 14px;
    padding: 13px 14px;
    background: white;
    color: var(--warm-800);
    outline: 0;
}

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

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

.category-card-large {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 250px;
    background: white;
    color: var(--warm-900);
}

.category-card-media {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.category-card-copy {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card-copy h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-card-copy p:not(.eyebrow) {
    margin: 0;
    color: var(--warm-600);
    line-height: 1.75;
}

.top-rank-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.top-rank-card {
    min-height: 360px;
    display: block;
}

.top-rank-card strong,
.top-rank-card em {
    position: absolute;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.top-rank-card strong {
    bottom: 94px;
    font-size: 28px;
}

.top-rank-card em {
    bottom: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.65;
}

.extended-rank-list {
    border-radius: 24px;
    padding: 26px;
    background: white;
    box-shadow: var(--shadow-soft);
}

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

.search-page-section {
    padding-top: 48px;
}

.search-page-form {
    margin-top: 0;
    margin-bottom: 34px;
}

.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warm-600);
    font-weight: 700;
}

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

.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.detail-content-card,
.detail-side-card {
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.player-card {
    position: relative;
    overflow: hidden;
    background: #050505;
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    background: #050505;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    background: #050505;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

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

.player-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18));
}

.large-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--tea-600);
    font-size: 34px;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.detail-copy {
    padding: 30px;
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 50px);
    color: var(--warm-900);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--warm-600);
    font-weight: 800;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--warm-50);
}

.detail-copy section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--warm-100);
}

.detail-copy h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--warm-900);
}

.detail-copy p {
    margin: 0 0 14px;
    color: var(--warm-700);
    line-height: 1.9;
    font-size: 16px;
}

.detail-side-card {
    position: sticky;
    top: 94px;
    padding: 18px;
}

.detail-side-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    background: var(--warm-100);
}

.detail-side-card dl {
    margin: 18px 0;
    display: grid;
    gap: 14px;
}

.detail-side-card div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--warm-100);
}

.detail-side-card dt {
    margin-bottom: 4px;
    color: var(--warm-500);
    font-size: 13px;
    font-weight: 800;
}

.detail-side-card dd {
    margin: 0;
    color: var(--warm-900);
    font-weight: 800;
    line-height: 1.5;
}

.full-button {
    width: 100%;
}

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

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

.site-footer {
    background: var(--warm-900);
    color: var(--warm-100);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px;
    display: flex;
    justify-content: space-between;
    gap: 34px;
}

.footer-logo {
    color: white;
}

.footer-brand p {
    max-width: 620px;
    color: var(--warm-200);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: flex-end;
    gap: 16px;
}

.footer-links a {
    color: var(--warm-200);
}

.hidden-card {
    display: none !important;
}

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

    .header-search {
        margin-left: auto;
        width: min(360px, 38vw);
    }

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

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

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

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

    .detail-side-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: auto;
        min-height: 66px;
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .site-logo {
        font-size: 19px;
    }

    .header-search {
        order: 3;
        width: 100%;
    }

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

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

    .hero-arrow {
        display: none;
    }

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

    .section-wrap {
        padding: 52px 16px;
    }

    .section-heading {
        display: block;
    }

    .movie-grid,
    .home-grid,
    .category-movie-grid,
    .related-grid,
    .year-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .card-body {
        padding: 14px;
    }

    .card-body h3 {
        font-size: 16px;
    }

    .category-grid,
    .category-large-grid,
    .top-rank-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .big-search,
    .search-page-form {
        border-radius: 24px;
        flex-direction: column;
    }

    .big-search button,
    .search-page-form button {
        min-height: 48px;
    }

    .rank-item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .detail-layout,
    .breadcrumb {
        padding-left: 16px;
        padding-right: 16px;
    }

    .detail-copy {
        padding: 22px;
    }

    .footer-inner {
        display: block;
        padding: 38px 16px;
    }

    .footer-links {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

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

    .hero-tags span:nth-child(n + 5) {
        display: none;
    }

    .top-rank-card {
        min-height: 300px;
    }
}
