:root {
    --brand: #ea580c;
    --brand-dark: #c2410c;
    --hot: #dc2626;
    --pink: #db2777;
    --ink: #111827;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --card: #ffffff;
    --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: #f7f7f8;
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--hot));
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28);
}

.brand-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--brand), var(--hot));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #4b5563;
    font-weight: 650;
}

.nav-link {
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--brand);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

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

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: var(--ink);
    border-radius: 999px;
    padding: 11px 16px;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(234, 88, 12, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--hot));
    cursor: pointer;
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--brand);
}

.mobile-panel {
    border-top: 1px solid var(--line);
    padding: 16px 24px 22px;
    background: #ffffff;
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    font-weight: 650;
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f9fafb;
}

main {
    min-height: 70vh;
}

.hero-section {
    position: relative;
    min-height: 650px;
    padding-top: 76px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, #ea580c 0%, #dc2626 48%, #db2777 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.25), transparent 28%), radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.16), transparent 30%), rgba(0, 0, 0, 0.18);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 58px 58px;
}

.hero-stage {
    position: relative;
    max-width: 1180px;
    min-height: 570px;
    margin: 0 auto;
    padding: 70px 24px 88px;
}

.hero-slide {
    display: none;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 70px;
    min-height: 450px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 22px 0 22px;
    font-size: clamp(42px, 6.5vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.06em;
    color: #ffffff;
}

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

.hero-tags,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.movie-meta span {
    color: var(--muted);
    background: #f3f4f6;
}

.hero-actions,
.detail-info .primary-action {
    margin-top: 32px;
}

.primary-action,
.secondary-action,
.text-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-action {
    color: var(--brand);
    background: #ffffff;
    box-shadow: 0 22px 45px rgba(17, 24, 39, 0.18);
}

.secondary-action {
    margin-left: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.primary-action:hover,
.secondary-action:hover,
.text-action:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 50%);
}

.hero-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.section-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 74px 24px;
}

.section-wrap.no-padding {
    padding-top: 0;
    padding-bottom: 0;
}

.soft-section {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    padding: 74px 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.section-head a,
.text-action {
    color: var(--brand);
    font-weight: 800;
}

.card-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e5e7eb;
}

.compact-card .poster-link {
    aspect-ratio: 2 / 3;
}

.poster-link img {
    transition: transform 0.5s ease;
}

.movie-card:hover .poster-link img,
.related-card:hover img,
.collection-tile:hover img,
.category-cover:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 55%, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-chip,
.rank-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    border-radius: 999px;
    padding: 8px 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--hot));
    font-size: 13px;
    font-weight: 850;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip,
.rank-row:hover .rank-play {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.32);
}

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

.movie-title {
    display: -webkit-box;
    min-height: 52px;
    overflow: hidden;
    color: var(--ink);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

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

.tag-row span {
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--brand-dark);
    background: #fff7ed;
    font-size: 12px;
    font-weight: 700;
}

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

.collection-tile,
.category-cover {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
    color: #ffffff;
    background: #111827;
}

.collection-tile img,
.category-cover img {
    position: absolute;
    inset: 0;
    transition: transform 0.55s ease;
}

.collection-tile span,
.category-cover span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.collection-tile strong,
.collection-tile em,
.category-cover strong {
    position: relative;
    z-index: 2;
    display: block;
}

.collection-tile strong {
    margin: 118px 18px 8px;
    font-size: 22px;
}

.collection-tile em {
    margin: 0 18px 18px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.page-main {
    padding-top: 76px;
}

.page-hero {
    position: relative;
    color: #ffffff;
    background: linear-gradient(120deg, #ea580c, #dc2626 52%, #db2777);
    overflow: hidden;
}

.compact-hero {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 72px max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.compact-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

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

.light-action {
    margin: 0;
    background: rgba(255, 255, 255, 0.18);
}

.category-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.category-cover {
    display: block;
    min-height: 190px;
    border-radius: 0;
    box-shadow: none;
}

.category-cover strong {
    position: absolute;
    left: 20px;
    bottom: 18px;
    font-size: 24px;
}

.category-body {
    padding: 20px;
}

.category-body p {
    margin: 0 0 16px;
    color: var(--muted);
}

.mini-links {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.mini-links a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-weight: 720;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 0.65fr));
    gap: 16px;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border-radius: 14px;
    background: #f9fafb;
}

.empty-state {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background: #ffffff;
}

.top-rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.top-rank-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-radius: 28px;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow);
}

.top-rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12) 62%, transparent);
}

.top-rank-card strong,
.top-rank-card em,
.top-rank-card .rank-badge {
    position: absolute;
    z-index: 2;
}

.top-rank-card strong {
    left: 22px;
    right: 22px;
    bottom: 82px;
    font-size: 24px;
}

.top-rank-card em {
    left: 22px;
    right: 22px;
    bottom: 24px;
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-badge.large {
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    font-size: 20px;
}

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

.rank-row {
    position: relative;
    display: grid;
    grid-template-columns: 56px 70px minmax(0, 1fr) 88px;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.1);
}

.rank-row img {
    width: 70px;
    height: 92px;
    border-radius: 12px;
}

.rank-num {
    color: var(--brand);
    font-size: 20px;
    font-weight: 900;
    text-align: center;
}

.rank-info strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: 18px;
}

.rank-info em {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
    font-style: normal;
}

.rank-play {
    position: static;
    justify-self: end;
    opacity: 1;
    transform: none;
}

.movie-detail-main {
    background: #f7f7f8;
}

.breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 24px 0;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--brand);
    font-weight: 750;
}

.detail-hero {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    padding: 34px 24px 42px;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    background: #e5e7eb;
    box-shadow: var(--shadow);
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-info .eyebrow {
    color: var(--brand-dark);
    background: #fff7ed;
    border-color: #fed7aa;
}

.detail-info h1 {
    margin: 22px 0 14px;
    color: var(--ink);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 20px;
}

.detail-meta span {
    color: #4b5563;
    background: #ffffff;
    border: 1px solid var(--line);
}

.detail-info .primary-action {
    align-self: flex-start;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--hot));
}

.player-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 54px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #030712;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #030712;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.22));
    cursor: pointer;
}

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

.play-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    color: var(--brand);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    font-size: 30px;
}

.player-cover strong {
    max-width: 86%;
    font-size: clamp(22px, 4vw, 42px);
    text-align: center;
}

.detail-content {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
    padding: 0 24px 32px;
}

.detail-content article {
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.05);
}

.detail-content h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 26px;
}

.detail-content p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

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

.info-list div {
    padding: 16px;
    border-radius: 16px;
    background: #f9fafb;
}

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

.info-list dd {
    margin: 6px 0 0;
    color: var(--ink);
    font-weight: 760;
}

.related-wrap {
    padding-top: 30px;
}

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

.related-card {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.related-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.related-poster img {
    transition: transform 0.45s ease;
}

.related-poster span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.94);
    font-size: 12px;
    font-weight: 800;
}

.related-title {
    display: block;
    padding: 13px 13px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-weight: 820;
}

.related-card p {
    margin: 4px 13px 14px;
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    margin-top: 36px;
    color: #d1d5db;
    background: #111827;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 44px;
    padding: 52px 24px;
}

.footer-logo .brand-text {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.footer-brand p {
    max-width: 560px;
    color: #9ca3af;
}

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

.footer-links h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links a {
    display: block;
    margin: 9px 0;
    color: #d1d5db;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }

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

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

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

@media (max-width: 820px) {
    .header-inner {
        height: 68px;
        padding: 0 18px;
    }

    .brand-text {
        font-size: 20px;
    }

    .hero-section,
    .page-main {
        padding-top: 68px;
    }

    .hero-stage {
        min-height: auto;
        padding: 48px 18px 84px;
    }

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

    .hero-poster {
        max-width: 280px;
        justify-self: center;
        transform: none;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .secondary-action {
        margin-left: 0;
        margin-top: 12px;
    }

    .section-wrap {
        padding: 52px 18px;
    }

    .compact-hero {
        min-height: 280px;
        flex-direction: column;
        align-items: flex-start;
        padding: 54px 18px;
    }

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

    .detail-hero,
    .player-section,
    .detail-content,
    .breadcrumb {
        padding-left: 18px;
        padding-right: 18px;
    }

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

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

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

    .rank-row {
        grid-template-columns: 44px 62px minmax(0, 1fr);
    }

    .rank-play {
        display: none;
    }
}

@media (max-width: 560px) {
    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .mobile-search {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .hero-tags span,
    .detail-meta span,
    .movie-meta span {
        font-size: 12px;
    }

    .hero-copy h1,
    .compact-hero h1 {
        font-size: 38px;
    }

    .three-grid,
    .four-grid,
    .collection-grid,
    .category-grid,
    .top-rank-grid,
    .filter-panel,
    .related-grid,
    .info-list {
        grid-template-columns: 1fr;
    }

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

    .player-shell {
        border-radius: 20px;
    }

    .play-circle {
        width: 66px;
        height: 66px;
    }
}
