:root {
    --blue: #2563eb;
    --cyan: #06b6d4;
    --teal: #14b8a6;
    --orange: #f97316;
    --red: #ef4444;
    --green: #10b981;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --panel: #ffffff;
    --soft: #f8fafc;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-icon,
.footer-logo span {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
    font-size: 15px;
}

.brand-text {
    font-size: 22px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 700;
}

.nav-link {
    color: #374151;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #1f2937;
    border-radius: 999px;
}

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

.mobile-nav.open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

.mobile-link:hover,
.mobile-link.active {
    background: #eff6ff;
    color: var(--blue);
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, #2563eb 0%, #06b6d4 52%, #14b8a6 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18), transparent 25%), linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.18));
}

.hero-shell {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 600px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: 52px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 620px;
    margin: 0 0 24px;
    color: #e0fbff;
    font-size: 20px;
    line-height: 1.85;
}

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

.hero-tags span,
.tag-cloud a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

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

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

.primary-button {
    color: var(--blue);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

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

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-poster {
    position: relative;
    display: block;
    min-height: 420px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.35);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-poster img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82));
}

.hero-poster-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: grid;
    gap: 4px;
}

.hero-poster-caption b {
    font-size: 28px;
}

.hero-poster-caption small {
    color: #a5f3fc;
    font-weight: 800;
}

.hero-play,
.poster-play,
.big-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 74px;
    height: 74px;
    margin: auto;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.9);
    font-size: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.search-entry,
.section-shell,
.detail-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.search-entry {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 450px);
    gap: 24px;
    align-items: center;
    margin-top: -46px;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
}

.search-entry h2,
.section-title h2,
.page-hero h1,
.detail-card h1 {
    margin: 0;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.search-entry p,
.section-title p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.home-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    background: #ffffff;
    color: var(--ink);
}

.home-search input {
    border: 0;
    background: transparent;
}

.home-search button {
    min-width: 88px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    font-weight: 900;
    cursor: pointer;
}

.section-shell {
    padding: 72px 0 0;
}

.section-shell.soft-bg {
    width: 100%;
    max-width: none;
    padding: 72px max(16px, calc((100% - 1180px) / 2)) 72px;
    background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-title > div {
    flex: 1;
}

.section-title h2 {
    font-size: 32px;
}

.section-title a,
.text-button {
    color: var(--blue);
    font-weight: 900;
}

.section-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
}

.section-icon.warm {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.section-icon.fresh {
    background: linear-gradient(135deg, var(--green), #059669);
}

.section-icon.category {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.section-icon.rank {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.compact-grid {
    gap: 18px;
}

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

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

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

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

.poster-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.poster-year {
    right: 12px;
    background: rgba(0, 0, 0, 0.64);
}

.rank-badge {
    left: 12px;
    background: var(--red);
}

.poster-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 48px;
    height: 48px;
    margin: auto;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

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

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

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
}

.genre-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--blue);
    background: #dbeafe;
    font-size: 12px;
    font-weight: 900;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.82));
}

.category-tile span,
.category-tile em {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
}

.category-tile span {
    bottom: 72px;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
}

.category-tile em {
    bottom: 22px;
    color: #dbeafe;
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 36px 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.rank-row strong {
    color: var(--red);
    font-size: 20px;
    text-align: center;
}

.rank-row img {
    width: 74px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: #dbeafe;
}

.rank-row span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rank-row b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.full-rank .rank-row {
    grid-template-columns: 54px 96px minmax(0, 1fr);
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

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

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

.page-hero p {
    max-width: 760px;
    color: #e0faff;
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.5fr;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.empty-state {
    display: none;
    padding: 46px;
    border-radius: 24px;
    background: #ffffff;
    color: var(--muted);
    text-align: center;
    box-shadow: var(--shadow);
}

.empty-state.show {
    display: block;
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-cover {
    overflow: hidden;
    border-radius: 18px;
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    background: #dbeafe;
}

.category-card-large h2 {
    margin: 4px 0 10px;
    font-size: 26px;
}

.category-card-large p {
    color: var(--muted);
    line-height: 1.75;
}

.category-card-large ul {
    margin: 12px 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.8;
}

.detail-main {
    padding: 28px 0 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 800;
}

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

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.22);
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.32), rgba(0, 0, 0, 0.72));
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
}

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

.big-play {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    font-size: 30px;
}

.player-toolbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.player-toolbar button {
    min-width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-weight: 900;
    cursor: pointer;
}

.detail-card,
.side-card {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-card {
    padding: 28px;
}

.detail-card h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 4vw, 48px);
}

.lead {
    margin: 0 0 18px;
    color: #334155;
    font-size: 19px;
    line-height: 1.9;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #1e40af;
    background: #dbeafe;
    font-size: 13px;
    font-weight: 900;
}

.detail-card .tag-cloud a {
    color: var(--blue);
    background: #eff6ff;
}

.detail-card h2 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.detail-card p {
    color: #374151;
    line-height: 2;
}

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

.side-card {
    padding: 18px;
}

.poster-side img {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin-bottom: 16px;
    background: #dbeafe;
}

.primary-button.wide {
    width: 100%;
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.side-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.slim .rank-row {
    grid-template-columns: 28px 64px minmax(0, 1fr);
    padding: 8px;
}

.slim .rank-row img {
    width: 64px;
    height: 48px;
}

.mini-title {
    margin-bottom: 18px;
}

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

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

.footer-brand p {
    max-width: 420px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

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

.site-footer a {
    color: #9ca3af;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 14px;
}

[data-card].hide {
    display: none;
}

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

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

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

    .menu-button {
        display: block;
    }

    .hero,
    .hero-shell {
        min-height: 760px;
    }

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

    .hero-poster {
        min-height: 300px;
    }

    .hero-poster img {
        height: 300px;
    }

    .hero-dots {
        bottom: 24px;
    }

    .search-entry {
        grid-template-columns: 1fr;
    }

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

    .category-grid,
    .category-list-large,
    .footer-inner,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        order: -1;
    }

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

@media (max-width: 640px) {
    .nav-shell,
    .search-entry,
    .section-shell,
    .detail-main,
    .footer-inner,
    .footer-bottom,
    .page-hero > div,
    .hero-shell {
        width: min(100% - 24px, 1180px);
    }

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

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

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

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

    .home-search {
        display: grid;
        border-radius: 18px;
    }

    .home-search button {
        min-height: 42px;
    }

    .section-title {
        align-items: flex-start;
    }

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

    .card-body {
        padding: 12px;
    }

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

    .page-hero > div {
        padding: 58px 0;
    }

    .detail-card {
        padding: 20px;
    }

    .player-toolbar button {
        min-width: 40px;
        font-size: 12px;
    }
}
