* {
    box-sizing: border-box;
}

:root {
    --bg: #09090b;
    --panel: rgba(24, 24, 27, 0.78);
    --panel-strong: rgba(39, 39, 42, 0.92);
    --line: rgba(63, 63, 70, 0.84);
    --line-soft: rgba(63, 63, 70, 0.42);
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --weak: #71717a;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --cyan-soft: rgba(34, 211, 238, 0.16);
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.14), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.13), transparent 32%),
        linear-gradient(180deg, #09090b 0%, #0c0c10 42%, #09090b 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(63, 63, 70, 0.64);
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 42px rgba(34, 211, 238, 0.24);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #ffffff;
}

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

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 4px;
    color: var(--weak);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.18em;
}

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

.nav-link,
.mobile-link {
    color: #d4d4d8;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #67e8f9;
    background: rgba(39, 39, 42, 0.68);
}

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

.header-search input,
.mobile-search input,
.filter-controls input,
.filter-controls select,
.hero-search-panel input {
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(24, 24, 27, 0.88);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 12px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus,
.hero-search-panel input:focus {
    border-color: rgba(34, 211, 238, 0.78);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.header-search button,
.mobile-search button,
.hero-search-panel button,
.btn {
    border: 0;
    cursor: pointer;
    color: #061014;
    border-radius: 14px;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-search button {
    padding: 10px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search-panel button:hover,
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 42px rgba(34, 211, 238, 0.22);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(24, 24, 27, 0.86);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #d4d4d8;
}

.mobile-menu {
    display: none;
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(24, 24, 27, 0.96);
}

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

.mobile-link {
    padding: 12px 14px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
}

.mobile-search button {
    padding: 11px 14px;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    width: min(1320px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 28px;
    border: 1px solid var(--line-soft);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.9), rgba(12, 18, 25, 0.86));
    box-shadow: var(--shadow);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(34px);
    opacity: 0.64;
    pointer-events: none;
}

.hero-glow-one {
    width: 240px;
    height: 240px;
    left: 8%;
    top: 8%;
    background: rgba(34, 211, 238, 0.18);
}

.hero-glow-two {
    width: 260px;
    height: 260px;
    right: 8%;
    bottom: 10%;
    background: rgba(59, 130, 246, 0.18);
}

.hero-stage {
    position: relative;
    z-index: 1;
}

.hero-slide {
    display: none;
    min-height: 560px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: center;
    gap: 48px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeUp 0.56s ease both;
}

.hero-copy h1,
.page-hero h1,
.detail-info-card h1 {
    margin: 0;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
}

.hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #d4d4d8;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 11px;
    color: #67e8f9;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-meta,
.hero-actions,
.hero-tags,
.hero-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-meta {
    margin-top: 24px;
}

.hero-meta span,
.hero-tags span {
    color: #d4d4d8;
    padding: 8px 12px;
    border: 1px solid rgba(113, 113, 122, 0.48);
    border-radius: 999px;
    background: rgba(39, 39, 42, 0.58);
}

.hero-actions {
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}

.btn-secondary {
    color: #e4e4e7;
    border: 1px solid var(--line);
    background: rgba(39, 39, 42, 0.82);
}

.hero-tags {
    margin-top: 22px;
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.22);
    border-radius: 30px;
    background: rgba(39, 39, 42, 0.72);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

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

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

.hero-poster:hover img {
    transform: scale(1.04);
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 1px solid rgba(113, 113, 122, 0.5);
    background: rgba(39, 39, 42, 0.84);
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 999px;
}

.hero-dot.is-active {
    width: 34px;
    border-color: rgba(34, 211, 238, 0.92);
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.hero-search-panel {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(9, 9, 11, 0.58);
}

.hero-search-panel form {
    display: flex;
    gap: 10px;
}

.hero-search-panel input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
}

.hero-search-panel button {
    padding: 0 18px;
}

.hero-links a {
    color: #d4d4d8;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(39, 39, 42, 0.72);
}

.hero-links a:hover {
    color: #67e8f9;
}

.section {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 0;
}

.soft-section {
    margin-top: 32px;
    padding: 54px 28px 28px;
    border: 1px solid var(--line-soft);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.64), rgba(34, 211, 238, 0.05));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.section-heading a {
    color: #67e8f9;
    font-weight: 700;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(24, 24, 27, 0.72);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.52);
    box-shadow: 0 24px 50px rgba(34, 211, 238, 0.1);
}

.movie-card[hidden],
.rank-item[hidden] {
    display: none;
}

.movie-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #18181b;
}

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

.movie-card:hover .movie-card__poster img {
    transform: scale(1.06);
}

.movie-card__poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.74));
    opacity: 0.86;
}

.movie-card__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ecfeff;
    background: rgba(8, 47, 73, 0.82);
    font-size: 12px;
    font-weight: 800;
}

.movie-card__play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #061014;
    background: linear-gradient(135deg, #67e8f9, #60a5fa);
    box-shadow: 0 12px 28px rgba(34, 211, 238, 0.22);
}

.movie-card__body {
    padding: 16px;
}

.movie-card__title {
    display: -webkit-box;
    min-height: 48px;
    color: #ffffff;
    overflow: hidden;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card__title:hover {
    color: #67e8f9;
}

.movie-card__meta,
.movie-card__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.movie-card__meta {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 1;
}

.movie-card__desc {
    min-height: 42px;
    margin: 10px 0 0;
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
}

.movie-card__tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.movie-card__tags {
    margin-top: 14px;
}

.movie-card__tags span,
.detail-tags span {
    padding: 5px 8px;
    border: 1px solid rgba(113, 113, 122, 0.42);
    border-radius: 999px;
    color: #d4d4d8;
    background: rgba(39, 39, 42, 0.58);
    font-size: 12px;
}

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

.category-card,
.category-overview-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 24px;
    background: rgba(24, 24, 27, 0.74);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.52);
}

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    aspect-ratio: 16 / 7;
    background: #18181b;
}

.category-thumbs img,
.category-overview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card div:last-child {
    padding: 16px;
}

.category-card h3,
.category-overview-card h2 {
    margin: 0;
    color: #ffffff;
}

.category-card p,
.category-overview-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: auto 86px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: rgba(24, 24, 27, 0.72);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.5);
}

.rank-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #061014;
    background: linear-gradient(135deg, #67e8f9, #60a5fa);
    font-weight: 900;
}

.rank-poster {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #18181b;
}

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

.rank-title {
    display: block;
    color: #ffffff;
    font-weight: 800;
}

.rank-title:hover {
    color: #67e8f9;
}

.rank-content p,
.rank-content span {
    display: -webkit-box;
    margin: 6px 0 0;
    color: var(--muted);
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
}

.rank-content p {
    -webkit-line-clamp: 1;
}

.rank-content span {
    -webkit-line-clamp: 2;
}

.page-hero {
    width: min(1320px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 52px;
    border: 1px solid var(--line-soft);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(24, 24, 27, 0.94), rgba(15, 23, 42, 0.72));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
}

.page-hero p {
    max-width: 780px;
    margin: 18px 0 0;
    color: #d4d4d8;
    font-size: 18px;
    line-height: 1.8;
}

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

.breadcrumb a:hover {
    color: #67e8f9;
}

.breadcrumb strong {
    color: #e4e4e7;
    font-weight: 700;
}

.filter-panel {
    width: min(1320px, calc(100% - 32px));
    margin: 24px auto 0;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
    gap: 20px;
    align-items: end;
    border: 1px solid var(--line-soft);
    border-radius: 24px;
    background: rgba(24, 24, 27, 0.74);
}

.filter-panel h2 {
    margin: 0;
    color: #ffffff;
}

.filter-panel p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

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

.filter-controls label {
    display: grid;
    gap: 7px;
    color: #d4d4d8;
    font-size: 13px;
}

.filter-controls input,
.filter-controls select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
}

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

.category-overview-media {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    aspect-ratio: 16 / 6;
    background: #18181b;
}

.category-overview-body {
    padding: 20px;
}

.category-overview-body span {
    color: #67e8f9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.detail-page {
    width: min(1320px, calc(100% - 32px));
    margin: 28px auto 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
}

.player-card,
.detail-info-card,
.detail-content article {
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    background: rgba(24, 24, 27, 0.74);
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 28px;
    color: #ffffff;
    border: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82)),
        rgba(0, 0, 0, 0.24);
    cursor: pointer;
    text-align: center;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.big-play {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #061014;
    background: linear-gradient(135deg, #67e8f9, #60a5fa);
    box-shadow: 0 20px 70px rgba(34, 211, 238, 0.28);
    font-size: 34px;
}

.player-overlay strong {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.18;
}

.player-overlay em {
    color: #d4d4d8;
    font-style: normal;
}

.detail-info-card {
    overflow: hidden;
}

.detail-info-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #18181b;
}

.detail-info-card > div {
    padding: 22px;
}

.detail-info-card h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.detail-info-card p {
    color: #d4d4d8;
    line-height: 1.75;
}

.meta-table {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.meta-table div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(63, 63, 70, 0.46);
}

.meta-table dt {
    color: var(--weak);
}

.meta-table dd {
    margin: 0;
    color: #e4e4e7;
}

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

.detail-content article {
    padding: 28px;
}

.detail-content h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 28px;
}

.detail-content p {
    margin: 0;
    color: #d4d4d8;
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--line-soft);
    background: rgba(9, 9, 11, 0.72);
}

.footer-inner {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.6fr) minmax(180px, 0.6fr);
    gap: 32px;
}

.footer-brand p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.8;
}

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

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 9px;
}

.site-footer a {
    color: var(--muted);
}

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

.footer-bottom {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    color: var(--weak);
    border-top: 1px solid rgba(63, 63, 70, 0.42);
    font-size: 14px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .header-search {
        display: none;
    }

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

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

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

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

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

    .hero {
        padding: 20px;
    }

    .hero-slide,
    .detail-layout,
    .filter-panel,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        min-height: auto;
        gap: 28px;
        padding-bottom: 64px;
    }

    .hero-poster {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

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

    .hero-search-panel form {
        flex-direction: column;
    }

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

@media (max-width: 620px) {
    .header-inner {
        width: min(100% - 24px, 1320px);
        min-height: 68px;
        gap: 12px;
    }

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

    .brand-text em {
        font-size: 10px;
    }

    .hero,
    .section,
    .page-hero,
    .filter-panel,
    .detail-page,
    .footer-inner,
    .footer-bottom,
    .mobile-menu {
        width: min(100% - 24px, 1320px);
    }

    .hero,
    .page-hero,
    .filter-panel,
    .soft-section {
        border-radius: 22px;
        padding: 20px;
    }

    .hero-copy h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }

    .hero-meta,
    .hero-actions,
    .hero-links {
        align-items: stretch;
    }

    .hero-actions .btn,
    .hero-links a {
        width: 100%;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid,
    .wide-rank-list,
    .rank-list,
    .filter-controls {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: auto 76px minmax(0, 1fr);
    }

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