:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
    color: var(--white);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand {
    font-size: 22px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
    font-size: 15px;
}

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

.nav-link {
    position: relative;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease;
}

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

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

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--slate-900);
}

.mobile-nav.open {
    display: flex;
}

.home-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.35)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, rgba(249, 115, 22, 0.22), transparent 32%), radial-gradient(circle at 80% 10%, rgba(251, 146, 60, 0.14), transparent 28%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    min-height: 620px;
    margin: 0 auto;
    padding: 70px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 54px;
}

.hero-copy {
    max-width: 780px;
    color: var(--white);
}

.hero-kicker,
.eyebrow,
.section-heading span {
    display: inline-flex;
    align-items: center;
    color: var(--orange-400);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.hero-copy h2 {
    margin: 18px 0 20px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy p {
    margin: 0 0 26px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2vw, 24px);
}

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

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

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

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    box-shadow: 0 18px 35px rgba(249, 115, 22, 0.34);
}

.secondary-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ghost-button {
    color: var(--slate-800);
    background: var(--white);
    border: 1px solid rgba(100, 116, 139, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    min-height: 470px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    transform: rotate(1deg);
}

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

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    color: var(--white);
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.42);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
    transform: translateX(-50%);
}

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-prev,
.hero-next {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 30px;
    line-height: 1;
}

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

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

.hero-dot.active {
    width: 32px;
    background: var(--orange-400);
}

.quick-search-section,
.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.quick-search-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.quick-search-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 32px;
    align-items: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.quick-search-card h2 {
    margin: 8px 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

.quick-search-card p {
    margin: 0;
    color: var(--slate-600);
}

.quick-search-form {
    display: flex;
    gap: 12px;
}

.quick-search-form input,
.search-box input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 999px;
    outline: 0;
    background: var(--slate-50);
    color: var(--slate-800);
}

.quick-search-form input {
    padding: 0 18px;
}

.quick-search-form button {
    min-width: 110px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--orange-500);
    cursor: pointer;
    font-weight: 800;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    color: var(--slate-800);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--slate-600);
}

.section-link {
    color: var(--orange-600);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.movie-thumb {
    position: relative;
    height: 224px;
    margin: 0;
    overflow: hidden;
    background: var(--slate-800);
}

.featured-grid .movie-thumb {
    height: 276px;
}

.latest-grid .movie-thumb,
.side-recommend-grid .movie-thumb {
    height: 180px;
}

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

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

.movie-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.55));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.corner-badge,
.duration-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.corner-badge {
    top: 12px;
    left: 12px;
    background: var(--orange-500);
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(2, 6, 23, 0.72);
}

.hover-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.82);
    border-radius: 999px;
    color: var(--white);
    background: rgba(249, 115, 22, 0.94);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-title {
    margin: 0 0 10px;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-title.compact {
    font-size: 16px;
}

.movie-card:hover .movie-title {
    color: var(--orange-600);
}

.movie-desc {
    margin: 0 0 14px;
    min-height: 48px;
    color: var(--slate-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 13px;
}

.movie-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--slate-100);
}

.dark-section {
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
}

.inner-dark .section-heading h2,
.inner-dark .section-heading p {
    color: var(--white);
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, background 0.25s ease;
}

.category-card {
    min-height: 230px;
    padding: 24px;
    color: var(--white);
    backdrop-filter: blur(12px);
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
}

.category-card:hover {
    background: rgba(249, 115, 22, 0.9);
}

.category-card h3,
.category-overview-card h2 {
    margin: 0 0 10px;
}

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

.category-icon {
    display: block;
    margin-bottom: 16px;
    font-size: 36px;
}

.category-card img {
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 140px;
    height: 105px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.34;
    transform: rotate(-8deg);
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: auto 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-num {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    font-weight: 900;
}

.rank-item img {
    width: 92px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--slate-800);
}

.rank-item h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: var(--slate-800);
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-item p {
    margin: 0;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-item strong {
    color: var(--orange-600);
}

.soft-section {
    max-width: none;
    padding-left: max(24px, calc((100% - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100% - 1280px) / 2 + 24px));
    background: var(--slate-50);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800));
}

.compact-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px;
}

.compact-hero h1,
.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
}

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

.category-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 72px 24px;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.7)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.category-hero > div:last-child {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.category-hero h1 {
    max-width: 780px;
}

.category-hero p {
    margin: 0 0 26px;
    max-width: 680px;
}

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

.category-overview-card {
    padding: 24px;
    background: var(--white);
}

.category-overview-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.category-overview-top > span {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--slate-100);
    font-size: 28px;
}

.category-overview-card p {
    color: var(--slate-600);
}

.category-preview-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.category-preview-strip img {
    height: 120px;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    background: var(--slate-800);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.search-box {
    position: relative;
}

.search-box span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-500);
}

.search-box input {
    padding: 0 18px 0 46px;
}

.filter-bar select {
    padding: 0 18px;
    appearance: none;
    cursor: pointer;
}

.ranking-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.ranking-columns .section-heading {
    margin-bottom: 18px;
}

.ranking-columns .rank-item {
    grid-template-columns: auto 76px minmax(0, 1fr);
}

.ranking-columns .rank-item strong {
    display: none;
}

.ranking-columns .rank-item img {
    width: 76px;
    height: 58px;
}

.detail-hero {
    min-height: 560px;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.36)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(249, 115, 22, 0.20), transparent 35%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    min-height: 560px;
    margin: 0 auto;
    padding: 72px 24px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.detail-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.detail-cover img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    background: var(--slate-800);
}

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

.breadcrumb a:hover {
    color: var(--orange-400);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-info p {
    max-width: 820px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.player-section {
    padding-bottom: 42px;
}

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

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--slate-950);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.36);
    aspect-ratio: 16 / 9;
}

.movie-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: var(--slate-950);
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.62));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-radius: 999px;
    background: var(--orange-500);
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.42);
    font-size: 34px;
}

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

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

.detail-article,
.detail-side {
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.detail-article {
    padding: 34px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    color: var(--slate-800);
    font-size: 26px;
}

.detail-article h2:not(:first-child) {
    margin-top: 34px;
}

.detail-article p {
    color: var(--slate-700);
    font-size: 16px;
}

.movie-data-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.movie-data-list div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
}

.movie-data-list dt {
    color: var(--slate-500);
    font-weight: 800;
}

.movie-data-list dd {
    margin: 0;
    color: var(--slate-800);
}

.detail-side {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.side-recommend-grid {
    display: grid;
    gap: 16px;
}

.side-recommend-grid .movie-card {
    box-shadow: none;
    border: 1px solid var(--slate-100);
}

.side-recommend-grid .movie-desc {
    display: none;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: var(--slate-900);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
}

.footer-inner h3 {
    margin: 0 0 12px;
    color: var(--white);
}

.footer-inner p {
    margin: 12px 0 0;
}

.footer-inner a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner a:hover {
    color: var(--orange-400);
}

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

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

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

    .hero-content,
    .detail-hero-inner {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

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

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

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

@media (max-width: 860px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content,
    .detail-hero-inner,
    .quick-search-card,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 54px;
        padding-bottom: 96px;
    }

    .hero-poster {
        min-height: 360px;
        transform: none;
    }

    .hero-poster img {
        height: 360px;
    }

    .detail-cover {
        max-width: 280px;
    }

    .detail-cover img {
        height: 410px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .featured-grid,
    .hot-grid,
    .latest-grid,
    .searchable-grid,
    .category-overview-grid,
    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-side {
        position: static;
    }
}

@media (max-width: 560px) {
    .site-header-inner {
        padding: 0 16px;
    }

    .brand {
        font-size: 18px;
    }

    .home-hero,
    .hero-slider {
        min-height: 680px;
    }

    .hero-copy h2 {
        font-size: 40px;
    }

    .hero-content,
    .content-section,
    .quick-search-section,
    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .featured-grid,
    .hot-grid,
    .latest-grid,
    .searchable-grid,
    .category-grid,
    .category-overview-grid,
    .rank-grid {
        grid-template-columns: 1fr;
    }

    .quick-search-form {
        flex-direction: column;
    }

    .rank-item {
        grid-template-columns: auto 78px minmax(0, 1fr);
    }

    .rank-item strong {
        display: none;
    }

    .movie-data-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
