:root {
    --bg: #fff7ed;
    --paper: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(124, 45, 18, 0.12);
    --brand: #ea580c;
    --brand-dark: #78350f;
    --brand-soft: #ffedd5;
    --gold: #f59e0b;
    --shadow: 0 24px 70px rgba(120, 53, 15, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #78350f 0%, #92400e 45%, #7c2d12 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(120, 53, 15, 0.25);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #7c2d12;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-nav a,
.mobile-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    transition: all 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: min(360px, 34vw);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 16px;
    background: transparent;
    color: #ffffff;
}

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

.header-search button {
    border: 0;
    padding: 12px 16px;
    color: #78350f;
    background: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
}

.mobile-nav {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 18px;
    gap: 8px;
    flex-wrap: wrap;
}

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

.mobile-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 6px;
}

.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #78350f;
}

.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-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.34), transparent 28%),
        linear-gradient(90deg, rgba(61, 24, 6, 0.92) 0%, rgba(120, 53, 15, 0.72) 42%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 46%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 600px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow,
.page-hero-content span,
.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 26px;
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.info-pills,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags a,
.hero-tags span,
.info-pills span,
.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.primary-btn {
    color: #7c2d12;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: #fffbeb;
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

.hero-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.34);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
}

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

.quick-search-panel,
.section-wrap,
.detail-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
}

.quick-search-panel {
    margin-top: -42px;
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 560px);
    gap: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.quick-search-panel strong {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

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

.quick-search-panel form,
.filter-bar {
    display: flex;
    gap: 12px;
}

.quick-search-panel input,
.filter-bar input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 999px;
    padding: 14px 18px;
    background: #fff7ed;
    color: var(--ink);
}

.quick-search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #d97706);
    font-weight: 800;
    cursor: pointer;
}

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

.section-head.centered {
    align-items: center;
}

.section-head.slim {
    margin-bottom: 20px;
}

.section-head h2,
.rank-title h2,
.side-card h2,
.content-card h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.03em;
}

.side-card h2,
.content-card h2 {
    font-size: 26px;
}

.section-head p,
.rank-title a,
.section-head a,
.content-card p,
.detail-info-card p {
    color: var(--muted);
}

.section-head a,
.rank-title a {
    font-weight: 800;
    color: var(--brand);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(120, 53, 15, 0.1);
    transition: all 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 58px rgba(120, 53, 15, 0.2);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #7c2d12;
}

.poster img,
.mini-card img,
.category-tile img,
.rank-item img,
.cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster img,
.mini-card img {
    transition: transform 0.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 62%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-badge,
.duration-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.play-badge {
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.duration-badge {
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    background: var(--brand);
}

.movie-card:hover .play-badge {
    opacity: 1;
}

.card-body {
    padding: 18px;
}

.card-category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
}

.card-body h3 {
    margin: 0 0 10px;
    min-height: 52px;
    font-size: 19px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--brand);
}

.card-body p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.card-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
}

.card-meta .rating {
    color: #92400e;
    background: #fef3c7;
    font-weight: 800;
}

.alt-section {
    max-width: none;
    padding-left: max(24px, calc((100% - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100% - 1280px) / 2 + 24px));
    background: linear-gradient(180deg, rgba(255, 237, 213, 0.66), rgba(255, 255, 255, 0.5));
}

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

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

.category-tile {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: 28px;
    padding: 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
    transition: all 0.28s ease;
}

.category-tile:hover {
    transform: translateY(-6px) scale(1.02);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.category-tile img {
    position: absolute;
    inset: 0;
    opacity: 0.72;
}

.category-tile span,
.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.category-tile strong {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.6;
}

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

.mini-card {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    border-radius: 20px;
    display: block;
    background: #7c2d12;
    box-shadow: 0 14px 34px rgba(120, 53, 15, 0.12);
}

.mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 66%);
}

.mini-info {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 14px;
    color: #ffffff;
}

.mini-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.mini-info span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.mini-play {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.88);
}

.rank-panel,
.side-card,
.content-card,
.detail-info-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(120, 53, 15, 0.1);
}

.rank-panel {
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 98px;
}

.rank-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 34px 74px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #fff7ed;
    transition: all 0.25s ease;
}

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

.rank-num {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: #92400e;
    font-weight: 900;
}

.top-one .rank-num {
    background: #ef4444;
}

.top-two .rank-num {
    background: #f97316;
}

.top-three .rank-num {
    background: #f59e0b;
}

.rank-item img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
}

.rank-text strong {
    display: block;
    margin-bottom: 4px;
}

.rank-text em {
    display: block;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.page-hero {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #78350f, #ea580c);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.2), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(251, 191, 36, 0.32), transparent 26%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 78px 24px;
}

.page-hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
}

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

.small-actions {
    margin-top: 24px;
}

.filter-area {
    padding-top: 42px;
}

.filter-bar {
    margin-bottom: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(120, 53, 15, 0.1);
}

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

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff7ed;
    color: #92400e;
    font-weight: 800;
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #ffffff;
    background: var(--brand);
}

.detail-wrap {
    padding-top: 32px;
}

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

.breadcrumb a {
    color: var(--brand);
    font-weight: 700;
}

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

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

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000000;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.74;
}

.big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.92);
    font-size: 38px;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.player-card.is-playing .player-cover {
    display: none;
}

.detail-info-card,
.content-card,
.side-card {
    padding: 24px;
    margin-top: 22px;
}

.detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.detail-heading h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.detail-rating {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-weight: 900;
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
}

.info-pills span,
.tag {
    color: #92400e;
    background: #fff7ed;
    border-color: #fed7aa;
}

.tag-row {
    margin-top: 18px;
}

.content-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.9;
}

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

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

.cover-card {
    margin-top: 0;
}

.cover-card img {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    margin-bottom: 18px;
}

.primary-btn.full {
    width: 100%;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #d97706);
}

.small-rank .rank-item {
    grid-template-columns: 30px 60px 1fr;
    padding: 8px;
}

.site-footer {
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(135deg, #1f2937, #111827);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 28px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
}

.footer-grid h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-grid p {
    max-width: 420px;
    line-height: 1.8;
}

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

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.copyright {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 32px;
    color: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tone-orange,
.tone-red,
.tone-pink,
.tone-blue,
.tone-purple,
.tone-rose,
.tone-dark,
.tone-green,
.tone-cyan,
.tone-amber {
    background: linear-gradient(135deg, #92400e, #f97316);
}

.tone-blue {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

.tone-purple {
    background: linear-gradient(135deg, #6d28d9, #db2777);
}

.tone-green {
    background: linear-gradient(135deg, #047857, #65a30d);
}

.tone-cyan {
    background: linear-gradient(135deg, #0f766e, #0891b2);
}

.tone-dark {
    background: linear-gradient(135deg, #111827, #7c2d12);
}

@media (max-width: 1180px) {
    .movie-grid,
    .all-grid,
    .ranking-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .rank-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-content {
        min-height: 560px;
        padding-top: 94px;
    }

    .hero-nav {
        display: none;
    }

    .quick-search-panel {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
    }

    .quick-search-panel form,
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

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

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

@media (max-width: 640px) {
    .header-inner {
        padding: 0 16px;
    }

    .logo {
        font-size: 18px;
    }

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

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .quick-search-panel,
    .section-wrap,
    .detail-wrap,
    .page-hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .all-grid,
    .ranking-grid,
    .compact-grid,
    .related-grid,
    .category-grid,
    .category-grid.large {
        grid-template-columns: 1fr;
    }

    .detail-heading {
        flex-direction: column;
    }

    .big-play {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}
