:root {
    --blue: #1e3a8a;
    --blue-soft: #dbeafe;
    --cyan: #0891b2;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
    --shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: var(--slate-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0));
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
    color: var(--slate-800);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition: background 0.25s ease;
}

.site-header.scrolled .brand-mark,
.site-header.menu-open .brand-mark {
    background: var(--blue);
}

.brand-text strong {
    display: block;
    font-size: 22px;
    line-height: 1.05;
}

.brand-text small {
    display: block;
    color: currentColor;
    opacity: 0.72;
    font-size: 12px;
    margin-top: 3px;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: currentColor;
    opacity: 0.86;
    transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    background: rgba(245, 158, 11, 0.18);
    color: var(--amber);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    min-width: 300px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.site-header.scrolled .header-search,
.site-header.menu-open .header-search {
    background: var(--slate-100);
    box-shadow: inset 0 0 0 1px var(--slate-200);
}

.header-search input,
.mobile-search input,
.large-search input,
.search-page-form input,
.search-page-form select {
    border: 0;
    outline: none;
}

.header-search input {
    width: 100%;
    padding: 11px 16px;
    color: currentColor;
    background: transparent;
}

.header-search input::placeholder {
    color: currentColor;
    opacity: 0.66;
}

.header-search button,
.mobile-search button,
.large-search button,
.search-page-form button {
    border: 0;
    color: var(--white);
    background: var(--amber);
    cursor: pointer;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button {
    padding: 11px 18px;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.search-page-form button:hover {
    background: var(--amber-dark);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: currentColor;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

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

.mobile-search {
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: var(--slate-100);
    margin-bottom: 12px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 14px;
    background: transparent;
}

.mobile-search button {
    padding: 12px 18px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 800;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--blue);
    background: var(--blue-soft);
}

.hero {
    position: relative;
    height: 620px;
    min-height: 540px;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 30%, rgba(8, 145, 178, 0.22), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.62) 46%, rgba(15, 23, 42, 0.18)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.28) 42%, rgba(15, 23, 42, 0.35));
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    right: 32px;
    bottom: 86px;
    max-width: 760px;
    color: var(--white);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--amber);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 20px currentColor;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.06;
    font-weight: 950;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--slate-200);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

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

.hero-tag {
    padding: 8px 13px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(14px);
}

.tag {
    padding: 5px 9px;
    color: var(--blue);
    background: var(--blue-soft);
}

.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;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: var(--white);
    background: var(--amber);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.28);
}

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

.primary-button:hover {
    background: var(--amber-dark);
}

.ghost-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

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

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 32px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    width: 34px;
    background: var(--white);
}

.section,
.search-band {
    padding: 72px 0;
}

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

.soft-section {
    background: linear-gradient(135deg, var(--slate-50), #eef8ff);
}

.search-band {
    padding: 32px 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

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

.search-band h2,
.search-band p {
    margin: 0;
}

.search-band p {
    color: rgba(255, 255, 255, 0.8);
}

.large-search,
.search-page-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.large-search input,
.search-page-form input,
.search-page-form select {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--slate-800);
    background: var(--white);
}

.large-search button,
.search-page-form button {
    border-radius: 12px;
    padding: 13px 22px;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.section-heading a {
    color: var(--blue);
    font-weight: 900;
}

.section-heading.inverse h2,
.section-heading.inverse a {
    color: var(--white);
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-900), var(--blue));
}

.poster-link img,
.featured-poster img,
.detail-poster img,
.rank-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.02) 54%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.play-dot {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--amber);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    transform: scale(0.9);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-dot {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 38px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    font-weight: 950;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.25;
}

.card-body h3 a:hover {
    color: var(--blue);
}

.card-body p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--slate-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

.featured-card {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 36px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.featured-poster {
    min-height: 460px;
    background: var(--slate-900);
}

.featured-content {
    padding: 42px 42px 42px 0;
    align-self: center;
}

.featured-content h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.featured-content p {
    color: var(--slate-600);
    font-size: 17px;
}

.featured-content .primary-button {
    margin-top: 28px;
}

.category-strip {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.22), transparent 28%),
        linear-gradient(135deg, var(--slate-900), var(--blue) 52%, var(--cyan));
}

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

.category-chips a,
.category-panel,
.category-overview-card {
    border-radius: 20px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-chips a {
    padding: 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(14px);
    font-size: 20px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.category-chips a:hover,
.category-panel:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
}

.two-columns {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 38px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 48px 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.rank-number {
    color: var(--amber);
    font-weight: 950;
    font-size: 20px;
    text-align: center;
}

.rank-row img {
    height: 92px;
    border-radius: 12px;
}

.rank-info strong {
    display: block;
    color: var(--slate-900);
    font-size: 18px;
}

.rank-info em {
    display: block;
    margin-top: 4px;
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
}

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

.category-panel {
    display: block;
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.category-panel strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 22px;
}

.category-panel span {
    color: var(--slate-600);
}

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

.page-hero {
    position: relative;
    padding: 86px 0;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 24%, rgba(245, 158, 11, 0.24), transparent 24%),
        linear-gradient(135deg, var(--blue), var(--cyan));
}

.page-hero h1 {
    max-width: 840px;
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.category-tabs a {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.category-tabs a.active,
.category-tabs a:hover {
    color: var(--white);
    background: var(--blue);
}

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

.category-overview-card {
    min-height: 190px;
    padding: 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: var(--shadow-soft);
}

.category-overview-card:nth-child(2n) {
    background: linear-gradient(135deg, var(--slate-900), var(--blue));
}

.category-overview-card span {
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 950;
}

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

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.pagination a,
.pagination span {
    min-width: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 900;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.pagination span,
.pagination a:hover {
    color: var(--white);
    background: var(--blue);
}

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

.search-page-form {
    margin-top: 28px;
    max-width: 940px;
    background: rgba(255, 255, 255, 0.18);
}

.detail-main {
    background: var(--slate-50);
}

.detail-hero {
    position: relative;
    min-height: 640px;
    padding: 132px 0 70px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.05);
    transform: scale(1.08);
    opacity: 0.38;
}

.detail-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(8, 145, 178, 0.24), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.68));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 3 / 4;
    background: var(--slate-900);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--slate-200);
    font-weight: 700;
}

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

.detail-info h1 {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.06;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--slate-200);
    font-size: 20px;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
}

.player-section {
    padding-top: 58px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.32));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--amber);
    font-size: 30px;
    box-shadow: 0 20px 55px rgba(245, 158, 11, 0.34);
}

.player-overlay strong {
    max-width: min(720px, 90%);
    font-size: clamp(20px, 4vw, 34px);
    text-align: center;
}

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

.detail-article,
.detail-side {
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.detail-article {
    padding: 34px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    color: var(--slate-900);
    font-size: 28px;
}

.detail-article p {
    margin: 0 0 28px;
    color: var(--slate-700);
    font-size: 17px;
}

.detail-article p:last-child {
    margin-bottom: 0;
}

.detail-side {
    padding: 28px;
    align-self: start;
}

.detail-side dl {
    margin: 0;
}

.detail-side dt {
    margin-top: 16px;
    color: var(--slate-500);
    font-weight: 900;
}

.detail-side dd {
    margin: 4px 0 0;
    color: var(--slate-900);
    font-weight: 800;
}

.site-footer {
    padding: 46px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--slate-900);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 22px;
}

.footer-inner p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 14px;
    font-weight: 800;
}

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

.copyright {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
}

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

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

    .site-header.menu-open .mobile-panel {
        display: block;
    }

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

    .two-columns,
    .detail-layout,
    .search-band-inner {
        grid-template-columns: 1fr;
    }

    .featured-card,
    .detail-hero-inner {
        grid-template-columns: 1fr;
    }

    .featured-poster {
        min-height: 360px;
    }

    .featured-content {
        padding: 0 30px 34px;
    }

    .detail-poster {
        width: min(310px, 72vw);
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: 66px;
    }

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

    .hero {
        height: 600px;
        min-height: 600px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
        bottom: 78px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-actions,
    .large-search,
    .search-page-form {
        flex-direction: column;
    }

    .section,
    .search-band {
        padding: 48px 0;
    }

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

    .movie-grid,
    .ranking-grid,
    .category-chips,
    .category-panel-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .card-body {
        padding: 14px;
    }

    .card-body h3 {
        font-size: 16px;
    }

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

    .page-hero {
        padding: 62px 0;
    }

    .detail-hero {
        min-height: 0;
        padding: 96px 0 50px;
    }

    .detail-info h1 {
        font-size: 34px;
    }

    .detail-one-line {
        font-size: 17px;
    }

    .player-shell {
        border-radius: 18px;
    }

    .detail-article,
    .detail-side {
        padding: 22px;
    }

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

    .footer-links {
        justify-content: start;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .ranking-grid,
    .category-chips,
    .category-panel-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-tags .hero-tag:nth-child(n+5),
    .card-tags .tag:nth-child(n+3) {
        display: none;
    }

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

    .rank-row img {
        height: 78px;
    }
}
