:root {
    color-scheme: light;
    --bg: #fff7fb;
    --bg-soft: #fbecff;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #211429;
    --muted: #6b5875;
    --line: rgba(124, 58, 237, 0.14);
    --purple: #7c3aed;
    --purple-dark: #4c1d95;
    --pink: #ec4899;
    --rose: #fb7185;
    --shadow: 0 24px 70px rgba(88, 28, 135, 0.18);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #faf5ff 0%, #fdf2f8 48%, #ffffff 100%);
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.96), rgba(236, 72, 153, 0.96));
    box-shadow: 0 10px 38px rgba(76, 29, 149, 0.26);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: var(--purple);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.24);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    padding: 10px 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 9px 12px;
    color: #ffffff;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.big-search button {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: var(--purple-dark);
    font-weight: 800;
    background: #ffffff;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: #ffffff;
    font-size: 26px;
    background: transparent;
}

.mobile-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-nav.is-open {
    display: grid;
}

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.hero {
    position: relative;
    height: min(680px, calc(100vh - 72px));
    min-height: 520px;
    overflow: hidden;
    background: #150425;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

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

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(236, 72, 153, 0.24), transparent 32%),
        linear-gradient(90deg, rgba(20, 7, 42, 0.94) 0%, rgba(42, 13, 80, 0.66) 48%, rgba(20, 7, 42, 0.28) 100%),
        linear-gradient(0deg, rgba(20, 7, 42, 0.92) 0%, rgba(20, 7, 42, 0.08) 55%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-copy {
    max-width: 720px;
    color: #ffffff;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f9a8d4;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.96;
    letter-spacing: -0.08em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

.hero-copy p {
    margin: 22px 0 0;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn,
.section-action,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 18px 36px rgba(236, 72, 153, 0.28);
}

.ghost-btn {
    padding: 0 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 34px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.quick-panel {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 20px;
    margin-top: -64px;
    position: relative;
    z-index: 10;
}

.quick-search-card,
.hot-entry,
.page-hero,
.content-card,
.category-overview-card,
.filter-panel {
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-search-card {
    padding: 28px;
}

.quick-search-card h2,
.page-hero h1,
.section-header h2,
.content-card h2,
.category-overview-card h2,
.ranking-info h2 {
    margin: 0;
    color: var(--text);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.quick-search-card h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.big-search {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.08);
}

.big-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 14px 18px;
    background: transparent;
}

.hot-entry {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 34%),
        linear-gradient(135deg, var(--purple), var(--pink));
}

.hot-entry span {
    color: #fbcfe8;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.hot-entry strong {
    margin-top: 12px;
    font-size: 28px;
    line-height: 1.1;
}

.hot-entry small {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.section-block {
    padding-top: 64px;
}

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

.section-header h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section-header p,
.page-hero p,
.category-overview-card p,
.content-card p,
.ranking-info p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-action,
.text-link {
    min-height: 40px;
    padding: 0 18px;
    color: var(--purple);
    background: rgba(124, 58, 237, 0.09);
}

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

.category-tile {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    border-radius: 22px;
    background: #2e1065;
    box-shadow: var(--shadow);
}

.category-tile img {
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

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

.category-tile span,
.category-tile strong {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: #ffffff;
}

.category-tile span {
    bottom: 48px;
    font-size: 22px;
    font-weight: 950;
}

.category-tile strong {
    bottom: 20px;
    font-size: 14px;
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: 0 18px 42px rgba(76, 29, 149, 0.13);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 58px rgba(76, 29, 149, 0.2);
}

.movie-poster {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    background: #2e1065;
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 55%);
    opacity: 0.62;
}

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 999px;
    color: var(--purple);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.84);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-rank {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(124, 58, 237, 0.82);
    backdrop-filter: blur(10px);
}

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

.movie-title {
    display: block;
    color: var(--text);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.35;
}

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

.movie-meta {
    margin-top: 12px;
}

.movie-meta span {
    color: var(--purple-dark);
    background: rgba(124, 58, 237, 0.08);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.tag {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: #9d174d;
    font-size: 12px;
    font-weight: 800;
    background: #fce7f3;
}

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

.rank-card {
    position: relative;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    min-height: 110px;
    padding: 12px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface-strong);
    box-shadow: 0 16px 36px rgba(76, 29, 149, 0.1);
}

.rank-card img {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-number {
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    min-width: 34px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.rank-info b,
.rank-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info small {
    margin-top: 8px;
    color: var(--muted);
}

.sub-page {
    padding: 34px 0 70px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(135deg, var(--purple-dark), var(--purple), var(--pink));
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
}

.page-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 18px;
}

.category-cover {
    overflow: hidden;
    border-radius: 18px;
}

.category-cover img {
    height: 170px;
    object-fit: cover;
}

.mini-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mini-link-row a {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--purple);
    font-size: 13px;
    background: rgba(124, 58, 237, 0.08);
}

.filter-panel {
    margin-top: 24px;
    padding: 22px;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 12px;
}

.filter-row input,
.filter-row select {
    width: 100%;
    border: 1px solid rgba(124, 58, 237, 0.16);
    outline: none;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.filter-count {
    margin: 14px 0 20px;
    color: var(--muted);
}

.ranking-wrap {
    display: grid;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(76, 29, 149, 0.09);
}

.ranking-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.ranking-cover img {
    height: 156px;
    object-fit: cover;
}

.ranking-cover span {
    position: absolute;
    left: 10px;
    top: 10px;
    min-width: 36px;
    padding: 6px 8px;
    border-radius: 999px;
    color: #ffffff;
    text-align: center;
    font-weight: 950;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.detail-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -34px;
    background: #150425;
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.6;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.24), transparent 32%),
        linear-gradient(90deg, rgba(20, 7, 42, 0.96), rgba(76, 29, 149, 0.62), rgba(20, 7, 42, 0.86));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: center;
    padding: 54px 0;
}

.detail-poster {
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
    height: 430px;
    object-fit: cover;
}

.detail-copy {
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-copy h1 {
    margin: 18px 0 0;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.detail-line {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.detail-tags .tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.player-section {
    margin-top: -60px;
    position: relative;
    z-index: 4;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 28px 90px rgba(20, 7, 42, 0.42);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    text-align: center;
    background: radial-gradient(circle at 50% 42%, rgba(236, 72, 153, 0.28), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

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

.player-overlay span {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 999px;
    color: var(--purple);
    font-size: 34px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(255, 255, 255, 0.22);
}

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

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

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.content-card {
    padding: 24px;
}

.info-table-card {
    grid-column: 1 / -1;
}

.info-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
}

.info-table div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.07);
}

.info-table dt {
    color: var(--muted);
    font-size: 13px;
}

.info-table dd {
    margin: 5px 0 0;
    font-weight: 850;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.sitemap-section {
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(76, 29, 149, 0.08);
}

.sitemap-section h2 {
    margin: 0 0 12px;
    color: var(--purple-dark);
}

.sitemap-section ul {
    display: grid;
    gap: 8px;
    max-height: 420px;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.sitemap-section a {
    color: var(--muted);
    font-size: 14px;
}

.sitemap-section a:hover {
    color: var(--purple);
}

.site-footer {
    margin-top: 70px;
    padding: 48px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #2e1065, #581c87 54%, #831843);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
}

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

.site-footer p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

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

.site-footer a:not(.footer-brand) {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
    color: #ffffff;
}

.is-filter-hidden {
    display: none !important;
}

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

    .mobile-toggle {
        display: block;
    }

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

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

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

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

    .header-search {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-panel,
    .detail-content,
    .footer-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .quick-panel {
        margin-top: -38px;
    }

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

    .category-overview-card,
    .detail-hero-inner,
    .filter-row,
    .ranking-row {
        grid-template-columns: 1fr;
    }

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

    .detail-poster img {
        height: 360px;
    }

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

    .info-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand {
        font-size: 18px;
    }

    .hero-copy h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.05em;
    }

    .hero-copy p,
    .detail-line {
        font-size: 15px;
    }

    .big-search {
        display: grid;
        border-radius: 22px;
    }

    .big-search button {
        min-height: 46px;
    }

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

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

    .movie-poster {
        height: 320px;
    }

    .quick-search-card,
    .hot-entry,
    .page-hero,
    .filter-panel,
    .content-card {
        padding: 20px;
    }
}
