:root {
    color-scheme: light;
    --amber: #d97706;
    --amber-dark: #b45309;
    --orange: #f97316;
    --gold: #f59e0b;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --panel: #ffffff;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

img.poster-empty {
    opacity: 0;
}

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.3);
}

.brand-name {
    color: #ffffff;
    font-size: 20px;
}

.site-header.is-scrolled .brand-name,
.site-header.is-open .brand-name {
    color: var(--ink);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fbbf24;
}

.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link {
    color: #374151;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-open .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.is-open .nav-link.is-active {
    color: var(--amber);
}

.header-search,
.mobile-search,
.page-filter,
.home-search-band form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search {
    min-width: 250px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled .header-search,
.site-header.is-open .header-search {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.header-search input,
.mobile-search input,
.page-filter input,
.home-search-band input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    padding: 8px 12px;
}

.site-header.is-scrolled .header-search input,
.site-header.is-open .header-search input,
.mobile-search input,
.page-filter input,
.home-search-band input {
    color: var(--ink);
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .header-search input::placeholder,
.site-header.is-open .header-search input::placeholder,
.mobile-search input::placeholder,
.page-filter input::placeholder,
.home-search-band input::placeholder {
    color: #9ca3af;
}

.header-search button,
.mobile-search button,
.page-filter button,
.home-search-band button,
.primary-button,
.ghost-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.header-search button,
.mobile-search button,
.page-filter button,
.home-search-band button,
.primary-button {
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(217, 119, 6, 0.25);
}

.header-search button {
    padding: 8px 16px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.header-search button:hover,
.mobile-search button:hover,
.page-filter button:hover,
.home-search-band button:hover,
.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.site-header.is-scrolled .menu-button,
.site-header.is-open .menu-button {
    background: #f3f4f6;
}

.site-header.is-scrolled .menu-button span,
.site-header.is-open .menu-button span {
    background: var(--ink);
}

.mobile-panel {
    display: none;
}

.hero-slider {
    position: relative;
    height: 720px;
    min-height: 560px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.38), transparent 32%), #050505;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
}

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

.hero-slide img,
.detail-hero > img,
.rank-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade,
.detail-hero-shade,
.rank-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.15));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 105px;
    color: #ffffff;
}

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

.hero-tags span,
.detail-meta span,
.tag-row span,
.detail-tags span,
.eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.7;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

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

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

.home-search-band {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border-bottom: 1px solid #ffedd5;
}

.search-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: center;
    padding: 42px 0;
}

.search-band-inner h2,
.section-heading h2,
.spotlight-panel h2,
.page-hero h1,
.detail-hero h1,
.rank-hero h1 {
    margin: 0;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.search-band-inner h2,
.section-heading h2,
.spotlight-panel h2 {
    font-size: clamp(26px, 4vw, 42px);
}

.search-band-inner p,
.section-heading p,
.spotlight-panel p,
.page-hero p,
.detail-hero p,
.rank-hero p {
    color: var(--muted);
    line-height: 1.75;
}

.home-search-band form,
.page-filter,
.mobile-search {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
}

.home-search-band button,
.page-filter button,
.mobile-search button {
    padding: 12px 20px;
}

.content-section {
    padding: 78px 0;
}

.content-section.tinted {
    background: #f8fafc;
}

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

.eyebrow {
    margin-bottom: 10px;
    padding: 6px 12px;
    background: #fff7ed;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-link {
    flex: 0 0 auto;
    color: var(--amber);
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    border-color: #fed7aa;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.34), transparent 36%), linear-gradient(135deg, #111827, #3f2a09);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease, opacity 0.22s ease;
}

.movie-card:hover .poster-frame img,
.category-tile:hover img,
.spotlight-card:hover img,
.rank-item:hover img {
    transform: scale(1.06);
}

.poster-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.poster-year {
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}

.rank-badge {
    top: 10px;
    left: 10px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

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

.movie-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    min-height: 48px;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.45;
}

.movie-card h3 a:hover {
    color: var(--amber);
}

.movie-card p {
    min-height: 44px;
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row span,
.detail-tags span,
.detail-meta span {
    padding: 5px 9px;
    background: #fff7ed;
    color: var(--amber-dark);
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 26px;
    padding: 22px;
    color: #ffffff;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #111827, #78350f);
}

.category-tile img,
.category-overview-card img,
.spotlight-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.category-tile::after,
.category-overview-card::after,
.spotlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%);
}

.category-tile span,
.category-tile strong,
.category-overview-card div,
.spotlight-card span,
.spotlight-card strong,
.spotlight-card em {
    position: relative;
    z-index: 2;
}

.category-tile span,
.spotlight-card span {
    font-size: 14px;
    color: #fbbf24;
    font-weight: 800;
}

.category-tile strong {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
}

.category-overview-card {
    min-height: 300px;
}

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

.category-overview-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
}

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

.movie-card.compact {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.movie-card.compact .poster-frame {
    aspect-ratio: auto;
    min-height: 178px;
}

.spotlight-panel {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 26px;
    border: 1px solid #ffedd5;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
    box-shadow: var(--shadow);
}

.spotlight-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 22px;
    padding: 18px;
    color: #ffffff;
    background: #111827;
}

.spotlight-card strong {
    margin-top: 6px;
    font-size: 18px;
}

.spotlight-card em {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
}

.page-main {
    background: #ffffff;
}

.page-hero,
.rank-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 15%, rgba(251, 191, 36, 0.36), transparent 30%), linear-gradient(135deg, #111827, #2a1605 70%);
    color: #ffffff;
}

.page-hero {
    padding: 150px 0 72px;
}

.page-hero h1,
.rank-hero h1,
.detail-hero h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
}

.page-hero p,
.rank-hero p,
.detail-hero p {
    max-width: 760px;
    color: #e5e7eb;
    font-size: 18px;
}

.category-hero {
    padding-bottom: 54px;
}

.page-filter {
    max-width: 520px;
    margin-top: 28px;
}

.filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-strip button {
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--amber-dark);
    cursor: pointer;
    font-weight: 800;
    padding: 8px 15px;
}

.filter-strip button.is-active {
    background: var(--amber);
    color: #ffffff;
}

.rank-hero,
.detail-hero {
    min-height: 520px;
}

.rank-hero-content,
.detail-hero-content {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 70px;
}

.rank-hero-content p,
.detail-hero-content p {
    margin-bottom: 28px;
}

.detail-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: #fef3c7;
    font-size: 14px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
}

.player-panel,
.side-card {
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    background: radial-gradient(circle at center, rgba(217, 119, 6, 0.3), rgba(0, 0, 0, 0.66));
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

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

.play-circle {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-size: 28px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.detail-content {
    padding: 28px;
}

.detail-content h2 {
    margin: 28px 0 12px;
    font-size: 25px;
}

.detail-content p {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

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

.side-card {
    position: sticky;
    top: 100px;
    padding: 18px;
}

.side-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827, #78350f);
}

.side-card h2 {
    margin: 18px 0 10px;
    font-size: 24px;
}

.side-card p {
    color: #64748b;
    line-height: 1.7;
}

.side-card a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--amber);
    font-weight: 800;
}

.search-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(120px, 170px));
    gap: 12px;
    margin-top: 30px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.search-tools input,
.search-tools select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    outline: 0;
    padding: 12px 14px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 48px 64px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff7ed;
    color: var(--amber-dark);
    font-weight: 900;
}

.rank-item img {
    width: 64px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
    background: #111827;
}

.rank-info {
    display: grid;
    gap: 4px;
}

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

.rank-info em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.site-footer {
    padding: 64px 0 24px;
    background: linear-gradient(180deg, #111827, #020617);
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 22px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 18px;
}

.site-footer p {
    line-height: 1.75;
}

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

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--amber);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .split-layout,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-panel,
    .side-card {
        position: static;
    }
}

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

    .menu-button {
        display: block;
        margin-left: auto;
    }

    .mobile-panel {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-header.is-open .mobile-panel {
        max-height: 620px;
    }

    .mobile-panel-inner {
        padding-bottom: 22px;
    }

    .mobile-nav {
        display: grid;
        gap: 9px;
        margin-top: 12px;
    }

    .mobile-link {
        padding: 12px 14px;
        border-radius: 16px;
        background: #ffffff;
        color: #374151;
        font-weight: 800;
    }

    .mobile-link.is-active {
        color: var(--amber);
    }

    .hero-slider {
        height: 620px;
    }

    .hero-content {
        padding-bottom: 85px;
    }

    .hero-arrow {
        display: none;
    }

    .search-band-inner,
    .detail-title-row,
    .search-tools {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

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

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

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

    .movie-card.compact .poster-frame {
        aspect-ratio: 2 / 3;
    }

    .category-grid,
    .category-overview-grid,
    .rank-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: block;
    }
}

@media (max-width: 560px) {
    .site-container {
        width: min(100% - 22px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-name {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-slider {
        height: 580px;
        min-height: 520px;
    }

    .hero-tags span {
        padding: 6px 10px;
        font-size: 12px;
    }

    .content-section {
        padding: 54px 0;
    }

    .movie-grid {
        gap: 12px;
    }

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

    .movie-card h3 {
        min-height: auto;
        font-size: 14px;
    }

    .movie-card p {
        display: none;
    }

    .tag-row {
        display: none;
    }

    .page-hero {
        padding-top: 120px;
    }

    .detail-content {
        padding: 20px;
    }
}
