:root {
    color-scheme: light;
    --amber-50: #fff7ed;
    --amber-100: #ffedd5;
    --amber-200: #fed7aa;
    --amber-300: #fdba74;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-900: #78350f;
    --yellow-400: #facc15;
    --rose-500: #f43f5e;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(146, 64, 14, 0.15);
    --card: rgba(255, 255, 255, 0.92);
    --shadow: 0 20px 50px rgba(120, 53, 15, 0.18);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 8% 0%, rgba(250, 204, 21, 0.20), transparent 26rem),
        radial-gradient(circle at 90% 6%, rgba(244, 63, 94, 0.12), transparent 24rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 32rem, #fffaf2 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber-700), var(--amber-500), var(--yellow-400));
    box-shadow: 0 12px 35px rgba(180, 83, 9, 0.32);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--amber-700);
    background: #ffffff;
    font-weight: 900;
    box-shadow: inset 0 -3px 0 rgba(217, 119, 6, 0.18), 0 8px 18px rgba(120, 53, 15, 0.16);
    transition: transform 0.2s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-6deg);
}

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

.brand-text strong {
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-text small {
    color: #fff7d6;
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-link,
.nav-more > button {
    color: #fffdf5;
    background: transparent;
    border: 0;
    padding: 8px 0;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-more > button:hover {
    color: #451a03;
    transform: translateY(-1px);
}

.nav-more {
    position: relative;
    display: inline-flex;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 210px;
    padding: 10px;
    display: grid;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.nav-dropdown a {
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-dropdown a:hover {
    background: var(--amber-50);
    color: var(--amber-700);
}

.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search {
    display: flex;
    flex: 0 0 310px;
    min-width: 240px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.header-search input,
.mobile-search input,
.inline-filter input,
.search-page-form input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: #ffffff;
}

.header-search input {
    min-width: 0;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.94);
}

.header-search button,
.mobile-search button,
.inline-filter button,
.search-page-form button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-700), var(--amber-500));
    font-weight: 800;
    white-space: nowrap;
}

.header-search button {
    padding: 0 18px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 3px;
    background: #ffffff;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-search {
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    margin: 4px 0 14px;
}

.mobile-search input {
    padding: 12px 14px;
}

.mobile-search button {
    padding: 0 18px;
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-panel nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

main {
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    min-height: 640px;
    color: #ffffff;
    isolation: isolate;
    background: linear-gradient(135deg, #451a03, #92400e);
}

.hero-track {
    position: relative;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 380px;
    align-items: center;
    gap: 42px;
    padding: 92px max(32px, calc((100vw - 1180px) / 2)) 78px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.8s ease;
}

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(255, 247, 237, 1), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 13px;
    color: #78350f;
    background: rgba(255, 251, 235, 0.92);
    border: 1px solid rgba(254, 215, 170, 0.7);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.section-kicker {
    color: var(--amber-700);
    background: var(--amber-50);
}

.hero-content h1,
.page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.hero-content p,
.page-hero p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #7c2d12;
    background: rgba(255, 237, 213, 0.9);
    font-size: 13px;
    font-weight: 800;
}

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

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

.primary-btn {
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
    box-shadow: 0 16px 32px rgba(244, 63, 94, 0.24);
}

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

.ghost-btn {
    min-height: 46px;
    padding: 0 20px;
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

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

.hero-poster {
    position: relative;
    z-index: 2;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.22);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-poster img,
.poster-link img,
.detail-poster img,
.hot-row-cover img,
.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 42px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 38px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.42);
}

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

.search-band {
    margin-top: -34px;
    position: relative;
    z-index: 6;
    padding: 0 16px;
}

.search-band-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.search-band span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--amber-700);
    font-weight: 900;
}

.search-band strong {
    display: block;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.search-band p {
    margin: 4px 0 0;
    color: var(--muted);
}

.search-band form,
.search-page-form,
.inline-filter {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
}

.search-band input,
.search-page-form input,
.inline-filter input {
    padding: 15px 18px;
}

.search-band button,
.search-page-form button,
.inline-filter button {
    padding: 0 22px;
}

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

.warm-section {
    width: 100%;
    margin-top: 70px;
    padding: 70px max(16px, calc((100vw - 1180px) / 2));
    background:
        radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.18), transparent 22rem),
        linear-gradient(135deg, #fffbeb, #fff7ed);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.05em;
}

.section-heading p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--muted);
}

.section-action,
.text-link {
    color: var(--amber-700);
}

.section-action {
    flex: 0 0 auto;
    padding: 10px 18px;
    background: var(--amber-50);
    border: 1px solid var(--line);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--amber-300));
}

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

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.card-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 40px;
    height: 32px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--amber-600));
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}

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

.card-meta,
.hot-row-top,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.card-meta span,
.hot-row-top span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta span:not(:last-child)::after,
.hot-row-top span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #d6a15a;
}

.movie-card h3 {
    margin: 9px 0 6px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.movie-card h3 a:hover,
.hot-row h3 a:hover,
.category-card a:hover,
.category-overview-card a:hover {
    color: var(--amber-700);
}

.movie-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-card .movie-card-body {
    padding: 13px;
}

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

.compact-card p {
    -webkit-line-clamp: 2;
    font-size: 13px;
}

.tag-row span {
    color: var(--amber-700);
    background: var(--amber-50);
    font-size: 12px;
}

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

.category-card,
.category-overview-card,
.article-card,
.player-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(120, 53, 15, 0.08);
}

.category-card {
    padding: 22px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-icon,
.category-overview-head > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-700), var(--yellow-400));
    border-radius: 18px;
    font-weight: 900;
}

.category-card h3,
.category-overview-card h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.category-card ul,
.category-overview-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-card li a,
.category-overview-card li a {
    color: var(--ink);
    font-weight: 700;
}

.category-card .text-link {
    margin-top: auto;
}

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

.category-overview-card {
    padding: 28px;
}

.category-overview-head {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.category-overview-card li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-top: 1px solid rgba(180, 83, 9, 0.12);
}

.category-overview-card li span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: clamp(42px, 7vw, 72px);
    color: #ffffff;
    border-radius: 34px;
    background:
        linear-gradient(120deg, rgba(69, 26, 3, 0.96), rgba(180, 83, 9, 0.82)),
        radial-gradient(circle at 85% 20%, rgba(250, 204, 21, 0.5), transparent 22rem);
    box-shadow: var(--shadow);
}

.thin-hero {
    min-height: 280px;
}

.category-hero,
.ranking-hero,
.search-hero {
    display: grid;
    gap: 12px;
}

.inline-filter,
.search-page-form {
    max-width: 720px;
    margin-top: 24px;
}

.category-movie-grid {
    align-items: start;
}

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

.full-ranking {
    grid-template-columns: 1fr;
}

.hot-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.08);
}

.hot-row-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-100), var(--amber-300));
}

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

.hot-row h3 {
    margin: 8px 0 5px;
    font-size: 20px;
    line-height: 1.2;
}

.hot-row p {
    margin: 0 0 10px;
    color: var(--muted);
}

.list-rank {
    color: var(--rose-500);
    font-weight: 900;
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 26px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amber-700);
    font-weight: 800;
}

.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    color: #ffffff;
    border-radius: 34px;
    background:
        linear-gradient(120deg, rgba(69, 26, 3, 0.96), rgba(146, 64, 14, 0.88)),
        radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.42), transparent 26rem);
    box-shadow: var(--shadow);
}

.detail-poster {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.06em;
}

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

.detail-meta {
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.detail-meta span {
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.detail-meta b {
    color: #fff7ed;
}

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

.player-card {
    padding: 22px;
}

.player-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.player-heading h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 38px);
    letter-spacing: -0.04em;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    background: #111827;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: #000000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

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

.play-ring {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
}

.play-ring span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    font-size: 30px;
    padding-left: 6px;
}

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

.article-card {
    padding: 28px;
}

.article-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.article-card p {
    margin: 0;
    color: #374151;
    font-size: 16px;
}

.search-result-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 22px;
}

.search-result-head h2 {
    margin: 0;
    font-size: 32px;
    letter-spacing: -0.04em;
}

.search-result-head p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    margin-top: 80px;
    color: #fff7ed;
    background: linear-gradient(135deg, #451a03, #78350f);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    gap: 16px;
}

.footer-brand {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.footer-inner p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 247, 237, 0.78);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #fed7aa;
    font-weight: 800;
}

.copyright {
    font-size: 13px;
}

.is-filtered-out {
    display: none !important;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 38px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 24px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 12px;
    }

    .desktop-nav .nav-link:nth-of-type(n + 6) {
        display: none;
    }

    .header-search {
        flex-basis: 260px;
    }

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

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

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

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

    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    body.menu-open .mobile-panel {
        display: block;
    }

    .hero-carousel,
    .hero-track {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 62px;
    }

    .hero-poster {
        width: min(320px, 76vw);
    }

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

    .section-heading,
    .player-heading,
    .search-result-head {
        display: grid;
        align-items: start;
    }

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

    .category-grid,
    .category-overview-grid,
    .hot-list,
    .detail-content {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        width: min(320px, 100%);
    }
}

@media (max-width: 560px) {
    .brand-text strong {
        font-size: 20px;
    }

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

    .hero-carousel,
    .hero-track {
        min-height: 680px;
    }

    .hero-slide {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .hero-content p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .search-band-inner,
    .page-hero,
    .detail-hero,
    .player-card,
    .article-card,
    .category-overview-card {
        border-radius: 22px;
        padding: 20px;
    }

    .search-band form,
    .search-page-form,
    .inline-filter {
        border-radius: 18px;
        display: grid;
    }

    .search-band button,
    .search-page-form button,
    .inline-filter button {
        min-height: 46px;
    }

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

    .hot-row {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .hot-row h3 {
        font-size: 17px;
    }

    .hot-row p {
        display: none;
    }
}
