:root {
    --bg: #fffaf0;
    --bg-soft: #fff7ed;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f1d7a7;
    --card: #ffffff;
    --amber: #d97706;
    --amber-dark: #b45309;
    --gold: #f59e0b;
    --red: #ef4444;
    --orange: #f97316;
    --shadow: 0 18px 45px rgba(146, 64, 14, 0.16);
    --shadow-soft: 0 10px 28px rgba(146, 64, 14, 0.10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.25), transparent 34rem),
        linear-gradient(135deg, #fff7ed 0%, #ffffff 46%, #fffbeb 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.24);
    transform: translateZ(0);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.07);
}

.brand-title {
    display: block;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.1;
    background: linear-gradient(90deg, #dc2626, #ea580c);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    color: #374151;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    bottom: -9px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--amber);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

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

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 48px 0 18px;
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber);
    cursor: pointer;
    transform: translateY(-50%);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #374151;
    background: #fff7ed;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(245, 158, 11, 0.22);
    background: rgba(255, 255, 255, 0.96);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-nav {
    display: grid;
    gap: 8px;
    padding: 14px 0 18px;
}

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-nav a:hover {
    color: var(--amber-dark);
    background: #fff7ed;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 38px 0 34px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 18%, rgba(251, 191, 36, 0.62), transparent 16rem),
        linear-gradient(135deg, #7f1d1d 0%, #b45309 46%, #f59e0b 100%);
    box-shadow: var(--shadow);
}

.hero-carousel {
    position: relative;
    min-height: 520px;
}

.hero-slide {
    display: none;
    min-height: 520px;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: stretch;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeUp 0.55s ease both;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    font-size: 0.9rem;
    font-weight: 800;
}

.hero-title {
    max-width: 690px;
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-text {
    max-width: 640px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #78350f;
    background: #fffbeb;
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #b45309;
    background: #ffffff;
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
    background: #fffbeb;
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.hero-media {
    position: relative;
    min-height: 520px;
    isolation: isolate;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(127, 29, 29, 0.46), transparent 30%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.10));
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-card {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    width: min(320px, calc(100% - 56px));
    padding: 18px;
    border-radius: 24px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.58);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(16px);
}

.hero-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.hero-controls {
    position: absolute;
    left: clamp(24px, 5vw, 64px);
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 1.1rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.62;
}

.hero-dot.is-active {
    width: 30px;
    opacity: 1;
    background: #ffffff;
}

.section {
    padding: 46px 0;
}

.section-tight {
    padding: 28px 0;
}

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

.section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--amber-dark);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-title {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-desc {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.link-more {
    color: var(--amber-dark);
    font-weight: 900;
    white-space: nowrap;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    font-size: 1.16rem;
    font-weight: 900;
}

.category-tile p {
    position: relative;
    z-index: 2;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.category-tile span {
    position: relative;
    z-index: 2;
    color: var(--amber-dark);
    font-weight: 900;
}

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

.movie-grid.compact {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 62%);
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster::after {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 0 0 8px;
    overflow: hidden;
    color: #1f2937;
    font-size: 1.04rem;
    font-weight: 900;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

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

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    font-size: 0.76rem;
    font-weight: 800;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 70px 130px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.rank-number {
    color: var(--amber-dark);
    font-size: 1.45rem;
    font-weight: 950;
    text-align: center;
}

.rank-cover {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #fef3c7;
}

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

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

.rank-info p {
    margin: 0;
    color: var(--muted);
}

.rank-score {
    min-width: 86px;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 900;
    text-align: center;
}

.page-hero {
    padding: 58px 0 32px;
}

.page-hero-card {
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.28), transparent 15rem),
        linear-gradient(135deg, #9a3412 0%, #d97706 54%, #fbbf24 100%);
    box-shadow: var(--shadow);
}

.page-hero-card h1 {
    max-width: 840px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.page-hero-card p {
    max-width: 800px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.local-search {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 999px;
    outline: none;
}

.local-search:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    border: 0;
    padding: 8px 13px;
    border-radius: 999px;
    color: #78350f;
    background: #fffbeb;
    font-weight: 850;
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #ffffff;
    background: var(--amber);
}

.search-state {
    display: none;
    margin: 28px 0;
    padding: 22px;
    border-radius: 22px;
    color: var(--muted);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.search-state.is-visible {
    display: block;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs a {
    color: var(--amber-dark);
    font-weight: 800;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 34px;
}

.player-box {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 30px;
    background: #111827;
    box-shadow: var(--shadow);
}

.player-box video {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    background: #111827;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(0deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.28)),
        transparent;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button-inner {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 22px;
}

.play-circle {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
    font-size: 2rem;
}

.play-label {
    font-size: 1.1rem;
    font-weight: 900;
}

.detail-panel {
    padding: clamp(24px, 4vw, 38px);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-panel h1 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-lead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1.05rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.detail-meta div {
    padding: 13px;
    border-radius: 16px;
    background: #fff7ed;
}

.detail-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-meta strong {
    display: block;
    margin-top: 3px;
    color: #78350f;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row a,
.tag-row span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    font-size: 0.82rem;
    font-weight: 800;
}

.content-card {
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.content-card + .content-card {
    margin-top: 20px;
}

.content-card h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 950;
}

.content-card p {
    margin: 0;
    color: #4b5563;
    font-size: 1.02rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.side-card {
    padding: 20px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.side-card h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    font-weight: 950;
}

.side-link {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3e8d0;
}

.side-link:last-child {
    border-bottom: 0;
}

.side-link img {
    width: 82px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.side-link strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.92rem;
    line-height: 1.35;
}

.side-link span {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-footer {
    margin-top: 54px;
    padding: 48px 0 26px;
    border-top: 1px solid rgba(245, 158, 11, 0.22);
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.22), transparent 18rem),
        #fffaf0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 950;
}

.footer-grid p,
.footer-grid a {
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--amber-dark);
}

.copyright {
    margin: 32px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

    .rank-item {
        grid-template-columns: 58px 110px 1fr;
    }

    .rank-score {
        grid-column: 2 / 4;
        width: fit-content;
    }
}

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

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-slide,
    .hero-slide.is-active {
        display: block;
    }

    .hero-shell,
    .hero-carousel,
    .hero-copy,
    .hero-media,
    .hero-media img {
        min-height: auto;
    }

    .hero-copy {
        padding: 34px 24px 28px;
    }

    .hero-media {
        height: 360px;
    }

    .hero-card {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
    }

    .hero-controls {
        left: 24px;
        bottom: auto;
        top: 22px;
    }

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

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

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

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

    .nav-shell {
        min-height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-title {
        font-size: 1.04rem;
    }

    .hero-section {
        padding-top: 20px;
    }

    .hero-shell {
        border-radius: 24px;
    }

    .hero-title {
        font-size: 2.24rem;
    }

    .hero-media {
        height: 290px;
    }

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

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

    .player-box,
    .player-box video {
        min-height: 260px;
    }

    .rank-item {
        grid-template-columns: 44px 92px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .rank-number {
        font-size: 1.08rem;
    }

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

    .rank-info p {
        display: none;
    }
}
