* {
    box-sizing: border-box;
}

:root {
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --amber-100: #fef3c7;
    --amber-500: #f59e0b;
    --amber-700: #b45309;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.18);
    --radius-lg: 18px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-800);
    background:
        radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.13), transparent 32rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 28rem, #f9fafb 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange-600), var(--amber-500), var(--orange-700));
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

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

.brand-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--orange-700);
    background: #fff7ed;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
    transform: rotate(10deg) scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 23px;
    letter-spacing: -0.02em;
}

.brand-text small {
    margin-top: 4px;
    color: #ffedd5;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
}

.main-nav a,
.nav-dropdown > button {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: transparent;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown:hover > button {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    display: grid;
    min-width: 210px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--gray-800);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    color: var(--gray-700);
    border-radius: 10px;
    padding: 10px 12px;
}

.nav-dropdown-menu a:hover {
    color: var(--orange-700);
    background: var(--orange-50);
}

.header-search {
    display: flex;
    overflow: hidden;
    flex: 0 0 290px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 10px 14px;
    color: #ffffff;
    outline: none;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.header-search button {
    border: 0;
    padding: 10px 16px;
    color: var(--orange-700);
    background: #ffffff;
    font-weight: 800;
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(90deg, #7c2d12, #92400e);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(251, 146, 60, 0.24), transparent 25rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.88) 100%);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--orange-700);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: #ffedd5;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero p {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2.2vw, 22px);
}

.hero-tags,
.hero-actions,
.quick-links,
.compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-tags span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(249, 115, 22, 0.86);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.primary-button,
.ghost-button,
.section-link,
.small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 12px 20px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: var(--orange-600);
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.35);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.small-button {
    padding: 9px 15px;
    border-radius: 11px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    font-size: 32px;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.68);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    transition: 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.quick-search-panel {
    margin-top: -42px;
    position: relative;
    z-index: 6;
}

.quick-search-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
    border-radius: var(--radius-xl);
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.quick-search-inner h2,
.section-head h2,
.page-hero h1 {
    margin: 0;
    color: var(--gray-800);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.quick-search-inner p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.big-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--orange-100);
    border-radius: 16px;
    background: var(--orange-50);
}

.big-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 15px 16px;
    outline: 0;
    background: transparent;
}

.big-search button {
    border: 0;
    padding: 15px 20px;
    color: #ffffff;
    background: var(--orange-600);
    font-weight: 900;
}

.quick-links {
    grid-column: 1 / -1;
}

.quick-links a {
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--orange-700);
    background: var(--orange-100);
    font-weight: 800;
}

.page-sections,
.page-layout {
    padding: 52px 0;
}

.page-sections {
    display: grid;
    gap: 58px;
}

.section-block,
.page-hero,
.filter-panel,
.detail-info-card,
.text-card,
.player-card,
.side-card {
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.section-block {
    padding: 30px;
}

.white-block {
    background: rgba(255, 255, 255, 0.95);
}

.gradient-block,
.latest-block {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 45%, #fef3c7 100%);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.section-link {
    color: var(--orange-700);
    background: var(--orange-100);
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    height: 260px;
    background: linear-gradient(135deg, var(--orange-100), var(--amber-100));
}

.movie-card.small .movie-poster {
    height: 190px;
}

.movie-card.large .movie-poster {
    height: 330px;
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

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

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

.movie-year,
.movie-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.movie-year {
    top: 10px;
    left: 10px;
    background: var(--orange-600);
}

.movie-play {
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transform: translateY(6px);
    transition: 0.25s ease;
}

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

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.movie-card-body h3 a:hover,
.ranking-info h2 a:hover {
    color: var(--orange-600);
}

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

.movie-meta-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.movie-meta-row span,
.detail-meta span,
.detail-meta a {
    border-radius: 999px;
    padding: 4px 9px;
    color: var(--gray-600);
    background: var(--gray-100);
    font-size: 12px;
    font-weight: 800;
}

.detail-meta a {
    color: var(--orange-700);
    background: var(--orange-100);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-row span {
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--amber-700);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 800;
}

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

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

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

.compact-item {
    display: flex;
    gap: 13px;
    align-items: center;
    border-radius: 16px;
    padding: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.compact-item img {
    width: 84px;
    height: 76px;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: cover;
    background: var(--orange-100);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #ffffff;
    background: var(--orange-600);
    font-weight: 900;
}

.compact-content {
    min-width: 0;
}

.compact-content strong,
.compact-content em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-content strong {
    color: var(--gray-800);
    font-size: 16px;
}

.compact-content em {
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    margin-bottom: 30px;
    padding: 36px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 16rem),
        linear-gradient(90deg, var(--orange-600), var(--amber-500));
    box-shadow: var(--shadow-md);
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
}

.page-hero p {
    max-width: 780px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.category-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 170px;
    background: var(--orange-100);
}

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

.category-card-body {
    padding: 24px;
}

.category-card-body span {
    color: var(--orange-600);
    font-weight: 900;
}

.category-card-body h2 {
    margin: 6px 0 8px;
    font-size: 28px;
}

.category-card-body p {
    margin: 0;
    color: var(--gray-600);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 180px 180px 120px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
}

.filter-panel input,
.filter-panel select,
.filter-panel button {
    border: 1px solid var(--gray-200);
    border-radius: 13px;
    padding: 12px 13px;
    outline: 0;
    background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-panel button {
    border: 0;
    color: #ffffff;
    background: var(--orange-600);
    font-weight: 900;
}

.empty-state {
    border-radius: 18px;
    padding: 36px;
    text-align: center;
    color: var(--gray-600);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 20px;
    align-items: center;
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.ranking-cover img {
    width: 132px;
    height: 96px;
    object-fit: cover;
}

.ranking-cover span {
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 999px;
    padding: 4px 8px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.ranking-info h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ranking-info p {
    margin: 0 0 10px;
    color: var(--gray-600);
}

.detail-layout {
    padding: 30px 0 58px;
}

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

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 22px;
}

.player-card {
    overflow: hidden;
    background: #000000;
    box-shadow: var(--shadow-lg);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.video-overlay-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    transition: 0.2s ease;
}

.video-overlay-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-overlay-play span {
    margin-left: 5px;
    font-size: 32px;
}

.video-shell.is-playing .video-overlay-play {
    opacity: 0;
    pointer-events: none;
}

.player-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(90deg, #111827, #1f2937);
}

.player-toolbar button {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--orange-600);
    font-weight: 900;
}

.detail-info-card,
.text-card,
.side-card {
    padding: 24px;
}

.detail-info-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.one-line {
    margin: 18px 0 0;
    border-radius: 18px;
    padding: 16px;
    color: var(--gray-800);
    background: var(--orange-50);
    font-size: 18px;
    font-weight: 800;
}

.detail-tags {
    margin-top: 18px;
}

.text-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.text-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.9;
    white-space: pre-line;
}

.review-card {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.sticky-card {
    position: sticky;
    top: 98px;
}

.detail-side .compact-item {
    box-shadow: none;
    background: var(--gray-50);
}

.more-related {
    margin-top: 34px;
}

.site-footer {
    margin-top: 40px;
    color: #ffffff;
    background: linear-gradient(90deg, #111827, #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    padding: 34px 0;
}

.footer-grid strong,
.footer-grid span {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.footer-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid a:hover {
    color: #fed7aa;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--orange-600);
    box-shadow: var(--shadow-md);
    font-size: 20px;
    font-weight: 900;
}

.back-to-top.is-visible {
    display: grid;
    place-items: center;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
    }

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

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

    .sticky-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .mobile-menu-button {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        order: 4;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 12px;
    }

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

    .main-nav a,
    .nav-dropdown > button {
        width: 100%;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: grid;
    }

    .hero {
        height: 520px;
    }

    .hero-content {
        bottom: 48px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-inner,
    .footer-grid,
    .category-grid,
    .ranking-grid,
    .latest-list {
        grid-template-columns: 1fr;
    }

    .section-head,
    .ranking-row {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .ranking-cover img {
        width: 100%;
        height: 190px;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero h1 {
        font-size: 38px;
    }

    .quick-search-panel {
        margin-top: -24px;
    }

    .quick-search-inner,
    .section-block,
    .page-hero,
    .detail-info-card,
    .text-card,
    .side-card {
        padding: 20px;
        border-radius: 20px;
    }

    .big-search {
        flex-direction: column;
        border-radius: 18px;
    }

    .movie-grid,
    .three-columns,
    .four-columns,
    .six-columns {
        grid-template-columns: 1fr;
    }

    .movie-poster,
    .movie-card.small .movie-poster,
    .movie-card.large .movie-poster {
        height: 280px;
    }

    .compact-item img {
        width: 72px;
        height: 68px;
    }
}
