:root {
    --color-frosting-50: #fef8f3;
    --color-frosting-100: #fdf0e6;
    --color-frosting-500: #f06c25;
    --color-frosting-600: #d95a1b;
    --color-dawn-50: #fff7ed;
    --color-dawn-200: #fed7aa;
    --color-dawn-500: #f97316;
    --color-cream-50: #fefefe;
    --color-cream-100: #fdfcfb;
    --color-cream-200: #fbf9f7;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #f3e4d7;
    --shadow-soft: 0 16px 40px rgba(217, 90, 27, 0.12);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(240, 108, 37, 0.12), transparent 36rem),
        linear-gradient(180deg, var(--color-cream-50), var(--color-frosting-50) 56%, #ffffff);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(240, 108, 37, 0.08);
    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 30px rgba(15, 23, 42, 0.08);
}

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

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-frosting-500), var(--color-dawn-500));
    box-shadow: 0 10px 24px rgba(240, 108, 37, 0.28);
}

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

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

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-muted);
}

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

.nav-link {
    position: relative;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
}

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

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

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

.header-search {
    position: relative;
    width: 230px;
}

.site-search-input,
.movie-filter {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 12px 18px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.86);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-input:focus,
.movie-filter:focus {
    border-color: var(--color-frosting-500);
    box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.12);
}

.site-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 150;
    display: none;
    max-height: 420px;
    overflow: auto;
    padding: 10px;
    border: 1px solid rgba(240, 108, 37, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
}

.site-search-results.is-visible {
    display: grid;
    gap: 8px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: var(--color-frosting-50);
}

.search-result-item img {
    width: 44px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.search-result-item strong {
    display: block;
    font-size: 14px;
}

.search-result-item span {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 12px;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: var(--color-frosting-50);
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #374151;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
}

.mobile-panel.is-open {
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

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

.mobile-search {
    position: relative;
}

.hero {
    position: relative;
    min-height: 720px;
    padding: 142px 0 82px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(254, 248, 243, 0.96), rgba(255, 237, 213, 0.76), rgba(254, 215, 170, 0.48)),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.24), transparent 28rem);
}

.hero-blob {
    position: absolute;
    border-radius: 999px;
    mix-blend-mode: multiply;
    filter: blur(46px);
    opacity: 0.7;
    animation: blob 7s infinite;
}

.hero-blob-one {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 6%;
    background: var(--color-frosting-100);
}

.hero-blob-two {
    width: 340px;
    height: 340px;
    top: 24%;
    right: 10%;
    background: var(--color-dawn-200);
    animation-delay: 2s;
}

.hero-blob-three {
    width: 260px;
    height: 260px;
    left: 42%;
    bottom: 6%;
    background: var(--color-cream-200);
    animation-delay: 4s;
}

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

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 8px 16px;
    color: var(--color-frosting-600);
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(240, 108, 37, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(240, 108, 37, 0.08);
}

.hero-copy h1,
.page-hero h1,
.detail-heading h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.05em;
    font-weight: 900;
    background: linear-gradient(90deg, var(--color-frosting-600), var(--color-dawn-500), var(--color-frosting-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p,
.detail-heading p {
    max-width: 700px;
    color: #4b5563;
    font-size: 19px;
}

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

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

.button-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-frosting-500), var(--color-dawn-500));
    box-shadow: 0 14px 30px rgba(240, 108, 37, 0.24);
}

.button-primary:hover,
.button-ghost:hover,
.inline-link:hover {
    transform: translateY(-2px);
}

.button-ghost {
    color: #374151;
    border: 1px solid rgba(240, 108, 37, 0.14);
    background: rgba(255, 255, 255, 0.84);
}

.button-ghost:hover {
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.inline-link {
    min-height: 38px;
    padding: 8px 18px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-frosting-500), var(--color-dawn-500));
}

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

.hero-tags a,
.detail-tags a,
.tag-row span,
.card-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    color: var(--color-frosting-600);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(240, 108, 37, 0.12);
}

.hero-carousel {
    position: relative;
    min-height: 590px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 24px 70px rgba(217, 90, 27, 0.18);
    backdrop-filter: blur(18px);
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: grid;
    gap: 18px;
    animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-art {
    position: relative;
    overflow: hidden;
    height: 390px;
    border-radius: 28px;
    background: #111827;
}

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

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-art:hover img {
    transform: scale(1.05);
}

.hero-slide-copy {
    display: grid;
    gap: 10px;
    padding: 0 6px 6px;
}

.hero-slide-copy span {
    color: var(--color-frosting-600);
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-copy h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
}

.hero-slide-copy p {
    margin: 0;
    color: var(--color-muted);
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.hero-prev,
.hero-next {
    width: 40px;
    height: 40px;
    border: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-frosting-500), var(--color-dawn-500));
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(217, 90, 27, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--color-frosting-500);
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: linear-gradient(90deg, rgba(254, 248, 243, 0.82), rgba(255, 247, 237, 0.78));
}

.section-heading {
    display: grid;
    grid-template-columns: 6px 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}

.section-heading > span {
    width: 6px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-frosting-500), var(--color-dawn-500));
}

.section-heading h2,
.search-panel h2,
.side-panel h2,
.detail-block h2,
.category-overview-head h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading p,
.search-panel p,
.category-overview-head p {
    margin: 6px 0 0;
    color: var(--color-muted);
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(240, 108, 37, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.card-cover {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    background: #111827;
}

.card-compact .card-cover {
    height: 220px;
}

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

.movie-card:hover .card-cover img {
    transform: scale(1.05);
}

.score-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 30px;
    padding: 0 10px;
    color: #ffffff;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(240, 108, 37, 0.92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.score-pill {
    right: 12px;
    bottom: 12px;
}

.rank-badge {
    left: 12px;
    top: 12px;
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 12px;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
}

.movie-card h3 {
    margin: 12px 0 8px;
    font-size: 19px;
    line-height: 1.25;
}

.movie-card p {
    min-height: 48px;
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

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

.category-card {
    display: grid;
    gap: 14px;
    min-height: 260px;
    padding: 20px;
    border: 1px solid rgba(240, 108, 37, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.category-card > a {
    display: grid;
    gap: 10px;
}

.category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-frosting-500), var(--color-dawn-500));
}

.category-card h3 {
    margin: 0;
    font-size: 20px;
}

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

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

.category-card li a {
    color: #374151;
    font-size: 14px;
}

.category-card li a:hover {
    color: var(--color-frosting-600);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 44px 58px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(240, 108, 37, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    background: #ffffff;
}

.ranking-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-frosting-500), var(--color-dawn-500));
}

.ranking-item img {
    width: 58px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

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

.ranking-text strong,
.ranking-text em {
    display: block;
}

.ranking-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-text em {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 12px;
    font-style: normal;
}

.ranking-heat {
    color: var(--color-frosting-600);
    font-weight: 900;
}

.search-panel,
.side-panel,
.detail-block,
.filter-panel,
.category-overview-block {
    border: 1px solid rgba(240, 108, 37, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.search-panel {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 26px;
}

.large-search {
    margin-top: 20px;
}

.wide-results {
    position: static;
    margin-top: 12px;
}

.page-main {
    padding-top: 76px;
}

.page-hero,
.detail-hero {
    position: relative;
    padding: 76px 0 56px;
    background:
        linear-gradient(135deg, rgba(254, 248, 243, 0.96), rgba(255, 237, 213, 0.78)),
        radial-gradient(circle at 78% 18%, rgba(240, 108, 37, 0.16), transparent 26rem);
}

.slim-hero h1 {
    max-width: 860px;
    font-size: clamp(38px, 6vw, 62px);
}

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

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: #374151;
    font-weight: 800;
    background: #ffffff;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--color-frosting-500), var(--color-dawn-500));
}

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

.poster-card {
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
    background: #111827;
}

.poster-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.detail-heading h1 {
    margin-bottom: 16px;
}

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

.detail-meta span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    color: #374151;
    border: 1px solid rgba(240, 108, 37, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

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

.player-column {
    display: grid;
    gap: 24px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    color: #ffffff;
    font-size: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-frosting-500), var(--color-dawn-500));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
    max-width: min(680px, calc(100% - 48px));
    font-size: 24px;
}

.detail-block {
    padding: 28px;
}

.detail-block p {
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 17px;
}

.side-panel {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.side-card-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.side-card-list .movie-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    border-radius: 18px;
}

.side-card-list .card-cover {
    height: 100%;
    min-height: 132px;
}

.side-card-list .card-body {
    padding: 12px;
}

.side-card-list .movie-card p,
.side-card-list .tag-row,
.side-card-list .score-pill {
    display: none;
}

.side-card-list .movie-card h3 {
    margin: 8px 0 0;
    font-size: 15px;
}

.category-overview {
    display: grid;
    gap: 28px;
    padding: 64px 0;
}

.category-overview-block {
    padding: 24px;
}

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

.site-footer {
    padding: 42px 0 0;
    background: #111827;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
    padding-bottom: 34px;
}

.footer-grid strong {
    font-size: 22px;
}

.footer-grid p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
}

.footer-links a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.36);
}

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

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

    .mobile-toggle {
        display: block;
    }

    .hero-grid,
    .two-column,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-carousel,
    .search-panel,
    .side-panel {
        position: relative;
        top: auto;
    }

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

@media (max-width: 820px) {
    .hero {
        min-height: auto;
        padding-top: 118px;
    }

    .hero-grid,
    .detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-art {
        height: 320px;
    }

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

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

    .ranking-item {
        grid-template-columns: 38px 54px minmax(0, 1fr);
    }

    .ranking-heat {
        grid-column: 3;
    }

    .poster-card {
        max-width: 320px;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-panel {
        width: min(100% - 24px, 1180px);
    }

    .brand-subtitle {
        display: none;
    }

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

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

    .button-primary,
    .button-ghost {
        width: 100%;
    }

    .card-grid,
    .featured-grid,
    .mini-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .card-cover,
    .card-compact .card-cover {
        height: 260px;
    }

    .side-card-list .movie-card {
        grid-template-columns: 86px 1fr;
    }
}
