
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #e2e8f0 100%);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #ea580c 0%, #d97706 52%, #ca8a04 100%);
    box-shadow: 0 16px 40px rgba(180, 83, 9, 0.24);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
    height: 66px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    font-size: 15px;
}

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

.nav-link,
.nav-sub-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-sub-link:hover {
    color: #fef3c7;
}

.nav-menu {
    position: relative;
}

.nav-menu-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-submenu {
    position: absolute;
    top: 38px;
    left: 0;
    display: grid;
    min-width: 150px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

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

.nav-sub-link {
    padding: 8px 10px;
    border-radius: 10px;
    color: #f8fafc;
}

.nav-sub-link:hover {
    background: rgba(251, 146, 60, 0.18);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
}

.nav-search input {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    outline: none;
}

.nav-search button,
.primary-button,
.ghost-button,
.text-button,
.rank-watch,
.search-page-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-search button {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
}

.nav-search button:hover,
.primary-button:hover,
.rank-watch:hover,
.search-page-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.22);
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
}

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

.hero-section {
    position: relative;
    height: 590px;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.08);
}

.hero-overlay,
.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(124, 45, 18, 0.94), rgba(146, 64, 14, 0.84), rgba(202, 138, 4, 0.72));
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 52px;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff7ed;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 18px;
    max-width: 740px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 12px 40px rgba(15, 23, 42, 0.32);
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.75;
}

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

.hero-tags span,
.tag-links a {
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

.primary-button {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 26px;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.ghost-button {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.ghost-button.dark {
    background: #ffffff;
    color: #92400e;
    box-shadow: inset 0 0 0 1px #fed7aa;
}

.hero-feature-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hero-poster img,
.card-poster img,
.compact-cover img,
.wide-cover img,
.category-collage img,
.rank-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span,
.card-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: auto;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.9);
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.32);
}

.hero-feature-text {
    padding: 22px;
}

.hero-feature-text h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.hero-feature-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.home-strip,
.content-section,
.detail-layout,
.page-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-strip {
    padding: 44px 0 18px;
}

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

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

.section-head span {
    display: block;
    margin-bottom: 4px;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
}

.section-head a,
.text-button {
    color: #ea580c;
    font-weight: 900;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

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

.card-poster img,
.compact-cover img,
.wide-cover img,
.hero-poster img,
.rank-cover img {
    transition: transform 0.32s ease;
}

.movie-card:hover .card-poster img,
.compact-card:hover img,
.wide-card:hover img,
.rank-row:hover img {
    transform: scale(1.08);
}

.card-poster::after,
.compact-cover::after,
.wide-cover::after,
.rank-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.62));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-poster::after,
.compact-card:hover .compact-cover::after,
.wide-card:hover .wide-cover::after,
.rank-row:hover .rank-cover::after {
    opacity: 1;
}

.card-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-play {
    z-index: 2;
    width: 50px;
    height: 50px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3,
.compact-card h3,
.wide-card h3,
.rank-info h2 {
    margin: 0;
    color: #111827;
    line-height: 1.35;
}

.card-body h3 {
    min-height: 44px;
    font-size: 17px;
}

.card-body h3 a:hover,
.compact-card h3 a:hover,
.wide-card h3 a:hover,
.rank-info h2 a:hover {
    color: #ea580c;
}

.card-body p,
.compact-card p,
.wide-card p,
.rank-info p {
    display: -webkit-box;
    margin: 9px 0 0;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta,
.compact-meta,
.wide-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: #64748b;
    font-size: 12px;
}

.card-meta span,
.compact-meta span,
.wide-meta span,
.rank-meta span {
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 700;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    border-radius: 18px;
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.compact-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

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

.wide-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.wide-cover {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    background: #0f172a;
}

.wide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.warm-panel {
    width: min(1220px, calc(100% - 20px));
    border-radius: 32px;
    padding: 38px 20px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.category-tile strong {
    position: relative;
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 21px;
}

.category-tile small {
    position: relative;
    color: #64748b;
    font-size: 13px;
}

.category-glow {
    position: absolute;
    right: -26px;
    top: -28px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.16);
}

.page-main {
    padding: 38px 0 20px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    border-radius: 32px;
    padding: clamp(34px, 6vw, 64px);
    background: linear-gradient(135deg, #9a3412, #d97706 55%, #f59e0b);
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(180, 83, 9, 0.22);
}

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

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

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

.category-overview-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body span {
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.category-overview-body h2 {
    margin: 8px 0;
    font-size: 27px;
}

.category-overview-body p {
    margin: 0 0 14px;
    color: #64748b;
}

.filter-panel,
.search-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
    border-radius: 22px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.search-toolbar {
    grid-template-columns: 180px 180px;
    justify-content: end;
}

.filter-panel input,
.filter-panel select,
.search-toolbar select,
.search-page-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 0 14px;
    background: #fffaf5;
    color: #334155;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-toolbar select:focus,
.search-page-form input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 70px 170px minmax(0, 1fr) 100px;
    align-items: center;
    gap: 18px;
    border-radius: 22px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rank-number {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #0f172a;
}

.rank-watch {
    height: 42px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
}

.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 780px;
    margin-top: 28px;
}

.search-page-form button {
    min-width: 110px;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
}

.detail-main {
    background: #f8fafc;
}

.detail-hero {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    color: #ffffff;
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fef3c7;
}

.detail-title-block h1 {
    max-width: 880px;
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
}

.detail-title-block p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
    padding: 34px 0 64px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: contain;
    cursor: pointer;
}

.player-button {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.42));
    color: #ffffff;
    cursor: pointer;
}

.player-button span {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.36);
    font-size: 28px;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.player-button:hover span {
    transform: scale(1.06);
}

.player-shell.is-playing .player-button {
    display: none;
}

.detail-card,
.related-box {
    border-radius: 24px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.detail-card h2,
.related-box h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
}

.accent-card {
    border-left: 5px solid #f97316;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

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

.info-grid div {
    border-radius: 16px;
    padding: 14px;
    background: #f8fafc;
}

.info-grid strong {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 13px;
}

.info-grid span {
    color: #111827;
    font-weight: 800;
}

.tag-links a {
    background: #f1f5f9;
    color: #475569;
}

.tag-links a:hover {
    background: #fff7ed;
    color: #c2410c;
}

.related-sidebar {
    position: sticky;
    top: 90px;
}

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

.related-list .compact-card {
    grid-template-columns: 118px minmax(0, 1fr);
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.related-list .compact-cover {
    border-radius: 14px;
}

.related-list .compact-card p {
    -webkit-line-clamp: 2;
}

.site-footer {
    margin-top: 30px;
    background: #111827;
    color: #cbd5e1;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 46px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 580px;
    margin: 0;
    color: #94a3b8;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover {
    color: #fdba74;
}

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

.is-hidden {
    display: none !important;
}

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

    .mobile-toggle {
        display: block;
    }

    .site-header.is-open .nav-inner {
        height: auto;
        min-height: 66px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .site-header.is-open .nav-links,
    .site-header.is-open .nav-search {
        display: grid;
        width: 100%;
    }

    .site-header.is-open .nav-links {
        gap: 8px;
        padding-top: 10px;
    }

    .site-header.is-open .nav-link {
        padding: 10px 0;
    }

    .nav-menu {
        display: none;
    }

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

    .hero-section {
        height: auto;
        min-height: 680px;
        padding: 54px 0;
    }

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

    .compact-grid,
    .ranking-grid,
    .wide-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .related-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .nav-inner,
    .home-strip,
    .content-section,
    .detail-layout,
    .page-main,
    .detail-inner {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-inner {
        gap: 28px;
    }

    .hero-copy h1,
    .detail-title-block h1 {
        font-size: 38px;
    }

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

    .hero-actions,
    .category-actions,
    .search-page-form {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button,
    .search-page-form button {
        width: 100%;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-body h3 {
        min-height: auto;
        font-size: 15px;
    }

    .compact-card,
    .wide-card,
    .rank-row {
        grid-template-columns: 1fr;
    }

    .wide-cover,
    .compact-cover,
    .rank-cover {
        aspect-ratio: 16 / 9;
    }

    .rank-number {
        width: 48px;
        height: 48px;
    }

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

    .category-overview-card,
    .detail-card,
    .related-box,
    .page-hero {
        border-radius: 20px;
    }

    .category-collage {
        height: 130px;
    }

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

    .footer-inner {
        gap: 24px;
    }
}

@media (max-width: 430px) {
    .movie-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
