:root {
    --frosting-50: #fff7ed;
    --frosting-100: #ffedd5;
    --frosting-500: #f06c25;
    --frosting-600: #d95a1b;
    --dawn-500: #f97316;
    --cream-50: #fef8f3;
    --ink-900: #111827;
    --ink-700: #374151;
    --ink-500: #6b7280;
    --line: #f2e7df;
    --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 20px 60px rgba(240, 108, 37, 0.16);
    --radius-xl: 24px;
    --radius-lg: 18px;
}

* {
    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", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, var(--cream-50), #ffffff 42%, rgba(255, 237, 213, 0.35));
    min-height: 100vh;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
}

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

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

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    box-shadow: 0 12px 25px rgba(240, 108, 37, 0.28);
    font-size: 13px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

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

.brand-text small {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 11px;
}

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

.nav-link {
    position: relative;
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
    transition: width 0.2s ease;
}

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

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

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

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 20px;
    background: var(--ink-700);
}

.mobile-nav {
    display: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px 18px;
}

.mobile-link {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    color: var(--ink-700);
    font-weight: 650;
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--frosting-600);
    background: var(--frosting-50);
}

main {
    padding-top: 76px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 22px 72px;
    min-height: 720px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 48px;
    align-items: center;
}

.hero-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.36;
    animation: blob 7s infinite;
}

.hero-blob-one {
    width: 360px;
    height: 360px;
    background: #fed7aa;
    top: 80px;
    left: -120px;
}

.hero-blob-two {
    width: 420px;
    height: 420px;
    background: #fef3c7;
    right: -130px;
    bottom: 40px;
    animation-delay: 2s;
}

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

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

.hero-copy h1 {
    margin: 18px 0 22px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 610px;
    margin: 0;
    color: var(--ink-700);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    box-shadow: 0 16px 32px rgba(240, 108, 37, 0.25);
}

.btn-ghost {
    color: var(--frosting-600);
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--frosting-100);
}

.btn-light {
    color: var(--frosting-600);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.full {
    width: 100%;
}

.hero-search {
    margin-top: 28px;
    display: flex;
    max-width: 620px;
    padding: 8px;
    border: 1px solid rgba(240, 108, 37, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 18px;
    font-size: 15px;
    color: var(--ink-900);
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    cursor: pointer;
}

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

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

.hero-categories a:hover {
    color: var(--frosting-600);
    background: var(--frosting-50);
}

.hero-carousel {
    position: relative;
    height: 560px;
    border-radius: 34px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 35px 90px rgba(17, 24, 39, 0.24);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.84));
}

.hero-slide-info {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 2;
    color: #ffffff;
}

.hero-slide-info h2 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.hero-slide-info p {
    max-width: 620px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-dots {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

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

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

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

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

.section-heading h2,
.page-hero h1,
.rank-title h2 {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--ink-500);
    line-height: 1.75;
}

.section-link {
    white-space: nowrap;
    color: var(--frosting-600);
    font-weight: 800;
}

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

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--frosting-100);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.72));
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    bottom: -42px;
    border-radius: 999px;
    background: rgba(240, 108, 37, 0.12);
}

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

.category-card span {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--frosting-600);
    background: var(--frosting-50);
    font-size: 12px;
    font-weight: 800;
}

.category-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--ink-500);
    line-height: 1.65;
    font-size: 14px;
}

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

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

.catalog-grid {
    margin-top: 24px;
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(242, 231, 223, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f8efe7;
}

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

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

.poster-gradient {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.76));
}

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(240, 108, 37, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--frosting-600);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-meta-line span + span::before {
    content: "·";
    margin-right: 8px;
    color: #d1d5db;
}

.movie-card h2 {
    margin: 9px 0 8px;
    font-size: 18px;
    line-height: 1.28;
}

.movie-card h2 a:hover {
    color: var(--frosting-600);
}

.movie-card p {
    min-height: 46px;
    margin: 0;
    color: var(--ink-500);
    font-size: 14px;
    line-height: 1.65;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--frosting-600);
    background: var(--frosting-50);
    border: 1px solid var(--frosting-100);
    font-size: 12px;
    font-weight: 700;
}

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

.rank-panel,
.side-card,
.story-card,
.filter-panel,
.ranking-list {
    border: 1px solid rgba(242, 231, 223, 0.95);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.rank-title {
    margin-bottom: 18px;
}

.mini-card {
    display: grid;
    grid-template-columns: 34px 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.mini-card:last-of-type {
    border-bottom: 0;
}

.rank-no {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
    font-size: 12px;
    font-weight: 850;
}

.mini-card img {
    width: 56px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    background: #f8efe7;
}

.mini-card span {
    min-width: 0;
}

.mini-card strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.mini-card em {
    display: block;
    margin-top: 6px;
    color: var(--ink-500);
    font-size: 12px;
    font-style: normal;
}

.rank-more {
    width: 100%;
    margin-top: 18px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
    padding: 86px 22px 34px;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 60px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(240, 108, 37, 0.09);
    filter: blur(4px);
    z-index: -1;
}

.filter-panel {
    padding: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    background: var(--frosting-50);
    border: 1px solid var(--frosting-100);
}

.search-box span {
    color: var(--frosting-600);
    font-size: 22px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 15px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}

.filter-controls label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 170px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 800;
}

.filter-controls select {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--ink-700);
    outline: none;
}

.empty-state {
    display: none;
    margin-top: 16px;
    padding: 18px;
    border-radius: 16px;
    color: var(--ink-500);
    background: #ffffff;
    text-align: center;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 22px 48px;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.28;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.15);
    transform: scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(111, 50, 19, 0.74));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

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

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

.detail-main-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    aspect-ratio: 2 / 3;
    background: rgba(255, 255, 255, 0.08);
}

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

.detail-info h1 {
    margin: 14px 0 12px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.detail-tags span {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
}

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

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #050816;
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.22);
    aspect-ratio: 16 / 9;
}

.player-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050816;
    z-index: 1;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(240, 108, 37, 0.24), rgba(5, 8, 22, 0.72));
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-card.is-playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.player-play-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--frosting-600);
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
    font-size: 26px;
}

.player-overlay strong {
    font-size: 18px;
}

.story-card {
    padding: 28px;
}

.story-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.story-card p,
.side-card p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.9;
}

.related-section {
    margin-top: 4px;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    padding: 22px;
}

.gradient-card {
    color: #ffffff;
    background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
}

.gradient-card p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 18px;
}

.rankings-layout {
    padding-top: 22px;
}

.ranking-list {
    overflow: hidden;
}

.ranking-row {
    display: grid;
    grid-template-columns: 52px 84px minmax(0, 1fr) 70px;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-row:hover {
    background: var(--frosting-50);
}

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

.ranking-row img {
    width: 84px;
    height: 112px;
    object-fit: cover;
    border-radius: 14px;
    background: #f8efe7;
}

.ranking-content strong {
    display: block;
    font-size: 18px;
}

.ranking-content em {
    display: block;
    margin-top: 6px;
    color: var(--ink-500);
    font-style: normal;
    font-size: 13px;
}

.ranking-content p {
    margin: 8px 0 0;
    color: var(--ink-500);
    line-height: 1.65;
}

.ranking-views {
    justify-self: end;
    color: var(--frosting-600);
    font-size: 13px;
    font-weight: 900;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 180px 180px;
    gap: 30px;
}

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

.footer-links h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    margin: 10px 0;
    color: var(--ink-500);
    font-size: 14px;
}

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

.footer-bottom {
    padding: 18px 22px;
    border-top: 1px solid var(--line);
    color: var(--ink-500);
    text-align: center;
    font-size: 13px;
}

[data-card].is-hidden {
    display: none;
}

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

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

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-nav.is-open {
        display: block;
    }

    .hero-inner,
    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        height: 520px;
    }

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

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

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

@media (max-width: 720px) {
    .header-inner {
        height: 66px;
        padding: 0 16px;
    }

    main {
        padding-top: 66px;
    }

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

    .hero-section {
        padding: 46px 16px;
        min-height: auto;
    }

    .hero-inner {
        gap: 28px;
    }

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

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

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

    .hero-search input {
        min-height: 42px;
    }

    .hero-search button {
        min-height: 42px;
    }

    .hero-carousel {
        height: 460px;
        border-radius: 26px;
    }

    .hero-slide-info {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

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

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 14px;
    }

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

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

    .detail-hero {
        padding: 44px 16px 38px;
    }

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

    .detail-poster {
        width: min(260px, 78vw);
    }

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

    .story-card {
        padding: 22px;
    }

    .ranking-row {
        grid-template-columns: 42px 72px minmax(0, 1fr);
    }

    .ranking-views {
        display: none;
    }

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

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