/* Static movie site theme based on the uploaded mint-gradient visual system. */
:root {
    --mint: #98D8C8;
    --mint-dark: #5BA896;
    --mint-deep: #2F7F6F;
    --ink: #111827;
    --muted: #6B7280;
    --line: #E5E7EB;
    --paper: #FFFFFF;
    --soft: #F5FBF9;
    --shadow: 0 18px 55px rgba(17, 24, 39, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #F8FFFD 0%, #FFFFFF 34%, #F4FAF8 100%);
    line-height: 1.6;
}

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: 50;
    background: linear-gradient(135deg, rgba(152, 216, 200, 0.96), rgba(91, 168, 150, 0.96));
    color: #FFFFFF;
    box-shadow: 0 12px 35px rgba(47, 127, 111, 0.22);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header > .nav-shell {
    min-height: 72px;
}

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

.logo {
    font-size: 24px;
}

.logo-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

.nav-link,
.nav-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 330px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.header-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
}

.header-search button,
.mobile-search button,
.filter-row button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #FFFFFF;
    background: var(--mint-deep);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.filter-row button:hover {
    background: #23665A;
    transform: translateY(-1px);
}

.nav-categories {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-pills {
    min-height: 44px;
    overflow-x: auto;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #FFFFFF;
    border-radius: 999px;
}

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

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

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

.mobile-link {
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.mobile-link.active,
.mobile-link:hover {
    background: rgba(255, 255, 255, 0.26);
}

.mobile-link.subtle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #FFFFFF;
    background: #0F172A;
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-overlay {
    background:
        radial-gradient(circle at 78% 30%, rgba(152, 216, 200, 0.42), transparent 34%),
        linear-gradient(90deg, rgba(8, 23, 34, 0.92) 0%, rgba(8, 23, 34, 0.72) 46%, rgba(8, 23, 34, 0.28) 100%),
        linear-gradient(180deg, rgba(8, 23, 34, 0.1), rgba(8, 23, 34, 0.82));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 360px;
    align-items: center;
    gap: 46px;
    padding: 76px 0 90px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.eyebrow.dark {
    color: var(--mint-deep);
    background: rgba(152, 216, 200, 0.18);
}

.hero-copy h1,
.page-hero h1,
.detail-main-info h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.hero-copy p {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: clamp(18px, 2.2vw, 25px);
    color: rgba(255, 255, 255, 0.9);
}

.hero-tags,
.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags {
    margin: 26px 0 0;
}

.hero-tags span,
.card-tags span,
.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
}

.tag-chip,
.card-tags span {
    color: var(--mint-deep);
    background: rgba(152, 216, 200, 0.18);
}

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

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

.btn.small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.btn.full {
    width: 100%;
}

.btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    box-shadow: 0 14px 30px rgba(91, 168, 150, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(91, 168, 150, 0.35);
}

.btn-ghost {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.hero-poster {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

.hero-poster span,
.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(17, 24, 39, 0.56);
    backdrop-filter: blur(10px);
}

.hero-poster span {
    width: 72px;
    height: 72px;
    font-size: 30px;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
}

.hero-dot.active {
    width: 32px;
    border-radius: 999px;
    background: #FFFFFF;
}

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

.search-panel {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}

.search-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-card.flat {
    margin-top: 0;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.search-card h2,
.section-heading h2,
.category-overview-card h2,
.detail-article h2,
.side-panel h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.search-card p,
.section-heading p,
.category-overview-card p,
.side-panel p {
    color: var(--muted);
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px auto;
    gap: 12px;
    margin-top: 18px;
}

.filter-row input,
.filter-row select {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 999px;
    padding: 13px 16px;
    background: #FFFFFF;
    color: var(--ink);
}

.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 4px rgba(152, 216, 200, 0.2);
}

.result-count {
    margin: 14px 0 0;
    font-weight: 700;
    color: var(--mint-deep) !important;
}

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

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

.section-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--mint-deep);
    background: rgba(152, 216, 200, 0.16);
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 24px;
    padding: 20px;
    color: #FFFFFF;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.82));
}

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

.category-tile strong {
    display: block;
    margin-top: 96px;
    font-size: 24px;
}

.category-tile small {
    display: inline-flex;
    margin: 7px 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-tile p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.14);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ECFDF5;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-play {
    width: 54px;
    height: 54px;
    font-size: 21px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 14px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

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

.card-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.movie-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
    line-height: 1.28;
}

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

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

.card-tags {
    min-height: 28px;
}

.movie-card.compact .movie-card-body {
    padding: 14px;
}

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

.page-hero {
    min-height: 360px;
    padding: 88px max(16px, calc((100vw - 1180px) / 2)) 78px;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.25), transparent 34%),
        linear-gradient(135deg, var(--mint), var(--mint-dark) 60%, #1F7668);
}

.page-hero.compact-hero {
    min-height: 330px;
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

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

.category-overview-card {
    padding: 26px;
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

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

.ranking-table-wrap {
    overflow-x: auto;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.ranking-table th,
.ranking-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.ranking-table th {
    color: var(--mint-deep);
    background: rgba(152, 216, 200, 0.12);
}

.ranking-table a:hover {
    color: var(--mint-dark);
}

.table-rank {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #FFFFFF;
    background: var(--mint-dark);
    font-weight: 900;
}

.movie-hero-detail {
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    background-image: var(--poster-image);
    background-size: cover;
    background-position: center;
}

.movie-hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(152, 216, 200, 0.38), transparent 32%),
        linear-gradient(90deg, rgba(8, 23, 34, 0.94), rgba(8, 23, 34, 0.7) 54%, rgba(8, 23, 34, 0.42)),
        linear-gradient(180deg, rgba(8, 23, 34, 0.28), rgba(8, 23, 34, 0.9));
    backdrop-filter: blur(2px);
}

.hero-detail-content {
    position: relative;
    z-index: 2;
    padding: 44px 0 70px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #FFFFFF;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

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

.detail-main-info h1 {
    max-width: 850px;
}

.detail-one-line {
    max-width: 860px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 22px;
}

.detail-tags {
    margin-top: 22px;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.detail-stats span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #050A12;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050A12;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    color: #FFFFFF;
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.25), rgba(5, 10, 18, 0.76));
    cursor: pointer;
}

.player-overlay.hidden {
    display: none;
}

.big-play {
    display: inline-flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    font-size: 34px;
    box-shadow: 0 20px 48px rgba(91, 168, 150, 0.35);
}

.player-overlay strong {
    font-size: 24px;
}

.player-overlay small {
    color: rgba(255, 255, 255, 0.78);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    padding-top: 48px;
}

.detail-article,
.side-panel {
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

.detail-article {
    padding: 32px;
}

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

.detail-article p {
    margin: 14px 0 0;
    color: #374151;
    font-size: 17px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--muted);
}

.info-list dd {
    margin: 0;
    font-weight: 700;
}

.info-list a {
    color: var(--mint-deep);
}

.side-panel {
    align-self: start;
    padding: 26px;
    position: sticky;
    top: 118px;
}

.detail-related {
    padding-bottom: 84px;
}

.site-footer {
    margin-top: 76px;
    color: #D1D5DB;
    background: linear-gradient(180deg, #1F2937, #111827);
}

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

.footer-logo {
    color: #FFFFFF;
    font-size: 22px;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: #FFFFFF;
}

.site-footer p {
    margin: 12px 0 0;
    color: #9CA3AF;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--mint);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    text-align: center;
}

[data-card].is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .header-search {
        width: 260px;
    }

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-header > .nav-shell {
        min-height: 64px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-carousel,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 54px;
    }

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

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

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

    .section-heading,
    .category-overview-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .detail-poster {
        width: min(280px, 74vw);
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .mobile-panel,
    .search-panel,
    .content-section,
    .detail-wrap,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-copy h1,
    .page-hero h1,
    .detail-main-info h1 {
        font-size: 40px;
    }

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

    .search-card,
    .detail-article,
    .side-panel,
    .category-overview-card {
        padding: 20px;
        border-radius: 22px;
    }

    .movie-grid,
    .rank-grid,
    .latest-grid,
    .mini-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .movie-card h3 {
        font-size: 17px;
    }

    .page-hero {
        min-height: 300px;
        padding-top: 58px;
        padding-bottom: 58px;
    }

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