*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #111827;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    background: #f9fafb;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.28);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ef4444;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.28);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.brand-copy small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
}

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

.nav-links > a,
.nav-dropdown > a {
    font-weight: 700;
    opacity: 0.94;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown > a:hover,
.nav-dropdown > a.active {
    color: #fef08a;
    opacity: 1;
}

.nav-dropdown {
    position: relative;
    padding: 26px 0;
}

.nav-dropdown-panel {
    position: absolute;
    top: 68px;
    left: 50%;
    display: grid;
    min-width: 190px;
    padding: 10px;
    color: #374151;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(17, 24, 39, 0.2);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

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

.nav-dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.nav-dropdown-panel a:hover {
    color: #ea580c;
    background: #fff7ed;
}

.nav-search {
    display: flex;
    align-items: center;
    width: 260px;
    padding: 7px 8px 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.nav-search input {
    min-width: 0;
    flex: 1;
    color: #ffffff;
    background: transparent;
    border: 0;
    outline: 0;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.nav-search button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #ef4444;
    background: #ffffff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top left, #fb923c 0, #ef4444 34%, #831843 100%);
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(34px);
    opacity: 0.28;
    pointer-events: none;
}

.hero-glow-one {
    top: -120px;
    right: 8%;
    background: #fef08a;
}

.hero-glow-two {
    bottom: -150px;
    left: 4%;
    background: #fb7185;
}

.hero-shell {
    position: relative;
    min-height: 620px;
    padding: 58px 0 70px;
}

.hero-slides {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
    gap: 54px;
    align-items: center;
    padding: 56px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 36px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-backdrop,
.hero-layer {
    position: absolute;
    inset: 0;
}

.hero-backdrop {
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.12);
    transform: scale(1.08);
    opacity: 0.38;
}

.hero-layer {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(127, 29, 29, 0.58) 48%, rgba(17, 24, 39, 0.45));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #ea580c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.section-kicker.light {
    color: #fef08a;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

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

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

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

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.tag-row span {
    color: #c2410c;
    background: #ffedd5;
}

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

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.28);
}

.hero .btn-primary {
    color: #ef4444;
    background: #ffffff;
}

.btn-soft {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.section-white .btn-soft,
.watch-heading .btn-soft {
    color: #ea580c;
    background: #fff7ed;
    border-color: #fed7aa;
}

.hero-poster {
    display: block;
    width: min(340px, 100%);
    justify-self: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.hero-controls {
    position: absolute;
    right: 40px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

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

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

.section {
    padding: 72px 0;
}

.section-white {
    background: #ffffff;
}

.section-soft {
    background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
}

.section-gradient {
    color: #ffffff;
    background: linear-gradient(135deg, #7f1d1d 0%, #ef4444 48%, #fb923c 100%);
}

.section-heading {
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2,
.split-layout h2,
.rank-layout h2,
.page-hero h1 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section-gradient h2,
.section-gradient p,
.section-gradient .section-kicker {
    color: #ffffff;
}

.section-heading p,
.split-layout p,
.rank-layout p,
.page-hero p {
    max-width: 720px;
    margin: 8px 0 0;
    color: #6b7280;
}

.section-gradient p {
    color: rgba(255, 255, 255, 0.82);
}

.section-heading > a,
.text-link {
    color: #dc2626;
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px 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 45px rgba(17, 24, 39, 0.16);
}

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

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

.compact-card .poster-link img {
    aspect-ratio: 16 / 10;
}

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.68));
}

.play-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #ef4444;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: all 0.22s ease;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: #ef4444;
    border-radius: 999px;
}

.card-body {
    padding: 16px;
}

.meta-row,
.score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.meta-row span {
    padding: 2px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

.card-body h3 {
    margin: 10px 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.28;
}

.card-body h3 a:hover,
.ranking-copy h2 a:hover {
    color: #ea580c;
}

.card-body p {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #6b7280;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.score-row {
    justify-content: space-between;
    margin-top: 14px;
    color: #ea580c;
}

.split-layout,
.rank-layout,
.detail-layout {
    display: grid;
    gap: 34px;
}

.split-layout {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
    align-items: center;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}

.category-tile {
    min-height: 150px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 24px;
    color: #ffffff;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.16);
}

.category-tile span {
    font-size: 24px;
    font-weight: 900;
}

.category-tile strong,
.category-tile em {
    font-size: 13px;
    font-style: normal;
    opacity: 0.9;
}

.tone-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.tone-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.tone-red { background: linear-gradient(135deg, #ef4444, #991b1b); }
.tone-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.tone-violet { background: linear-gradient(135deg, #8b5cf6, #db2777); }
.tone-yellow { background: linear-gradient(135deg, #facc15, #f97316); }
.tone-blue { background: linear-gradient(135deg, #38bdf8, #6366f1); }

.rank-layout {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    align-items: start;
}

.rank-mini-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rank-mini-item {
    display: grid;
    grid-template-columns: 36px 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.rank-mini-item span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #ef4444;
    font-weight: 900;
    background: #ffffff;
    border-radius: 50%;
}

.rank-mini-item img {
    width: 56px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-mini-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-mini-item em {
    color: #fef08a;
    font-style: normal;
    font-weight: 900;
}

.page-hero {
    color: #ffffff;
    background: radial-gradient(circle at top right, #f97316, #ef4444 44%, #831843);
}

.compact-hero,
.category-hero,
.ranking-hero {
    padding: 78px 0;
}

.page-hero h1,
.page-hero p {
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid #fee2e2;
    border-radius: 22px;
    background: #fff7ed;
}

.wide-filter {
    grid-template-columns: minmax(280px, 1fr) 180px 180px 180px;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #374151;
    background: #ffffff;
    outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.empty-state {
    padding: 42px;
    color: #9ca3af;
    text-align: center;
    background: #f9fafb;
    border-radius: 22px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    color: #ffffff;
}

.category-cover {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.category-cover img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 4px 0 8px;
    font-size: 28px;
}

.category-overview-card p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.86);
}

.category-link-list {
    display: grid;
    gap: 8px;
    margin: 12px 0 16px;
}

.category-link-list a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 70px 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.ranking-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
    border-radius: 18px;
}

.ranking-cover img {
    width: 92px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-copy h2 {
    margin: 8px 0 6px;
    font-size: 22px;
    line-height: 1.25;
}

.ranking-copy p {
    margin: 0 0 10px;
    color: #6b7280;
}

.ranking-play {
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 900;
    background: #ef4444;
    border-radius: 999px;
}

.player-section {
    padding: 38px 0 54px;
    color: #ffffff;
    background: radial-gradient(circle at top right, #7f1d1d, #111827 58%, #020617);
}

.watch-heading {
    justify-content: space-between;
    margin-bottom: 24px;
}

.watch-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.watch-heading p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 30px 95px rgba(0, 0, 0, 0.45);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ef4444;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-start span {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    font-size: 42px;
    color: #ef4444;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

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

.detail-section {
    padding-top: 58px;
}

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

.detail-cover {
    position: sticky;
    top: 102px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

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

.detail-copy {
    display: grid;
    gap: 20px;
}

.info-panel,
.story-panel {
    padding: 24px;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.info-panel h2,
.story-panel h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 24px;
}

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

.info-panel dl div {
    padding: 12px;
    border-radius: 14px;
    background: #f9fafb;
}

.info-panel dt {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 800;
}

.info-panel dd {
    margin: 4px 0 0;
    color: #374151;
    font-weight: 800;
}

.story-panel p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(180deg, #1f2937, #111827);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding: 46px 0;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 16px;
}

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

.footer-links a:hover {
    color: #fb923c;
}

.footer-bottom {
    padding: 18px 16px;
    color: #9ca3af;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
    .movie-grid-five {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .nav-search {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-shell {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav-links {
        order: 3;
        display: none;
        width: 100%;
        margin: 0;
        padding: 14px 0 4px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-dropdown {
        padding: 0;
    }

    .nav-dropdown-panel {
        position: static;
        margin-top: 8px;
        min-width: 0;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .hero-shell {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px;
    }

    .hero-poster {
        width: 220px;
        justify-self: start;
    }

    .split-layout,
    .rank-layout,
    .detail-layout,
    .footer-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .wide-filter {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        position: static;
        width: min(280px, 100%);
    }
}

@media (max-width: 700px) {
    .section {
        padding: 48px 0;
    }

    .hero-shell {
        min-height: 710px;
        padding-top: 28px;
    }

    .hero-slide {
        padding: 24px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p,
    .watch-heading p {
        font-size: 15px;
    }

    .hero-controls {
        right: 24px;
        bottom: 20px;
    }

    .movie-grid,
    .movie-grid-three,
    .movie-grid-four,
    .movie-grid-five,
    .category-grid,
    .rank-mini-list {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .card-body {
        padding: 13px;
    }

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

    .ranking-item {
        grid-template-columns: 46px 72px minmax(0, 1fr);
    }

    .ranking-play {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .ranking-number {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 16px;
    }

    .ranking-cover img {
        width: 72px;
        height: 96px;
    }

    .category-overview-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .category-cover img {
        height: 180px;
    }

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

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

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        display: none;
    }

    .movie-grid,
    .movie-grid-three,
    .movie-grid-four,
    .movie-grid-five,
    .category-grid,
    .rank-mini-list {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: 760px;
    }

    .hero-poster {
        width: 190px;
    }

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