* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.65;
}

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

img {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1800px;
    height: 80px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
    transform: scale(1.08);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    color: transparent;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
}

.brand-text small,
.footer-brand small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

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

.nav-link,
.mobile-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.mobile-nav__link:hover,
.nav-link.is-active,
.mobile-nav__link.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

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

.header-search {
    width: min(360px, 28vw);
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.header-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 12px;
    color: #1f2937;
}

.header-search button,
.mobile-search button,
.quick-search button,
.text-button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover,
.text-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: #334155;
    background: #f1f5f9;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #e2e8f0;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav__link {
    width: 100%;
    margin-top: 8px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 18px;
    background: #f1f5f9;
}

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

.hero-grid {
    height: 85vh;
    min-height: 620px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.hero-grid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f8fafc);
}

.hero-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    isolation: isolate;
}

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

.hero-card:hover img {
    transform: scale(1.1);
}

.hero-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.hero-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(24px, 4vw, 48px);
    color: #ffffff;
}

.hero-card__content em,
.highlight-content em,
.section-heading span,
.page-hero span,
.panel-heading span {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    color: #facc15;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-card__content h1,
.hero-card__content h2 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    display: block;
    margin: 0 0 12px;
    color: #bae6fd;
    font-size: clamp(18px, 2vw, 26px);
}

.hero-card__content p {
    margin: 0 0 18px;
    color: #e5e7eb;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta b {
    padding: 6px 12px;
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-card:hover .hero-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255, 255, 255, 0.32);
}

.quick-search,
.content-section,
.page-shell,
.detail-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.quick-search {
    margin-top: -34px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 560px);
    gap: 24px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

.quick-search span {
    display: inline-flex;
    margin-bottom: 6px;
    color: #2563eb;
    font-weight: 900;
}

.quick-search h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
}

.quick-search p {
    margin: 12px 0 0;
    color: #64748b;
}

.quick-search form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.quick-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 14px 18px;
}

.quick-search button {
    padding: 0 26px;
}

.content-section {
    padding-top: 76px;
    padding-bottom: 20px;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2,
.page-hero h1,
.panel-heading h2 {
    margin: 8px 0 0;
    color: #1f2937;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p {
    max-width: 820px;
    margin: 12px 0 0;
    color: #64748b;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.movie-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.movie-card--compact .movie-card__poster {
    aspect-ratio: 16 / 10;
}

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

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

.movie-card__poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card__poster::after {
    opacity: 1;
}

.movie-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: #f97316;
    font-size: 12px;
    font-weight: 900;
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%) scale(0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    opacity: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.movie-card__body {
    padding: 18px;
}

.movie-card__body h3 {
    min-height: 3.1em;
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card__body h3 a:hover {
    color: #2563eb;
}

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

.movie-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.movie-card__meta span,
.detail-meta span,
.ranking-card__content span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-size: 12px;
    font-weight: 800;
}

.highlight-section {
    margin-top: 72px;
    padding: 72px 32px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.highlight-card {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 44px;
    align-items: center;
    color: #ffffff;
}

.highlight-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

.highlight-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.highlight-card:hover .highlight-media img {
    transform: scale(1.06);
}

.highlight-media b {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(12px);
}

.highlight-content strong {
    display: block;
    margin: 16px 0;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.05;
}

.highlight-content p {
    max-width: 720px;
    margin: 0 0 28px;
    color: #e0f2fe;
    font-size: 18px;
}

.highlight-content span:last-child,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    color: #2563eb;
    background: #ffffff;
    border-radius: 999px;
    font-weight: 900;
}

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.category-tile img {
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease, opacity 0.25s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: 0.55;
}

.category-tile span {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile strong {
    font-size: 22px;
}

.category-tile em {
    margin-top: 6px;
    color: #dbeafe;
    font-style: normal;
    font-size: 14px;
}

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

.ranking-panel,
.side-panel,
.detail-article,
.player-card,
.filter-panel,
.category-overview-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.ranking-panel {
    padding: 26px;
    position: sticky;
    top: 104px;
}

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

.panel-heading h2 {
    font-size: 28px;
}

.panel-heading a {
    color: #2563eb;
    font-weight: 900;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 30px 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
    background: #f8fafc;
    transform: translateX(4px);
}

.rank-row span:first-child {
    color: #f97316;
    font-size: 20px;
    font-weight: 900;
}

.rank-row img {
    width: 58px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-row strong {
    color: #1f2937;
    line-height: 1.35;
}

.rank-row em {
    color: #2563eb;
    font-style: normal;
    font-weight: 900;
}

.page-shell {
    padding-top: 42px;
    padding-bottom: 76px;
}

.page-hero {
    margin-bottom: 32px;
    padding: clamp(34px, 5vw, 72px);
    border-radius: 34px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.24), transparent 28%), linear-gradient(135deg, #0f172a, #1d4ed8 55%, #06b6d4);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.page-hero h1,
.page-hero p {
    color: #ffffff;
}

.page-hero p {
    color: #e0f2fe;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: #2563eb;
    font-weight: 800;
}

.filter-panel {
    padding: 24px;
}

.filter-panel__controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px 220px;
    gap: 16px;
    margin-bottom: 26px;
}

.filter-panel__controls label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 900;
}

.filter-panel__controls input,
.filter-panel__controls select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    outline: 0;
    padding: 0 14px;
    color: #1f2937;
    background: #f8fafc;
}

.filter-panel__controls input:focus,
.filter-panel__controls select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.is-hidden {
    display: none !important;
}

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

.category-overview-card {
    overflow: hidden;
}

.category-overview-card__media {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    height: 220px;
    background: #0f172a;
}

.category-overview-card__media img {
    height: 100%;
    object-fit: cover;
}

.category-overview-card__body {
    padding: 26px;
}

.category-overview-card__body h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.category-overview-card__body p {
    margin: 0 0 20px;
    color: #64748b;
}

.text-button {
    color: #ffffff;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 64px 112px minmax(0, 1fr) 76px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.ranking-card__number {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-size: 22px;
    font-weight: 900;
}

.ranking-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    width: 112px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

.ranking-card__poster img {
    height: 100%;
    object-fit: cover;
}

.ranking-card__poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.34);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ranking-card__content h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.ranking-card__content p {
    margin: 0 0 12px;
    color: #64748b;
}

.ranking-card__content div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-card__score {
    color: #2563eb;
    font-size: 28px;
    text-align: right;
}

.page-detail {
    padding: 32px 0 76px;
}

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

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

.player-card {
    padding: 16px;
    background: #0f172a;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    z-index: 2;
}

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

.player-button {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    font-size: 34px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.player-overlay:hover .player-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
}

.detail-article {
    margin-top: 22px;
    padding: clamp(24px, 4vw, 42px);
}

.detail-article h1 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.detail-lead {
    margin: 0 0 18px;
    color: #2563eb;
    font-size: 18px;
    font-weight: 800;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.detail-article section {
    padding-top: 26px;
    margin-top: 26px;
    border-top: 1px solid #e2e8f0;
}

.detail-article h2 {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 24px;
}

.detail-article p {
    margin: 0;
    color: #475569;
    font-size: 17px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud span {
    padding: 8px 14px;
    border-radius: 999px;
    color: #374151;
    background: #f1f5f9;
    font-weight: 800;
}

.detail-side {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 104px;
}

.side-panel {
    padding: 22px;
}

.side-panel h2 {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 24px;
}

.side-panel--poster img {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.side-panel--poster h2 {
    margin-top: 18px;
}

.side-panel--poster p {
    color: #64748b;
}

.side-panel--poster a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    font-weight: 900;
}

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

.side-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.25s ease;
}

.side-card:hover {
    background: #f8fafc;
}

.side-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background: #0f172a;
}

.side-card__image img {
    height: 100%;
    object-fit: cover;
}

.side-card__image span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
}

.side-card__content strong,
.side-card__content em,
.side-card__content small {
    display: block;
}

.side-card__content strong {
    color: #1f2937;
    line-height: 1.35;
}

.side-card__content em {
    margin: 4px 0;
    color: #64748b;
    font-style: normal;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-card__content small {
    color: #2563eb;
    font-weight: 900;
}

.site-footer {
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.footer-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 64px 32px 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 42px;
}

.site-footer h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.site-footer p,
.site-footer li,
.footer-bottom {
    color: #bfdbfe;
}

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

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(191, 219, 254, 0.22);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

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

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

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

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

    .detail-side,
    .ranking-panel {
        position: static;
    }
}

@media (max-width: 980px) {
    .header-inner {
        height: 72px;
        padding: 0 20px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero-grid {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 520px;
    }

    .quick-search,
    .content-section,
    .page-shell,
    .detail-layout {
        padding-left: 20px;
        padding-right: 20px;
    }

    .quick-search,
    .highlight-card,
    .filter-panel__controls,
    .filter-panel__controls--wide,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-grid--four,
    .movie-grid--three,
    .movie-grid--six,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-card {
        grid-template-columns: 48px 88px minmax(0, 1fr);
    }

    .ranking-card__score {
        grid-column: 3;
        text-align: left;
        font-size: 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .brand-text strong {
        font-size: 18px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .hero-card {
        min-height: 480px;
        border-radius: 22px;
    }

    .hero-play {
        width: 60px;
        height: 60px;
    }

    .quick-search {
        margin-top: 0;
        border-radius: 0;
    }

    .quick-search form {
        flex-direction: column;
        border-radius: 22px;
    }

    .quick-search button {
        min-height: 46px;
    }

    .content-section {
        padding-top: 50px;
    }

    .movie-grid--four,
    .movie-grid--three,
    .movie-grid--six,
    .category-grid {
        gap: 14px;
    }

    .movie-card__body {
        padding: 14px;
    }

    .movie-card__body h3 {
        font-size: 15px;
    }

    .movie-card__body p {
        font-size: 13px;
    }

    .highlight-section {
        padding: 44px 20px;
    }

    .ranking-card {
        grid-template-columns: 42px 76px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-card__number {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 18px;
    }

    .ranking-card__poster {
        width: 76px;
    }

    .ranking-card__content h2 {
        font-size: 16px;
    }

    .ranking-card__content p {
        display: none;
    }

    .side-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .player-button {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }
}
