:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --card: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 28px 75px rgba(14, 116, 144, 0.18);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--sky-50) 0%, #ffffff 34%, #f8fafc 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    width: min(1240px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sky-600), #22d3ee);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.30);
}

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

.brand-text strong {
    color: #1e293b;
    font-size: 20px;
    font-weight: 900;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-links a,
.mobile-menu a {
    color: #334155;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--sky-700);
}

.quick-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 320px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.quick-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 8px 10px 8px 14px;
    color: var(--ink);
    background: transparent;
}

.quick-search button,
.wide-search button,
.search-form button {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sky-600), #06b6d4);
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
}

.search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(420px, 88vw);
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

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

.search-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
}

.search-item:hover {
    background: var(--sky-50);
}

.search-item img {
    width: 54px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--sky-100);
}

.search-item strong {
    display: block;
    color: #1e293b;
    font-size: 14px;
}

.search-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px;
    border: 0;
    border-radius: 14px;
    background: var(--sky-50);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px;
    background: #334155;
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.mobile-menu.is-open {
    display: grid;
    gap: 4px;
}

.mobile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
}

main {
    overflow: hidden;
}

.hero {
    padding: 34px 0 28px;
}

.hero-shell,
.page-hero,
.content-section,
.detail-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-shell {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.20), transparent 34%),
        radial-gradient(circle at 82% 16%, rgba(34, 211, 238, 0.24), transparent 32%),
        linear-gradient(135deg, #e0f2fe, #ffffff 46%, #f0f9ff);
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
    gap: 42px;
    align-items: center;
    padding: 58px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--sky-700);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: rgba(224, 242, 254, 0.85);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.hero-copy p,
.page-hero p,
.detail-info p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.85;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--sky-700);
    font-size: 12px;
    font-weight: 800;
    background: rgba(224, 242, 254, 0.82);
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky-600), #06b6d4);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.30);
}

.ghost-btn {
    color: #075985;
    border: 1px solid rgba(14, 116, 144, 0.22);
    background: rgba(255, 255, 255, 0.70);
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(14, 116, 144, 0.20);
}

.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    transform: rotate(1.4deg);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--sky-100), #ffffff);
    transition: transform 0.7s ease;
}

.hero-visual:hover img {
    transform: scale(1.07);
}

.hero-shine,
.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.56));
}

.hero-dots {
    position: absolute;
    left: 58px;
    bottom: 34px;
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(2, 132, 199, 0.22);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-category-links {
    position: absolute;
    right: 42px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: 520px;
}

.hero-category-links a {
    padding: 8px 13px;
    border-radius: 999px;
    color: #075985;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(14, 116, 144, 0.14);
}

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

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

.section-heading h2 {
    margin: 0;
    color: #1e293b;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.section-more {
    color: var(--sky-700);
    font-weight: 900;
}

.search-banner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(125, 211, 252, 0.40);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 50px rgba(14, 116, 144, 0.10);
}

.search-banner span {
    color: var(--sky-700);
    font-weight: 900;
}

.search-banner h2 {
    margin: 8px 0 0;
    color: #1e293b;
    font-size: 30px;
    font-weight: 950;
}

.search-banner p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.wide-search,
.search-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.wide-search input,
.search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 12px 14px;
    background: transparent;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: var(--shadow-lg);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-100), #ffffff);
}

.movie-card.compact .poster-link {
    aspect-ratio: 4 / 3;
}

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

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

.play-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(14, 165, 233, 0.92);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.30);
}

.card-body {
    padding: 18px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.meta-row span {
    display: inline-flex;
    align-items: center;
}

.meta-row span + span::before {
    content: "·";
    margin-right: 7px;
    color: #94a3b8;
}

.movie-card h3,
.movie-card h2 {
    margin: 10px 0 8px;
    color: #1e293b;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 950;
}

.movie-card h3 a:hover,
.movie-card h2 a:hover,
.rank-card h2 a:hover {
    color: var(--sky-700);
}

.movie-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.68;
}

.tag-row {
    gap: 6px;
}

.tag-row span {
    padding: 5px 8px;
    font-size: 11px;
}

.highlight-section {
    padding-top: 46px;
    padding-bottom: 46px;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-poster {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
    background: var(--sky-100);
}

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

.rank-poster span {
    position: absolute;
    left: 8px;
    top: 8px;
    min-width: 32px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    background: rgba(2, 132, 199, 0.92);
}

.rank-card h2 {
    margin: 3px 0 8px;
    color: #1e293b;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 950;
}

.rank-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.62;
}

.strip-grid {
    display: grid;
    gap: 24px;
}

.category-strip {
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.92));
}

.strip-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.strip-head h3 {
    margin: 0;
    color: #1e293b;
    font-size: 24px;
    font-weight: 950;
}

.strip-head p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.strip-head a {
    color: var(--sky-700);
    font-weight: 900;
}

.page-hero,
.detail-hero {
    padding: 44px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 10%, rgba(14, 165, 233, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.88));
    box-shadow: var(--shadow-lg);
}

.compact-hero {
    margin-top: 34px;
}

.compact-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

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

.category-card {
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card span {
    color: var(--sky-700);
    font-weight: 900;
}

.category-card h2 {
    margin: 10px 0;
    color: #1e293b;
    font-size: 26px;
    font-weight: 950;
}

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

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    padding: 7px 10px;
    border-radius: 999px;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
    background: var(--sky-50);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.filter-bar select {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--ink);
    outline: 0;
    background: #ffffff;
}

.filter-bar input {
    flex: 1 1 260px;
}

.filter-bar select {
    flex: 0 0 160px;
}

.empty-state {
    display: none;
    padding: 34px;
    border: 1px dashed rgba(14, 165, 233, 0.32);
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(240, 249, 255, 0.72);
}

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

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

.search-page .search-form {
    margin-bottom: 24px;
    border-radius: 24px;
}

.detail-hero {
    margin-top: 34px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--sky-700);
}

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

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 4 / 5;
    background: var(--sky-100);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

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

.detail-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(14, 165, 233, 0.92);
    box-shadow: 0 18px 45px rgba(2, 132, 199, 0.32);
    transform: translate(-50%, -50%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.info-grid div {
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
}

.info-grid strong,
.info-grid span {
    display: block;
}

.info-grid strong {
    color: var(--muted);
    font-size: 12px;
}

.info-grid span {
    margin-top: 5px;
    color: #1e293b;
    font-weight: 900;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.30);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.22), rgba(2, 6, 23, 0.56));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 30px;
    background: linear-gradient(135deg, var(--sky-600), #06b6d4);
    box-shadow: 0 18px 42px rgba(14, 165, 233, 0.36);
}

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

.article-section {
    padding-top: 10px;
}

.story-card {
    padding: 34px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 15px 42px rgba(15, 23, 42, 0.07);
}

.story-card h2 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 26px;
    font-weight: 950;
}

.story-card h2:not(:first-child) {
    margin-top: 28px;
}

.story-card p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.95;
}

.site-footer {
    margin-top: 42px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
}

.footer-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 32px;
    padding: 46px 0 28px;
}

.footer-brand {
    margin-bottom: 16px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 950;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a:hover {
    color: var(--sky-700);
}

.copyright {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .quick-search {
        width: 260px;
    }

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

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

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

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

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .hero-shell {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        align-content: center;
        padding: 36px;
    }

    .hero-visual {
        max-width: 360px;
        margin: 0 auto;
        order: -1;
    }

    .hero-dots {
        left: 36px;
        bottom: 26px;
    }

    .hero-category-links {
        left: 36px;
        right: 36px;
        bottom: 62px;
        justify-content: flex-start;
    }

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

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

@media (max-width: 680px) {
    .nav-wrap,
    .mobile-menu,
    .hero-shell,
    .page-hero,
    .content-section,
    .detail-hero,
    .footer-grid,
    .copyright {
        width: min(100% - 22px, 1240px);
    }

    .brand-text small {
        display: none;
    }

    .hero-shell {
        min-height: 760px;
        border-radius: 26px;
    }

    .hero-slide {
        padding: 24px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-info p {
        font-size: 16px;
    }

    .hero-category-links {
        display: none;
    }

    .movie-grid,
    .small-grid,
    .rank-grid,
    .page-rank-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero,
    .detail-hero,
    .story-card {
        padding: 24px;
        border-radius: 26px;
    }

    .detail-layout {
        gap: 24px;
    }

    .detail-poster {
        max-width: 340px;
        margin: 0 auto;
    }

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

    .wide-search,
    .search-form {
        border-radius: 24px;
        flex-direction: column;
    }

    .wide-search button,
    .search-form button {
        width: 100%;
    }
}
