:root {
    --bg: #fff7ed;
    --bg-soft: #fffbeb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #fed7aa;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --amber-soft: #fef3c7;
    --shadow: 0 18px 45px rgba(124, 45, 18, 0.12);
    --shadow-strong: 0 28px 70px rgba(124, 45, 18, 0.22);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 42%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
}

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

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

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(255, 251, 235, 0.94), rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.94));
    box-shadow: 0 10px 30px rgba(194, 65, 12, 0.12);
    backdrop-filter: blur(14px);
}

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

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

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange-dark));
    box-shadow: 0 12px 22px rgba(249, 115, 22, 0.26);
}

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

.brand-text strong,
.footer-brand strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #d97706, var(--orange-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link {
    position: relative;
    display: inline-flex;
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
    font-weight: 650;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    border-radius: 99px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(330px, 28vw);
    padding: 4px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 12px;
    color: var(--text);
}

.header-search button,
.primary-btn {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange-dark));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.24);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button {
    padding: 9px 15px;
    white-space: nowrap;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    font-weight: 800;
}

.primary-btn.small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
}

.header-search button:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.32);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-weight: 800;
    transition: background 0.25s ease, transform 0.25s ease;
}

.ghost-btn.light {
    color: var(--orange-dark);
    border-color: #fed7aa;
    background: #ffffff;
}

.ghost-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.ghost-btn.light:hover {
    background: #fff7ed;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: #ffedd5;
    color: var(--orange-dark);
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
    background: rgba(255, 251, 235, 0.96);
}

.mobile-panel a {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-panel a:hover {
    background: #ffedd5;
    color: var(--orange-dark);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.44), transparent 36%),
        linear-gradient(135deg, #78350f 0%, #c2410c 42%, #f59e0b 100%);
}

.hero-bg {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.5;
}

.hero-bg-one {
    width: 340px;
    height: 340px;
    right: 6%;
    top: 72px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-bg-two {
    width: 230px;
    height: 230px;
    left: 5%;
    bottom: 70px;
    background: rgba(251, 191, 36, 0.28);
}

.hero-wrap {
    position: relative;
    z-index: 1;
    padding: 74px 0 54px;
}

.hero-slider {
    position: relative;
    min-height: 430px;
}

.hero-slide {
    display: none;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
    gap: 56px;
    animation: fadeIn 0.42s ease both;
}

.hero-slide.active {
    display: grid;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #ffedd5;
    font-size: 13px;
    font-weight: 800;
}

.hero-section .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.86;
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    font-size: 13px;
    font-weight: 700;
}

.hero-actions,
.detail-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-poster {
    position: relative;
    display: block;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;
    box-shadow: var(--shadow-strong);
    transform: rotate(1deg);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.hero-poster img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.hero-poster span {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.hero-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.hero-search {
    display: flex;
    align-items: center;
    width: min(630px, 100%);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-search input {
    flex: 1;
    border: 0;
    outline: 0;
    min-width: 0;
    padding: 15px 18px;
    color: #ffffff;
    background: transparent;
}

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

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    color: var(--orange-dark);
    background: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

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

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

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

.hero-channel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-channel-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.section-block {
    padding: 58px 0;
}

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

.section-heading h2,
.detail-main-text h2,
.detail-info-card h2,
.rank-title h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more {
    flex-shrink: 0;
    color: var(--orange-dark);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(254, 215, 170, 0.72);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 12px 30px rgba(124, 45, 18, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 2.85;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

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

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

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
}

.card-body h3 a:hover {
    color: var(--orange-dark);
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    color: var(--muted);
    font-size: 12px;
}

.card-meta a,
.card-meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
}

.card-meta a {
    color: var(--orange-dark);
    font-weight: 800;
}

.featured-card .poster-link {
    aspect-ratio: 1 / 1.18;
}

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

.category-card {
    border: 1px solid rgba(254, 215, 170, 0.78);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card > a {
    display: block;
    padding: 22px;
}

.category-card h3 {
    margin: 18px 0 10px;
    font-size: 22px;
    font-weight: 900;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.category-count {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #ffedd5;
    font-weight: 900;
    font-size: 13px;
}

.category-samples {
    display: grid;
    gap: 8px;
    padding: 0 22px 22px;
}

.category-samples a {
    color: #6b7280;
    font-size: 14px;
}

.category-samples a:hover {
    color: var(--orange-dark);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.rank-panel,
.detail-info-card {
    position: sticky;
    top: 96px;
    border: 1px solid rgba(254, 215, 170, 0.78);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.rank-panel {
    padding: 24px;
}

.rank-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rank-title a {
    color: var(--orange-dark);
    font-weight: 800;
}

.rank-panel ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-panel li a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px;
    border-radius: 16px;
    background: #fff7ed;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-panel li a:hover {
    transform: translateX(3px);
    background: #ffedd5;
}

.rank-panel strong {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange-dark));
}

.rank-panel span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
}

.rank-panel em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero,
.detail-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #92400e, #ea580c 48%, #f59e0b);
}

.page-hero .container {
    padding: 72px 0;
}

.page-hero h1 {
    max-width: 900px;
}

.category-overview-block {
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid rgba(254, 215, 170, 0.78);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(124, 45, 18, 0.08);
}

.category-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.category-overview-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 900;
}

.category-overview-head h2 a:hover {
    color: var(--orange-dark);
}

.category-overview-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px;
    gap: 12px;
    margin: 22px 0;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(124, 45, 18, 0.07);
}

.filter-panel.full {
    grid-template-columns: minmax(260px, 1fr) 170px 170px 170px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    outline: 0;
    background: #ffffff;
    padding: 13px 14px;
    color: var(--text);
}

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

.result-count {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 800;
}

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

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

.rank-card {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(254, 215, 170, 0.78);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.08);
}

.rank-poster {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1 / 1.25;
}

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

.rank-poster strong {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 34px;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange-dark));
}

.rank-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.rank-card h2 a:hover {
    color: var(--orange-dark);
}

.rank-card p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.75;
}

.detail-hero {
    padding: 58px 0;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster-wrap {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    background: rgba(255, 255, 255, 0.16);
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 2.85;
    object-fit: cover;
}

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

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

.player-section {
    padding: 54px 0 24px;
}

.compact-heading {
    align-items: center;
    margin-bottom: 18px;
}

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

.video-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.94), rgba(234, 88, 12, 0.94));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    font-size: 34px;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    padding: 34px 0 8px;
}

.detail-main-text {
    padding: 30px;
    border: 1px solid rgba(254, 215, 170, 0.78);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.08);
}

.detail-main-text h2 {
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 28px;
}

.detail-main-text p {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.95;
}

.detail-info-card {
    padding: 26px;
}

.detail-info-card h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

.detail-info-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

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

.detail-info-card dd {
    margin: 0 0 8px;
    color: #111827;
    font-weight: 800;
    line-height: 1.5;
}

.detail-info-card a {
    color: var(--orange-dark);
}

.site-footer {
    margin-top: 44px;
    border-top: 1px solid #fed7aa;
    background: linear-gradient(180deg, #fff7ed, #fffbeb);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1.2fr;
    gap: 32px;
    padding: 42px 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

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

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

.footer-links a {
    color: #4b5563;
}

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

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

.footer-bottom {
    padding: 18px;
    border-top: 1px solid #fed7aa;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

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

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

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

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

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

    .hero-slide,
    .detail-hero-grid,
    .detail-content,
    .split-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-wrap {
        padding-top: 48px;
    }

    .hero-control-row {
        align-items: stretch;
        flex-direction: column;
    }

    .rank-panel,
    .detail-info-card {
        position: static;
    }

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

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

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

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

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

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

    .hero-copy p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search button {
        width: 100%;
    }

    .movie-grid,
    .featured-grid,
    .compact-grid,
    .preview-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-body {
        padding: 13px;
    }

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

    .section-heading,
    .category-overview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-card {
        grid-template-columns: 104px 1fr;
        gap: 12px;
    }

    .rank-card h2 {
        font-size: 19px;
    }

    .detail-poster-wrap {
        max-width: 280px;
    }

    .play-overlay span {
        width: 72px;
        height: 72px;
        font-size: 27px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .preview-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-poster {
        aspect-ratio: 16 / 9;
    }
}
