:root {
    --cream-50: #fefefe;
    --cream-100: #fbf7f1;
    --frosting-50: #fef8f3;
    --frosting-100: #fdf0e6;
    --frosting-300: #f9c29a;
    --frosting-500: #f06c25;
    --frosting-600: #d95a1b;
    --dawn-200: #fed7aa;
    --dawn-500: #f97316;
    --ink-900: #111827;
    --ink-700: #374151;
    --ink-500: #6b7280;
    --line: rgba(240, 108, 37, 0.16);
    --shadow: 0 18px 55px rgba(88, 48, 20, 0.12);
    --shadow-soft: 0 12px 30px rgba(88, 48, 20, 0.09);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, var(--cream-50), #ffffff 38%, rgba(254, 248, 243, 0.92));
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(240, 108, 37, 0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 26px rgba(87, 45, 16, 0.08);
}

.nav-shell {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    box-shadow: 0 10px 22px rgba(240, 108, 37, 0.32);
    transform: rotate(-6deg);
}

.logo-mark span {
    display: inline-block;
    font-size: 15px;
    transform: translateX(1px) rotate(6deg);
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.logo-copy strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-copy em {
    font-size: 12px;
    color: var(--ink-500);
    font-style: normal;
    margin-top: 2px;
}

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

.desktop-nav a,
.mobile-menu a {
    position: relative;
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
    transition: right 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-menu a:hover,
.mobile-menu a.is-active {
    color: var(--frosting-600);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
    right: 0;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--frosting-50);
    color: var(--ink-900);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--frosting-600);
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    padding: 0 22px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.is-open {
    display: grid;
    gap: 14px;
}

main {
    padding-top: 76px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 44px 22px 34px;
}

.hero-orb {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 999px;
    filter: blur(22px);
    opacity: 0.35;
    animation: blob 9s infinite ease-in-out;
    pointer-events: none;
}

.hero-orb-one {
    left: -80px;
    top: 60px;
    background: var(--dawn-200);
}

.hero-orb-two {
    right: -90px;
    bottom: 20px;
    background: var(--frosting-300);
    animation-delay: 2s;
}

.hero-frame {
    position: relative;
    max-width: 1240px;
    min-height: 590px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
    grid-template-rows: 1fr auto;
    gap: 22px;
    align-items: stretch;
}

.hero-copy-block {
    position: relative;
    z-index: 2;
    padding: 54px 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(254, 248, 243, 0.92), rgba(255, 237, 213, 0.72));
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(240, 108, 37, 0.12);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--frosting-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hero-copy-block h1 {
    margin: 18px 0 18px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-copy-block p,
.page-hero p,
.section-head p,
.feature-panel p,
.detail-main p {
    color: var(--ink-500);
    line-height: 1.86;
}

.hero-search {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    padding: 8px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 16px 30px rgba(87, 45, 16, 0.08);
}

.hero-search input,
.filter-tools input,
.filter-tools select {
    width: 100%;
    border: 1px solid rgba(240, 108, 37, 0.14);
    border-radius: 14px;
    background: white;
    padding: 13px 14px;
    outline: none;
    color: var(--ink-700);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-search input {
    border-color: transparent;
    flex: 1;
}

.hero-search input:focus,
.filter-tools input:focus,
.filter-tools select:focus {
    border-color: rgba(240, 108, 37, 0.46);
    box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.1);
}

.hero-search button,
.primary-btn,
.ghost-btn,
.text-link,
.category-preview-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 15px;
    padding: 13px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-search button,
.primary-btn {
    color: white;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    box-shadow: 0 12px 24px rgba(240, 108, 37, 0.28);
}

.ghost-btn,
.text-link,
.category-preview-head a {
    color: var(--frosting-600);
    background: var(--frosting-50);
    border: 1px solid var(--line);
}

.hero-search button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.category-preview-head a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(240, 108, 37, 0.18);
}

.hero-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-quick-links a {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(240, 108, 37, 0.1);
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 590px;
    box-shadow: var(--shadow);
    background: #1f130c;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.06)), linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 56%);
}

.hero-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: white;
    max-width: 620px;
}

.hero-content .eyebrow {
    color: #fed7aa;
}

.hero-content h2 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.hero-tags,
.info-chips,
.aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin: 18px 0 22px;
}

.hero-tags span,
.info-chips span,
.aside-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.info-chips span,
.aside-tags span {
    color: var(--frosting-600);
    background: var(--frosting-50);
    border: 1px solid var(--line);
}

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

.hero-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.hero-controls button,
.hero-dots button {
    pointer-events: auto;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

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

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

.hero-dots button.is-active {
    width: 28px;
    background: white;
}

.hero-side-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.hero-side-list h2 {
    align-self: center;
    margin: 0 8px 0 0;
    color: var(--ink-900);
    font-size: 20px;
}

.section-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 22px;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2,
.page-hero h1,
.detail-main h1 {
    margin: 10px 0 10px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.section-head.with-tools {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.filter-tools {
    display: flex;
    gap: 12px;
    width: min(460px, 100%);
}

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

.category-tile,
.category-preview-card,
.rank-panel,
.feature-panel,
.detail-main,
.detail-aside {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.category-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 158px;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -38px;
    bottom: -42px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(240, 108, 37, 0.18), rgba(249, 115, 22, 0.08));
}

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

.category-tile span {
    color: var(--frosting-600);
    font-weight: 900;
}

.category-tile strong {
    font-size: 17px;
    line-height: 1.6;
}

.category-tile em {
    color: var(--ink-500);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

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

.movie-card {
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 28px rgba(87, 45, 16, 0.08);
    border: 1px solid rgba(240, 108, 37, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 44px rgba(87, 45, 16, 0.14);
}

.card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #2b160b, #7c2d12);
}

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

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

.card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-float,
.player-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--frosting-500);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 800;
    color: white;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(10px);
}

.duration-badge {
    right: 10px;
    bottom: 10px;
}

.rank-badge {
    left: 10px;
    top: 10px;
    background: rgba(240, 108, 37, 0.9);
}

.card-body {
    padding: 16px;
}

.card-meta,
.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
}

.card-meta span:first-child {
    color: var(--frosting-600);
    background: var(--frosting-50);
    border-radius: 999px;
    padding: 4px 8px;
}

.card-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin: 12px 0 8px;
    font-size: 17px;
    line-height: 1.42;
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin: 0 0 13px;
    color: var(--ink-500);
    font-size: 14px;
    line-height: 1.7;
}

.compact-card .card-body p {
    -webkit-line-clamp: 1;
    min-height: 24px;
}

.rank-and-picks {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 22px;
}

.rank-panel,
.feature-panel {
    padding: 24px;
}

.compact-head {
    margin-bottom: 16px;
}

.mini-list {
    display: grid;
    gap: 10px;
}

.mini-card {
    display: grid;
    grid-template-columns: 94px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.mini-card:hover {
    background: var(--frosting-50);
    transform: translateX(2px);
}

.mini-thumb {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b160b, #7c2d12);
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-info {
    min-width: 0;
}

.mini-info strong,
.mini-info em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-info strong {
    font-size: 15px;
}

.mini-info em {
    color: var(--ink-500);
    font-size: 12px;
    font-style: normal;
    margin-top: 4px;
}

.mini-rank {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    font-weight: 900;
    font-size: 12px;
}

.feature-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(254, 248, 243, 0.95), rgba(255, 237, 213, 0.82));
}

.feature-panel h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.08;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 22px 28px;
    background: radial-gradient(circle at 20% 20%, rgba(249, 194, 154, 0.28), transparent 32%), linear-gradient(135deg, #fff, var(--frosting-50));
}

.page-hero-inner,
.detail-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.small-hero .page-hero-inner {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--ink-500);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--frosting-600);
    font-weight: 800;
}

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

.category-preview-card {
    padding: 22px;
}

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

.category-preview-head h2 {
    margin: 10px 0 0;
    max-width: 520px;
    font-size: 22px;
    line-height: 1.5;
}

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

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

.ranking-row a {
    display: grid;
    grid-template-columns: 54px 150px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(240, 108, 37, 0.1);
    box-shadow: 0 10px 24px rgba(87, 45, 16, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(87, 45, 16, 0.12);
}

.ranking-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    font-weight: 900;
}

.ranking-row img {
    width: 150px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, #2b160b, #7c2d12);
}

.ranking-main {
    min-width: 0;
}

.ranking-main strong,
.ranking-main em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-main strong {
    font-size: 18px;
}

.ranking-main em {
    margin-top: 6px;
    color: var(--ink-500);
    font-size: 14px;
    font-style: normal;
}

.ranking-meta {
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 800;
}

.detail-hero {
    padding-bottom: 42px;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: stretch;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 520px;
    background: #0c0a09;
    box-shadow: 0 24px 60px rgba(20, 12, 7, 0.28);
}

.movie-video {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: block;
    object-fit: cover;
    background: #0c0a09;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
    width: 82px;
    height: 82px;
    font-size: 30px;
    padding-left: 4px;
}

.player-overlay strong {
    max-width: 78%;
    text-align: center;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.25;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.detail-aside {
    overflow: hidden;
    padding: 14px;
    align-self: stretch;
}

.detail-aside img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, #2b160b, #7c2d12);
}

.aside-tags {
    margin-top: 14px;
}

.detail-content {
    padding-top: 36px;
}

.detail-main {
    padding: 30px;
}

.detail-main h1 {
    margin-top: 12px;
}

.lead-text {
    font-size: 18px;
}

.info-chips {
    margin: 20px 0 26px;
}

.detail-main h2 {
    margin: 28px 0 12px;
    font-size: 24px;
}

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

.empty-state {
    display: none;
    margin: 22px 0 0;
    padding: 20px;
    text-align: center;
    color: var(--ink-500);
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.empty-state.is-visible {
    display: block;
}

.site-footer {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--frosting-50), #fff);
}

.footer-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 42px 22px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 36px;
}

.footer-brand p {
    max-width: 460px;
    color: var(--ink-500);
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 15px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a:hover {
    color: var(--frosting-600);
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 22px 28px;
    color: var(--ink-500);
    font-size: 13px;
    border-top: 1px solid rgba(240, 108, 37, 0.1);
}

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

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(28px, -34px) scale(1.08);
    }
    66% {
        transform: translate(-20px, 24px) scale(0.94);
    }
}

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

    .mobile-toggle {
        display: block;
    }

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

    .hero-visual {
        min-height: 520px;
    }

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

    .hero-side-list h2 {
        grid-column: 1 / -1;
    }

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

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .detail-aside {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 18px;
    }

    .detail-aside img {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 780px) {
    .nav-shell {
        min-height: 68px;
    }

    main {
        padding-top: 68px;
    }

    .hero-section,
    .section-shell,
    .page-hero,
    .detail-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-copy-block {
        padding: 30px 22px;
    }

    .hero-search,
    .section-head.with-tools,
    .filter-tools,
    .rank-and-picks,
    .category-preview-grid,
    .footer-shell {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search {
        display: grid;
    }

    .hero-visual {
        min-height: 490px;
        border-radius: 24px;
    }

    .hero-content {
        left: 22px;
        right: 22px;
        bottom: 68px;
    }

    .hero-controls {
        justify-content: center;
    }

    .hero-side-list,
    .category-grid,
    .movie-grid,
    .category-movie-grid,
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ranking-row a {
        grid-template-columns: 42px 96px 1fr;
    }

    .ranking-meta {
        display: none;
    }

    .ranking-row img {
        width: 96px;
    }

    .player-card,
    .movie-video {
        min-height: 320px;
    }

    .detail-aside {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 520px) {
    .logo-copy strong {
        font-size: 17px;
    }

    .logo-copy em {
        font-size: 11px;
    }

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

    .hero-visual {
        min-height: 430px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-side-list,
    .category-grid,
    .movie-grid,
    .category-movie-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .mini-card {
        grid-template-columns: 84px 1fr auto;
    }

    .ranking-row a {
        grid-template-columns: 36px 84px 1fr;
        gap: 10px;
    }

    .ranking-number {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .detail-main {
        padding: 22px;
    }

    .detail-aside {
        display: block;
    }

    .detail-aside img {
        max-height: 380px;
    }

    .footer-shell {
        gap: 22px;
    }
}
