:root {
    --mist-950: #071925;
    --mist-900: #102a43;
    --mist-850: #18344f;
    --mist-800: #243b53;
    --mist-700: #334e68;
    --mist-600: #486581;
    --mist-500: #627d98;
    --mist-400: #829ab1;
    --mist-300: #bcccdc;
    --swamp-700: #164b51;
    --swamp-600: #20656a;
    --swamp-500: #2d8285;
    --swamp-400: #52a0a3;
    --swamp-300: #7bb8ba;
    --gold: #facc15;
    --white: #ffffff;
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 35px rgba(0, 0, 0, 0.24);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--mist-900);
    color: var(--mist-300);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(16, 42, 67, 0.95);
    border-bottom: 1px solid var(--mist-700);
    backdrop-filter: blur(14px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--swamp-500), var(--swamp-700));
    box-shadow: 0 0 0 6px rgba(45, 130, 133, 0.12);
    font-size: 13px;
    padding-left: 2px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text em {
    margin-top: 4px;
    color: var(--mist-400);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--mist-200, #d9e2ec);
    font-size: 15px;
}

.desktop-nav > a,
.nav-dropdown > a {
    padding: 23px 0;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.nav-dropdown:hover > a {
    color: var(--white);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 190px;
    padding: 10px;
    display: grid;
    gap: 3px;
    background: var(--mist-800);
    border: 1px solid var(--mist-700);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.dropdown-panel a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--mist-300);
    font-size: 14px;
}

.dropdown-panel a:hover {
    color: var(--white);
    background: var(--mist-700);
}

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

.header-search {
    position: relative;
    width: min(280px, 26vw);
}

.header-search input,
.mobile-search input,
.filter-panel input {
    width: 100%;
    border: 1px solid var(--mist-700);
    border-radius: 12px;
    color: var(--white);
    background: var(--mist-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    height: 42px;
    padding: 0 44px 0 16px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.filter-panel input::placeholder {
    color: var(--mist-400);
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus {
    border-color: var(--swamp-500);
    box-shadow: 0 0 0 3px rgba(45, 130, 133, 0.24);
}

.header-search button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    color: var(--mist-300);
    background: transparent;
}

.header-search button:hover {
    color: var(--white);
    background: var(--mist-700);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--mist-800);
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--mist-200, #d9e2ec);
}

.mobile-panel {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 18px;
    border-top: 1px solid var(--mist-700);
}

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

.mobile-panel a {
    padding: 10px 4px;
    color: var(--mist-300);
}

.mobile-search {
    display: flex;
    gap: 10px;
}

.mobile-search input {
    min-height: 42px;
    padding: 0 14px;
}

.mobile-search button {
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    color: var(--white);
    background: var(--swamp-500);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--mist-900);
}

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

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

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

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--mist-900) 0%, rgba(16, 42, 67, 0.70) 48%, rgba(16, 42, 67, 0.08) 100%),
        linear-gradient(to right, rgba(16, 42, 67, 0.96), rgba(16, 42, 67, 0.36), rgba(16, 42, 67, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 0 86px;
}

.hero-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 18px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(32, 101, 106, 0.82);
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.hero h1,
.hero h2 {
    width: min(760px, 100%);
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero p {
    width: min(680px, 100%);
    margin: 0 0 26px;
    color: var(--mist-200, #d9e2ec);
    font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.detail-copy .primary-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.primary-btn,
.ghost-btn,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.primary-btn {
    color: var(--white);
    background: var(--swamp-500);
}

.primary-btn:hover {
    transform: translateY(-1px);
    background: var(--swamp-600);
}

.ghost-btn,
.section-link {
    color: var(--mist-200, #d9e2ec);
    border: 1px solid rgba(188, 204, 220, 0.24);
    background: rgba(16, 42, 67, 0.42);
}

.ghost-btn:hover,
.section-link:hover {
    color: var(--white);
    border-color: var(--swamp-400);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: var(--mist-300);
    font-size: 14px;
}

.hero-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.62);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 42, 67, 0.62);
    backdrop-filter: blur(10px);
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(16, 42, 67, 0.9);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--mist-600);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--swamp-400);
}

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

.muted-section {
    background: rgba(36, 59, 83, 0.30);
}

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

.section-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--mist-400);
}

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

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--mist-800);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

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

.poster-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.poster-play,
.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(45, 130, 133, 0.88);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-year,
.poster-type,
.rank-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(16, 42, 67, 0.82);
    backdrop-filter: blur(8px);
    font-size: 12px;
}

.poster-year {
    left: 10px;
}

.poster-type {
    right: 10px;
}

.rank-badge {
    top: 10px;
    left: 10px;
    display: grid;
    place-items: center;
    min-width: 30px;
    min-height: 30px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--swamp-500), var(--swamp-700));
    font-weight: 800;
}

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

.movie-card:hover .poster-shadow,
.movie-card:hover .poster-play,
.wide-card:hover .play-dot {
    opacity: 1;
}

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

.movie-card h3 {
    margin: 12px 0 6px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.35;
}

.movie-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card:hover h3 a {
    color: var(--swamp-300);
}

.movie-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--mist-400);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.card-tags span,
.detail-tags span {
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--mist-200, #d9e2ec);
    background: var(--mist-800);
    font-size: 12px;
}

.card-meta,
.meta-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--mist-400);
    font-size: 12px;
}

.horizontal-row {
    display: flex;
    gap: 18px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.horizontal-row::-webkit-scrollbar {
    display: none;
}

.scroll-actions {
    display: flex;
    gap: 10px;
}

.scroll-actions button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--mist-700);
    font-size: 26px;
}

.scroll-actions button:hover {
    background: var(--mist-600);
}

.wide-card {
    display: flex;
    gap: 14px;
    min-width: 320px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(36, 59, 83, 0.50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.wide-card:hover {
    transform: translateY(-2px);
    background: rgba(51, 78, 104, 0.52);
}

.wide-cover {
    position: relative;
    flex: 0 0 140px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mist-800);
}

.wide-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.wide-info h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--white);
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wide-info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--mist-400);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

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

.ranking-page-grid {
    align-items: stretch;
}

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

.category-tile,
.category-overview-card {
    border: 1px solid rgba(130, 154, 177, 0.16);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: linear-gradient(145deg, rgba(36, 59, 83, 0.86), rgba(16, 42, 67, 0.72));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.category-main-link,
.category-tile > a {
    display: grid;
    gap: 8px;
}

.category-main-link strong,
.category-tile strong {
    color: var(--white);
    font-size: 20px;
}

.category-main-link span,
.category-tile span {
    color: var(--mist-400);
    font-size: 14px;
}

.category-samples {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.category-samples a {
    display: block;
    overflow: hidden;
    color: var(--mist-300);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.category-samples a:hover {
    color: var(--swamp-300);
}

.sub-hero {
    padding: 76px 0 58px;
    background:
        radial-gradient(circle at 20% 20%, rgba(82, 160, 163, 0.16), transparent 32%),
        linear-gradient(135deg, var(--mist-900), var(--mist-850));
    border-bottom: 1px solid var(--mist-800);
}

.sub-hero p {
    margin: 0 0 10px;
    color: var(--swamp-300);
    font-weight: 700;
}

.sub-hero h1 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.1;
}

.sub-hero span {
    display: block;
    width: min(760px, 100%);
    color: var(--mist-300);
    font-size: 17px;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid rgba(130, 154, 177, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(36, 59, 83, 0.50);
}

.filter-panel label {
    display: grid;
    gap: 8px;
}

.filter-panel label span,
.filter-group strong {
    color: var(--white);
    font-size: 14px;
}

.filter-panel input {
    min-height: 46px;
    padding: 0 14px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-group button {
    border: 1px solid rgba(130, 154, 177, 0.18);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--mist-300);
    background: var(--mist-800);
}

.filter-group button:hover,
.filter-group button.is-active {
    color: var(--white);
    border-color: var(--swamp-500);
    background: var(--swamp-600);
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 62px;
    background: var(--mist-950);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    filter: blur(8px);
    transform: scale(1.04);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--mist-900), rgba(16, 42, 67, 0.72)),
        linear-gradient(to right, rgba(16, 42, 67, 0.96), rgba(16, 42, 67, 0.22));
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--mist-400);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--swamp-300);
}

.breadcrumb strong {
    color: var(--mist-200, #d9e2ec);
    font-weight: 500;
}

.detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--mist-800);
    box-shadow: var(--shadow-xl);
}

.detail-copy h1 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.12;
}

.detail-one-line {
    width: min(820px, 100%);
    margin: 0 0 22px;
    color: var(--mist-200, #d9e2ec);
    font-size: 18px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(660px, 100%);
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.detail-meta li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(36, 59, 83, 0.66);
}

.detail-meta strong {
    color: var(--mist-400);
    font-weight: 500;
}

.detail-meta span {
    color: var(--white);
    text-align: right;
}

.detail-tags {
    margin-bottom: 26px;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-xl);
}

.movie-video,
.play-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-video {
    z-index: 1;
    background: #000;
}

.play-mask {
    z-index: 2;
    border: 0;
    padding: 0;
    overflow: hidden;
    color: var(--white);
    background: #000;
}

.play-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18));
}

.play-mask span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: rgba(45, 130, 133, 0.92);
    box-shadow: 0 0 0 10px rgba(45, 130, 133, 0.18);
    font-size: 30px;
    transform: translate(-50%, -50%);
}

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

.detail-article {
    width: min(920px, calc(100% - 32px));
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(36, 59, 83, 0.45);
}

.detail-article h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 24px;
}

.detail-article h2 + p {
    margin-top: 0;
}

.detail-article p {
    color: var(--mist-300);
    font-size: 16px;
}

.site-footer {
    border-top: 1px solid var(--mist-800);
    background: var(--mist-900);
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 38px;
}

.footer-brand p {
    width: min(420px, 100%);
    margin: 18px 0 0;
    color: var(--mist-400);
    font-size: 14px;
}

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

.footer-links h2 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 16px;
}

.footer-links a {
    color: var(--mist-400);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--swamp-300);
}

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 30px;
    border-top: 1px solid var(--mist-800);
    color: var(--mist-500);
    text-align: center;
    font-size: 14px;
}

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

    .mobile-toggle {
        display: block;
    }

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

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

@media (max-width: 760px) {
    .hero {
        height: 520px;
    }

    .hero-content {
        padding-bottom: 72px;
    }

    .hero-arrow {
        display: none;
    }

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

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

    .poster-grid,
    .feature-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .wide-card {
        min-width: 280px;
        flex-direction: column;
    }

    .wide-cover {
        flex-basis: auto;
        width: 100%;
    }

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

    .detail-poster {
        width: min(220px, 70vw);
    }

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

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

@media (max-width: 460px) {
    .brand-text strong {
        font-size: 17px;
    }

    .brand-text em {
        display: none;
    }

    .hero h1,
    .hero h2 {
        font-size: 32px;
    }

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

    .movie-card p,
    .card-tags {
        display: none;
    }

    .play-mask span {
        width: 62px;
        height: 62px;
    }
}
