* {
    box-sizing: border-box;
}

:root {
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --cyan-600: #0891b2;
    --blue-600: #2563eb;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.10);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    line-height: 1.6;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--teal-600), var(--cyan-600));
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.26);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.brand-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand:hover .brand-icon {
    transform: scale(1.1) rotate(-3deg);
}

.brand-text {
    font-size: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link,
.nav-search-button,
.mobile-nav-link {
    color: var(--white);
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-search-button:hover,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--amber-300);
}

.nav-search-button,
.mobile-search-button {
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 9px 16px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px 18px;
    background: rgba(15, 118, 110, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.mobile-nav-link {
    display: block;
    width: 100%;
    padding: 12px 10px;
    text-align: left;
    border: 0;
    border-radius: 10px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, var(--teal-600), var(--cyan-600) 48%, var(--blue-600));
}

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

.hero-glow-one {
    top: 48px;
    left: 6%;
    width: 280px;
    height: 280px;
    background: var(--white);
}

.hero-glow-two {
    right: 6%;
    bottom: 42px;
    width: 360px;
    height: 360px;
    background: var(--amber-300);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 38px;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 70px;
    align-items: center;
}

.hero-heading h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-heading p {
    max-width: 610px;
    margin: 0 0 28px;
    font-size: clamp(18px, 2vw, 24px);
    color: rgba(224, 242, 254, 0.92);
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-category-links a,
.hero-tags span,
.movie-tags span,
.filter-chips button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-weight: 700;
}

.hero-category-links a {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-category-links a:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.hero-category-links span {
    color: var(--amber-300);
}

.hero-carousel {
    position: relative;
    min-height: 430px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 26px;
    min-height: 430px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.24);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(20px);
    align-items: center;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--amber-300);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.12;
    font-weight: 900;
}

.hero-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
}

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

.hero-tags span {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

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

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    padding: 13px 22px;
    color: var(--slate-900);
    background: var(--amber-300);
    box-shadow: 0 14px 32px rgba(251, 191, 36, 0.32);
}

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

.ghost-button {
    padding: 12px 21px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.10);
}

.hero-poster {
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.38);
}

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

.hero-dots {
    position: absolute;
    left: 28px;
    bottom: 22px;
    display: flex;
    gap: 8px;
}

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

.hero-dot.is-active {
    width: 46px;
    background: var(--amber-300);
}

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

.section-soft {
    width: 100%;
    padding: 60px max(16px, calc((100% - 1200px) / 2));
    background: rgba(255, 255, 255, 0.54);
}

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

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

.section-heading a,
.text-link {
    color: var(--teal-600);
    font-weight: 800;
}

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

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

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

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

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

.movie-poster img {
    transition: transform 0.45s ease;
}

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

.movie-year {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
}

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

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    margin-bottom: 8px;
    overflow: hidden;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.32;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-title:hover {
    color: var(--teal-600);
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--slate-600);
    font-size: 13px;
}

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

.movie-tags span {
    padding: 6px 10px;
    color: var(--teal-700);
    font-size: 12px;
    background: #ccfbf1;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.movie-card-compact .movie-title {
    min-height: 44px;
    font-size: 16px;
}

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

.category-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.category-card-main {
    display: block;
    min-height: 180px;
    padding: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
}

.category-card-main span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--amber-300);
    font-weight: 850;
}

.category-card-main strong {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.2;
}

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

.category-preview {
    display: grid;
    gap: 10px;
    padding: 18px 22px 22px;
}

.category-preview a {
    color: var(--slate-700);
    font-weight: 700;
}

.category-preview a:hover {
    color: var(--teal-600);
}

.ranking-section {
    padding-bottom: 76px;
}

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

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

.ranking-item {
    position: relative;
    display: grid;
    grid-template-columns: 78px 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.ranking-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: #dbeafe;
}

.ranking-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
}

.ranking-info a {
    display: block;
    margin-bottom: 5px;
    color: var(--slate-800);
    font-size: 18px;
    font-weight: 850;
}

.ranking-info a:hover {
    color: var(--teal-600);
}

.ranking-info p {
    margin: 0 0 6px;
    color: var(--slate-600);
    font-size: 14px;
}

.ranking-info span {
    color: var(--teal-700);
    font-size: 13px;
    font-weight: 750;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, var(--teal-600), var(--cyan-600), var(--blue-600));
}

.page-hero > div {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0 72px;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.06;
}

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

.category-overview {
    display: grid;
    gap: 30px;
}

.category-overview-block {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 26px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.category-overview-text {
    padding: 28px;
    color: var(--white);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
}

.category-overview-text h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
}

.category-overview-text .text-link {
    margin-top: 22px;
    color: var(--amber-300);
}

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

.filter-bar {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.filter-bar input,
.site-search-input {
    width: 100%;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 14px 18px;
    color: var(--slate-800);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar input:focus,
.site-search-input:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-chips button {
    border: 0;
    padding: 7px 12px;
    color: var(--teal-700);
    background: #ccfbf1;
}

.empty-state {
    margin: 28px 0 0;
    padding: 26px;
    text-align: center;
    color: var(--slate-600);
    border-radius: 18px;
    background: var(--white);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    filter: blur(12px);
    transform: scale(1.04);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.74));
}

.detail-hero-inner {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 60px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 750;
}

.detail-tags span {
    background: rgba(204, 251, 241, 0.18);
    color: var(--white);
}

.player-section {
    padding-bottom: 36px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    background: #020617;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.58));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    padding-left: 6px;
    color: var(--slate-900);
    font-size: 34px;
    border-radius: 999px;
    background: var(--amber-300);
    box-shadow: 0 18px 48px rgba(251, 191, 36, 0.38);
}

.detail-content-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.detail-article,
.detail-side-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.detail-article {
    padding: 32px;
}

.detail-article h2,
.detail-side-card h2 {
    margin: 0 0 16px;
    color: var(--slate-800);
    font-size: 26px;
}

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

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

.detail-side-card {
    padding: 28px;
}

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

.detail-side-card div {
    display: grid;
    gap: 3px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
}

.detail-side-card dt {
    color: var(--slate-600);
    font-size: 13px;
}

.detail-side-card dd {
    margin: 0;
    color: var(--slate-800);
    font-weight: 780;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #1f2937, #111827);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 34px;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}

.footer-brand p,
.footer-column p {
    margin: 14px 0 0;
    color: #cbd5e1;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-column h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 18px;
}

.footer-column a:hover {
    color: #5eead4;
}

.footer-bottom {
    padding: 20px 16px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.search-panel[hidden] {
    display: none;
}

.search-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
}

.search-dialog {
    position: relative;
    width: min(720px, calc(100% - 32px));
    max-height: calc(100vh - 80px);
    margin: 40px auto;
    overflow: auto;
    padding: 28px;
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
}

.search-dialog h2 {
    margin: 0 0 6px;
    color: var(--slate-800);
    font-size: 30px;
}

.search-dialog p {
    margin: 0 0 20px;
    color: var(--slate-600);
}

.search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 25px;
    line-height: 1;
}

.site-search-results {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.search-result {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
}

.search-result img {
    width: 58px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    background: #dbeafe;
}

.search-result strong {
    display: block;
    color: var(--slate-800);
}

.search-result span {
    color: var(--slate-600);
    font-size: 13px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1040px) {
    .hero-inner,
    .category-overview-block,
    .detail-content-section {
        grid-template-columns: 1fr;
    }

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

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

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

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

@media (max-width: 780px) {
    .site-nav {
        height: 64px;
    }

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

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-inner {
        padding: 54px 0 52px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-poster {
        max-width: 230px;
        margin: 0 auto 28px;
        order: -1;
    }

    .hero-dots {
        left: 20px;
        bottom: 16px;
    }

    .section,
    .section-soft {
        padding-top: 42px;
        padding-bottom: 42px;
    }

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

    .movie-grid,
    .latest-grid,
    .category-grid,
    .category-overview-movies,
    .ranking-list-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-item {
        grid-template-columns: 64px 34px 1fr;
    }

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

    .detail-cover {
        width: min(250px, 72vw);
    }

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

@media (max-width: 520px) {
    .hero-heading h1 {
        font-size: 40px;
    }

    .hero-slide {
        border-radius: 24px;
    }

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

    .movie-grid,
    .latest-grid,
    .category-grid,
    .category-overview-movies,
    .ranking-list-home {
        grid-template-columns: 1fr;
    }

    .ranking-list-page .ranking-item {
        grid-template-columns: 54px 32px 1fr;
    }

    .ranking-poster {
        border-radius: 11px;
    }

    .detail-article,
    .detail-side-card,
    .category-overview-block,
    .category-overview-text {
        padding: 22px;
    }

    .play-icon {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
