:root {
    --dark: #0a0e1a;
    --dark-soft: #111827;
    --dark-card: rgba(15, 23, 42, 0.72);
    --dark-card-strong: rgba(15, 23, 42, 0.94);
    --primary: #38bdf8;
    --primary-deep: #0284c7;
    --primary-soft: rgba(56, 189, 248, 0.16);
    --secondary: #94a3b8;
    --secondary-light: #e2e8f0;
    --line: rgba(56, 189, 248, 0.22);
    --line-strong: rgba(56, 189, 248, 0.42);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --glow: 0 0 34px rgba(56, 189, 248, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--secondary-light);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.20), transparent 32rem),
        radial-gradient(circle at top right, rgba(30, 41, 59, 0.65), transparent 30rem),
        var(--dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 14, 26, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark,
.footer-brand span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #00111d;
    background: linear-gradient(135deg, #7dd3fc, #0284c7);
    border-radius: 14px;
    box-shadow: var(--glow);
    font-size: 16px;
    font-weight: 900;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0.04em;
}

.brand-text small {
    color: var(--secondary);
    font-size: 12px;
    margin-top: 4px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.desktop-nav a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: var(--primary);
}

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

.header-search input,
.mobile-search input,
.big-search input,
.local-search-wrap input {
    width: 230px;
    border: 1px solid var(--line);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    outline: none;
    border-radius: 999px;
    padding: 11px 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.local-search-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.header-search button,
.mobile-search button,
.big-search button {
    border: 0;
    color: #00111d;
    background: linear-gradient(135deg, #7dd3fc, #0284c7);
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 14px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

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

.mobile-nav a {
    padding: 10px 12px;
    color: #cbd5e1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

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

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #050816;
}

.sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

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

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

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 8, 22, 0.98) 0%, rgba(5, 8, 22, 0.86) 36%, rgba(5, 8, 22, 0.38) 72%, rgba(5, 8, 22, 0.72) 100%),
        linear-gradient(0deg, var(--dark) 0%, rgba(10, 14, 26, 0.12) 46%, rgba(10, 14, 26, 0.90) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 56px;
    min-height: 760px;
    padding: 72px 0 84px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker,
.detail-kicker,
.page-hero p,
.section-heading p,
.category-panel-head p {
    margin: 0 0 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-desc {
    max-width: 680px;
    margin: 24px 0 0;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tag,
.chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #00111d;
    background: linear-gradient(135deg, #7dd3fc, #0284c7);
    box-shadow: var(--glow);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid var(--line-strong);
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
}

.btn-soft {
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.13);
    border: 1px solid rgba(56, 189, 248, 0.26);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 34px;
    border: 1px solid var(--line-strong);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow), var(--glow);
}

.hero-poster img,
.poster-wrap img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span,
.poster-play {
    position: absolute;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: #00111d;
    background: rgba(125, 211, 252, 0.94);
    box-shadow: 0 14px 44px rgba(56, 189, 248, 0.34);
}

.hero-poster span {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.62);
    border-radius: 999px;
    font-size: 38px;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.38);
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--primary);
}

.quick-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -46px;
    position: relative;
    z-index: 6;
}

.quick-panel a,
.category-tile,
.category-panel,
.detail-side-card,
.detail-article,
.movie-card,
.ranking-row {
    border: 1px solid var(--line);
    background: var(--dark-card);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
}

.quick-panel a {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 24px;
}

.quick-panel strong {
    color: #ffffff;
    font-size: 20px;
}

.quick-panel span,
.section-heading span,
.category-panel-head span,
.page-hero span,
.footer-grid p,
.movie-card-body p,
.card-meta-line,
.ranking-copy em,
.detail-one-line,
.detail-article p,
.detail-side-card dd {
    color: var(--secondary);
}

.content-section {
    padding: 68px 0 0;
}

.section-heading,
.category-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2,
.category-panel-head h2,
.detail-article h2,
.detail-side-card h2,
.footer-grid h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
}

.section-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    color: #bae6fd;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    font-weight: 800;
    white-space: nowrap;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow), var(--glow);
}

.movie-card-link {
    display: grid;
    height: 100%;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: rgba(30, 41, 59, 0.8);
}

.poster-wrap img {
    transition: transform 0.42s ease;
}

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(to top, rgba(5, 8, 22, 0.92), transparent);
}

.poster-play {
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    color: #00111d;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    border-radius: 999px;
    font-weight: 950;
}

.movie-card-body {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
}

.card-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
}

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

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

.chip-row {
    margin-top: 0;
    gap: 6px;
}

.chip-row span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
}

.movie-card-compact .movie-card-body p {
    display: none;
}

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

.category-tile {
    display: grid;
    min-height: 230px;
    overflow: hidden;
    padding: 20px;
    border-radius: 26px;
    position: relative;
    isolation: isolate;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.24), transparent 35%), rgba(15, 23, 42, 0.74);
}

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

.category-tile strong {
    color: #bfdbfe;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}

.tile-thumbs {
    display: flex;
    align-items: end;
    align-self: end;
    height: 96px;
    margin-top: 16px;
}

.tile-thumbs img {
    width: 64px;
    height: 92px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.tile-thumbs img + img {
    margin-left: -18px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.22), transparent 35%),
        radial-gradient(circle at 80% 15%, rgba(56, 189, 248, 0.18), transparent 28%),
        rgba(5, 8, 22, 0.92);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero span {
    display: block;
    max-width: 760px;
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.8;
}

.small-hero {
    min-height: 330px;
}

.local-search-wrap {
    margin-top: 28px;
}

.local-search-wrap input {
    width: min(620px, 100%);
}

.local-search-wrap.wide input {
    width: min(760px, 100%);
}

.category-index-list {
    display: grid;
    gap: 46px;
    padding-top: 62px;
}

.category-panel {
    padding: 24px;
    border-radius: 30px;
}

.ranking-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.ranking-row {
    border-radius: 22px;
    overflow: hidden;
}

.ranking-link {
    display: grid;
    grid-template-columns: 64px 74px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
}

.ranking-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #00111d;
    background: linear-gradient(135deg, #7dd3fc, #0284c7);
    border-radius: 16px;
    font-weight: 950;
}

.ranking-link img {
    width: 64px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.ranking-copy strong {
    color: #ffffff;
    font-size: 18px;
}

.ranking-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-size: 13px;
}

.ranking-more {
    color: #bae6fd;
    font-weight: 900;
}

.big-search {
    margin-top: 28px;
    max-width: 760px;
}

.big-search input {
    flex: 1 1 auto;
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
}

.big-search button {
    min-height: 56px;
    padding: 0 24px;
}

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 24px;
    text-align: center;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.empty-state.is-visible {
    display: block;
}

.detail-main {
    padding-top: 72px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: grid;
    align-items: end;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.06);
    transform: scale(1.08);
    opacity: 0.42;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 8, 22, 0.98), rgba(5, 8, 22, 0.64)),
        linear-gradient(0deg, var(--dark), transparent 54%, rgba(10, 14, 26, 0.92));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 70px 0 54px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a {
    color: #bae6fd;
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    box-shadow: var(--shadow), var(--glow);
}

.detail-copy h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 860px;
    margin: 22px 0 0;
    font-size: 19px;
    line-height: 1.8;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    box-shadow: var(--shadow), var(--glow);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.20));
    border: 0;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover span {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    color: #00111d;
    background: linear-gradient(135deg, #7dd3fc, #0284c7);
    border-radius: 999px;
    box-shadow: var(--glow);
    font-size: 32px;
    font-weight: 950;
}

.player-cover strong {
    font-size: 24px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

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

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding-top: 34px;
}

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

.detail-article h2,
.detail-side-card h2 {
    margin-top: 0;
    font-size: 25px;
}

.detail-article p {
    margin: 14px 0 26px;
    font-size: 16px;
    line-height: 1.9;
}

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

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

.detail-side-card dt {
    color: #ffffff;
    font-weight: 900;
}

.detail-side-card dd {
    margin: -8px 0 0;
    line-height: 1.6;
}

.detail-side-card a {
    color: #bae6fd;
}

.site-footer {
    margin-top: 80px;
    padding: 52px 0 26px;
    background: rgba(5, 8, 22, 0.78);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 22px;
}

.footer-grid p {
    max-width: 520px;
    margin: 0;
    line-height: 1.8;
}

.footer-grid h2 {
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 36px auto 0;
    padding-top: 22px;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 14px;
}

@media (max-width: 1180px) {
    .desktop-nav {
        gap: 12px;
    }

    .desktop-nav a:nth-last-child(-n + 4) {
        display: none;
    }

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

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

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

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .mobile-search input {
        flex: 1 1 auto;
        width: 100%;
    }

    .hero,
    .hero-content {
        min-height: 700px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 26px;
        align-content: center;
    }

    .hero-poster {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .quick-panel {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

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

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

    .detail-poster {
        width: min(280px, 70vw);
    }
}

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

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

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-copy h2,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 38px;
    }

    .hero-desc,
    .detail-one-line,
    .page-hero span {
        font-size: 16px;
    }

    .section-heading,
    .category-panel-head {
        align-items: start;
        flex-direction: column;
    }

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

    .movie-card-body {
        padding: 12px;
    }

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

    .movie-card-body p {
        font-size: 12px;
    }

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

    .ranking-number {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .ranking-link img {
        width: 52px;
        height: 72px;
    }

    .ranking-more {
        display: none;
    }

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

    .player-cover span {
        width: 70px;
        height: 70px;
    }
}
