:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --text: #f8fafc;
    --muted: #94a3b8;
    --line: rgba(148, 163, 184, 0.18);
    --cyan: #06b6d4;
    --cyan-soft: rgba(6, 182, 212, 0.16);
    --blue: #60a5fa;
    --green: #34d399;
    --orange: #fb923c;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(6, 182, 212, 0.16), transparent 32rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

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

.brand__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #cffafe;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border-radius: 16px;
    box-shadow: 0 0 32px rgba(6, 182, 212, 0.36);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__text strong {
    font-size: 21px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand__text em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 22px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
}

.desktop-nav a,
.mobile-nav a,
.site-footer a {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
    color: #22d3ee;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-toggle,
.menu-toggle {
    border: 1px solid rgba(148, 163, 184, 0.26);
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.78);
    border-radius: 999px;
    padding: 10px 16px;
}

.search-toggle:hover,
.menu-toggle:hover {
    color: #ffffff;
    border-color: rgba(6, 182, 212, 0.7);
    background: rgba(6, 182, 212, 0.16);
}

.menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    gap: 8px;
}

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

.mobile-nav a {
    padding: 12px 14px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.hero {
    position: relative;
    height: min(82vh, 780px);
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
}

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.74) 36%, rgba(2, 6, 23, 0.08) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.55) 42%, transparent 100%);
}

.hero-slide__content {
    position: absolute;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    max-width: 1180px;
}

.hero-slide__content > * {
    max-width: 720px;
}

.hero-slide__label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #ecfeff;
    background: rgba(6, 182, 212, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.hero-slide h1 {
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-shadow: 0 14px 50px rgba(0, 0, 0, 0.55);
}

.hero-slide p {
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.hero-slide__tags {
    margin-top: 20px;
}

.hero-slide__tags span,
.detail-tags span,
.tag-list span,
.pill {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    color: #ffffff;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px) scale(1.02);
}

.button--primary {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.28);
}

.button--primary:hover {
    box-shadow: 0 18px 46px rgba(6, 182, 212, 0.42);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.button--small {
    padding: 10px 16px;
    font-size: 13px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 36px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.hero-arrow:hover {
    background: rgba(6, 182, 212, 0.48);
}

.hero-arrow--prev {
    left: max(20px, calc((100vw - 1180px) / 2));
}

.hero-arrow--next {
    right: max(20px, calc((100vw - 1180px) / 2));
}

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

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

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

.page-space {
    display: grid;
    gap: 76px;
    padding-top: 70px;
    padding-bottom: 86px;
}

.page-top {
    padding-top: 46px;
}

.quick-search-card,
.page-hero,
.hot-board,
.category-panel,
.player-card,
.detail-article,
.detail-side,
.search-panel__dialog {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.62));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-search-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 24px;
    border-radius: var(--radius);
    padding: 28px;
}

.quick-search-card h2,
.page-hero h1,
.section-heading h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.page-search,
.search-panel input {
    width: 100%;
    color: #f8fafc;
    background: rgba(2, 6, 23, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 18px;
    outline: none;
    padding: 16px 18px;
}

.page-search:focus,
.search-panel input:focus {
    border-color: rgba(6, 182, 212, 0.82);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

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

.section-heading span {
    color: #22d3ee;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-link {
    color: #22d3ee;
    font-size: 14px;
    font-weight: 800;
}

.section-link:hover {
    color: #67e8f9;
}

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

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.52);
    box-shadow: 0 20px 52px rgba(6, 182, 212, 0.16);
}

.movie-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4.18;
    background:
        radial-gradient(circle at 30% 20%, rgba(6, 182, 212, 0.22), transparent 36%),
        #0f172a;
}

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

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

.movie-card__badge,
.movie-card__duration {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.movie-card__badge {
    left: 10px;
    top: 10px;
    background: rgba(6, 182, 212, 0.84);
}

.movie-card__duration {
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.62);
}

.movie-card__body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-card__meta,
.movie-card__footer,
.ranking-row__meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.movie-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #22d3ee;
}

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

.movie-card__footer {
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.movie-card__footer a {
    color: #22d3ee;
    font-weight: 800;
}

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

.movie-card--horizontal .movie-card__poster {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card--compact .movie-card__body {
    padding: 13px;
}

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

.movie-card--compact p,
.movie-card--compact .tag-list {
    display: none;
}

.category-grid,
.category-panel-grid {
    display: grid;
    gap: 22px;
}

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

.category-tile {
    display: grid;
    gap: 10px;
    min-height: 164px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.18), transparent 60%),
        rgba(15, 23, 42, 0.76);
    border: 1px solid var(--line);
    border-radius: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.56);
}

.category-tile span {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.category-tile strong {
    color: #22d3ee;
    font-size: 26px;
}

.category-tile em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(30px, 5vw, 56px);
}

.page-hero::after {
    position: absolute;
    right: -120px;
    top: -160px;
    width: 360px;
    height: 360px;
    content: "";
    background: rgba(6, 182, 212, 0.13);
    border-radius: 999px;
    filter: blur(20px);
}

.page-hero p {
    position: relative;
    max-width: 720px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.page-hero .page-search {
    position: relative;
    max-width: 520px;
    margin-top: 24px;
}

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

.category-panel {
    overflow: hidden;
    border-radius: 26px;
}

.category-panel__preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    height: 220px;
    background: rgba(2, 6, 23, 0.6);
}

.category-panel__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-panel__body {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.category-panel__body span {
    color: #22d3ee;
    font-size: 13px;
    font-weight: 800;
}

.category-panel__body h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
}

.category-panel__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill.is-current,
.pill:hover {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.32);
    border-color: rgba(6, 182, 212, 0.68);
}

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

.breadcrumb a:hover {
    color: #22d3ee;
}

.breadcrumb strong {
    color: #ffffff;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 64px 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.48);
    background: rgba(15, 23, 42, 0.92);
}

.ranking-row__rank {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffffff;
    background: rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    font-size: 19px;
    font-weight: 900;
}

.ranking-row.top .ranking-row__rank {
    background: linear-gradient(135deg, #f97316, #06b6d4);
}

.ranking-row__thumb {
    display: block;
    overflow: hidden;
    width: 84px;
    height: 112px;
    border-radius: 16px;
    background: #0f172a;
}

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

.ranking-row__content h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 19px;
}

.ranking-row__content p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-row__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.22);
    border: 1px solid rgba(6, 182, 212, 0.34);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
}

.ranking-row__action:hover {
    background: rgba(6, 182, 212, 0.42);
}

.detail-page {
    padding-bottom: 86px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: #020617;
}

.detail-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(14px) scale(1.08) brightness(0.68);
}

.detail-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.74) 52%, rgba(2, 6, 23, 0.36) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.82), transparent 72%);
}

.detail-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: 36px;
    padding-bottom: 60px;
}

.detail-hero__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    aspect-ratio: 3 / 4.18;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54);
}

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

.detail-info__category {
    display: inline-flex;
    color: #ecfeff;
    background: rgba(6, 182, 212, 0.86);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 900;
}

.detail-info h1 {
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-info p {
    max-width: 780px;
    margin: 0 0 18px;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.8;
}

.detail-info .button {
    margin-top: 26px;
}

.detail-content {
    display: grid;
    gap: 50px;
    margin-top: -34px;
    position: relative;
    z-index: 4;
}

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

.movie-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.14), rgba(2, 6, 23, 0.7));
    border: 0;
}

.player-start.is-hidden {
    display: none;
}

.player-start span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    padding-left: 4px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border-radius: 999px;
    box-shadow: 0 0 44px rgba(6, 182, 212, 0.52);
    font-size: 34px;
}

.player-start strong {
    font-size: 20px;
}

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

.detail-article,
.detail-side {
    border-radius: 26px;
    padding: 28px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 26px;
}

.detail-article p {
    margin: 0 0 28px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 2;
}

.detail-side dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.detail-side div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.detail-side dt {
    color: #64748b;
    font-size: 12px;
}

.detail-side dd {
    margin: 0;
    color: #e2e8f0;
    line-height: 1.6;
}

.search-panel {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
}

.search-panel.is-open {
    display: block;
}

.search-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(12px);
}

.search-panel__dialog {
    position: relative;
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 64px);
    margin: 32px auto;
    overflow: auto;
    border-radius: 28px;
    padding: 28px;
}

.search-panel__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 26px;
}

.search-panel h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
}

.search-panel p {
    margin: 0 0 18px;
    color: var(--muted);
}

.search-panel__results {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.search-result {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(2, 6, 23, 0.48);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.search-result img {
    width: 54px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
}

.search-result strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

.search-result span {
    color: var(--muted);
    font-size: 12px;
}

.search-result em {
    color: #22d3ee;
    font-style: normal;
    font-weight: 800;
}

.site-footer {
    color: #94a3b8;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), #020617);
    border-top: 1px solid var(--line);
    padding: 52px 0;
}

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

.site-footer p {
    max-width: 430px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: #e2e8f0;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 8px 0;
    color: #94a3b8;
}

[data-hidden-by-filter="true"] {
    display: none !important;
}

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .detail-cover {
        width: min(300px, 70vw);
    }
}

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

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

    .brand__text strong {
        font-size: 18px;
    }

    .brand__text em {
        display: none;
    }

    .search-toggle {
        padding: 9px 12px;
    }

    .hero {
        height: 72vh;
        min-height: 520px;
    }

    .hero-slide__content {
        bottom: 74px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-card,
    .category-panel-grid,
    .movie-grid--two,
    .movie-grid--four,
    .movie-grid--five,
    .movie-grid--six,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .ranking-row {
        grid-template-columns: 44px 62px minmax(0, 1fr);
        gap: 12px;
    }

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

    .ranking-row__thumb {
        width: 62px;
        height: 84px;
        border-radius: 12px;
    }

    .ranking-row__action {
        grid-column: 2 / -1;
        width: fit-content;
    }

    .detail-hero {
        min-height: auto;
    }

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

    .detail-info p {
        font-size: 16px;
    }

    .detail-content {
        margin-top: 0;
        padding-top: 24px;
    }

    .player-card {
        border-radius: 20px;
    }

    .player-start span {
        width: 66px;
        height: 66px;
        font-size: 26px;
    }
}
