* {
    box-sizing: border-box;
}

:root {
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow-soft: 0 16px 45px rgba(127, 29, 29, 0.13);
    --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.12);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fff1f2 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--red-900), var(--red-700) 48%, var(--amber-800));
    box-shadow: 0 8px 28px rgba(127, 29, 29, 0.25);
}

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: var(--red-900);
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fde68a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 22px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
    transform: scale(1.08) rotate(-4deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 23px;
    letter-spacing: 0.04em;
}

.logo-text em {
    margin-top: 4px;
    color: #fde68a;
    font-style: normal;
    font-size: 12px;
}

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

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

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

.nav-link:hover {
    transform: translateY(-1px);
}

.header-search,
.mobile-search,
.wide-search,
.inline-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    width: 285px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.header-search input,
.mobile-search input,
.wide-search input,
.inline-filter input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
}

.header-search input,
.mobile-search input {
    color: var(--white);
    background: transparent;
    padding: 8px 10px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(254, 243, 199, 0.85);
}

.header-search button,
.mobile-search button,
.wide-search button,
.inline-filter button,
.primary-button,
.ghost-button {
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button {
    color: var(--red-900);
    background: #fde68a;
    padding: 8px 14px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.mobile-panel {
    padding: 0 16px 18px;
    border-top: 1px solid rgba(253, 230, 138, 0.22);
}

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

.mobile-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(253, 230, 138, 0.18);
}

.mobile-search {
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.hero-slider {
    position: relative;
    height: min(68vh, 560px);
    min-height: 430px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--red-900), var(--amber-900));
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(8, 8, 10, 0.9), rgba(127, 29, 29, 0.66) 45%, rgba(0, 0, 0, 0.24)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 54%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    padding-top: 24px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(253, 230, 138, 0.45);
    border-radius: 999px;
    color: #fde68a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(127, 29, 29, 0.35);
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    max-width: 820px;
    margin: 20px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    max-width: 690px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2.2vw, 24px);
    line-height: 1.65;
}

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

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(90deg, var(--red-600), var(--amber-600));
    box-shadow: 0 16px 38px rgba(220, 38, 38, 0.28);
}

.ghost-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.header-search button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.inline-filter button:hover {
    transform: translateY(-2px) scale(1.02);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

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

.quick-search-panel,
.section-block {
    margin-top: 44px;
}

.quick-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 26px;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.quick-search-panel h2,
.section-heading h2,
.rank-panel h2,
.side-card h2,
.detail-copy h2 {
    margin: 0;
    color: var(--gray-900);
}

.quick-search-panel p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.wide-search,
.inline-filter {
    padding: 8px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(185, 28, 28, 0.12);
    box-shadow: 0 10px 26px rgba(127, 29, 29, 0.08);
}

.wide-search input,
.inline-filter input {
    padding: 12px 14px;
    color: var(--gray-900);
    background: transparent;
}

.wide-search button,
.inline-filter button {
    white-space: nowrap;
    color: var(--white);
    padding: 12px 18px;
    background: linear-gradient(90deg, var(--red-700), var(--amber-600));
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(24px, 4vw, 34px);
}

.section-heading h2::before {
    content: "";
    width: 8px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--red-600), var(--amber-600));
}

.section-heading a {
    color: var(--red-700);
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 142px;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: auto -25% -45% auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
}

.category-tile span {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 900;
}

.category-tile em {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--gray-600);
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
}

.category-tile:hover,
.movie-card:hover,
.media-row:hover,
.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(127, 29, 29, 0.18);
}

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

.category-tile.large {
    min-height: 168px;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
    opacity: 0.72;
}

.movie-year {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.7);
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(220, 38, 38, 0.88);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 15px;
}

.movie-info strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-line {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.movie-meta em {
    color: var(--amber-800);
    background: var(--amber-100);
    border-radius: 999px;
    padding: 4px 8px;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.compact-card .movie-info strong {
    font-size: 15px;
}

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

.rank-panel,
.side-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.rank-panel h2,
.side-card h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

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

.rank-list a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 13px;
    background: linear-gradient(90deg, #fff7ed, #ffffff);
}

.rank-list span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-700), var(--amber-600));
    font-weight: 900;
}

.rank-list strong,
.rank-list em {
    grid-column: 2;
}

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

.rank-list em {
    color: var(--gray-500);
    font-size: 12px;
    font-style: normal;
}

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

.media-row {
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.media-row-cover {
    flex: 0 0 112px;
    height: 78px;
    overflow: hidden;
    border-radius: 12px;
    background: #fee2e2;
}

.media-row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-row-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

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

.media-row-text span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-row-text em {
    color: var(--amber-800);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.page-hero {
    color: var(--white);
    padding: 72px 0 62px;
    background:
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.24), transparent 26%),
        linear-gradient(100deg, var(--red-900), var(--red-700), var(--amber-800));
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.category-hero .inline-filter,
.search-hero .inline-filter {
    max-width: 760px;
    margin-top: 24px;
}

.empty-result {
    margin: 30px 0 0;
    color: var(--gray-600);
    text-align: center;
    font-weight: 800;
}

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

.ranking-main {
    display: grid;
    gap: 16px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 62px 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-700), var(--amber-600));
    font-weight: 900;
}

.ranking-card img {
    width: 112px;
    height: 78px;
    border-radius: 13px;
    object-fit: cover;
}

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

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

.ranking-copy em {
    display: block;
    margin: 4px 0;
    color: var(--amber-800);
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.ranking-copy p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.detail-shell {
    padding: 36px 0 56px;
    background: linear-gradient(180deg, #f3f4f6, #fff7ed);
}

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

.detail-main,
.detail-side {
    min-width: 0;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: #000000;
    cursor: pointer;
    overflow: hidden;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    filter: saturate(1.08);
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0, rgba(0, 0, 0, 0.15) 34%, rgba(0, 0, 0, 0.72) 100%);
}

.big-play {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    color: var(--white);
    font-size: 38px;
    line-height: 1;
    background: linear-gradient(135deg, var(--red-600), var(--amber-500));
    box-shadow: 0 18px 45px rgba(220, 38, 38, 0.38);
}

.player-card.is-playing .player-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.detail-copy {
    margin-top: 22px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.detail-meta span,
.detail-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--amber-800);
    background: var(--amber-100);
    font-size: 13px;
    font-weight: 800;
}

.lead-text {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 5px solid var(--red-600);
    border-radius: 0 14px 14px 0;
    color: var(--gray-800);
    background: #fff7ed;
    font-size: 18px;
    line-height: 1.75;
}

.detail-copy section {
    margin-top: 24px;
}

.detail-copy h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.detail-copy p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
    white-space: pre-line;
}

.tag-list span {
    color: var(--red-800);
    background: #fee2e2;
}

.detail-side {
    display: grid;
    gap: 18px;
}

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

.side-list .media-row {
    box-shadow: none;
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-flow {
    flex-flow: row wrap;
    align-items: flex-start;
}

.footer-links a {
    color: var(--gray-700);
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--red-700);
}

.site-footer {
    margin-top: 58px;
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(180deg, var(--gray-900), #000000);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1fr;
    gap: 34px;
    padding: 46px 0;
}

.footer-logo {
    display: inline-block;
    color: var(--white);
    font-size: 24px;
}

.site-footer p {
    margin: 14px 0 0;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 18px;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.74);
}

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

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

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

    .menu-toggle {
        display: block;
    }

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

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

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

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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

    .logo-mark {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .logo-text strong {
        font-size: 19px;
    }

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

    .hero-slider {
        min-height: 500px;
        height: 78vh;
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 82px;
    }

    .hero-actions,
    .wide-search,
    .inline-filter {
        width: 100%;
    }

    .primary-button,
    .ghost-button {
        flex: 1 1 130px;
    }

    .quick-search-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .wide-search,
    .inline-filter {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .wide-search button,
    .inline-filter button {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .large-category-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .small-grid,
    .all-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .media-row-grid {
        grid-template-columns: 1fr;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info strong {
        font-size: 14px;
    }

    .movie-line {
        font-size: 12px;
    }

    .ranking-card {
        grid-template-columns: 44px 86px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .ranking-number {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .ranking-card img {
        width: 86px;
        height: 64px;
    }

    .ranking-copy strong {
        font-size: 15px;
    }

    .ranking-copy p {
        display: none;
    }

    .detail-copy {
        padding: 20px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 34px 0;
    }
}

@media (max-width: 460px) {
    .featured-grid,
    .small-grid,
    .all-grid {
        grid-template-columns: 1fr;
    }

    .media-row-cover {
        flex-basis: 98px;
        height: 72px;
    }

    .page-hero {
        padding: 54px 0 46px;
    }

    .big-play {
        width: 66px;
        height: 66px;
        font-size: 30px;
    }
}
