:root {
    color-scheme: dark;
    --page-bg: #090812;
    --panel-bg: rgba(20, 18, 34, 0.78);
    --panel-strong: rgba(34, 28, 52, 0.92);
    --line: rgba(255, 255, 255, 0.12);
    --text: #fff7ff;
    --muted: #b7aeca;
    --soft: #8d83a5;
    --pink: #ec4899;
    --rose: #fb7185;
    --violet: #8b5cf6;
    --cyan: #22d3ee;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(236, 72, 153, 0.28), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.28), transparent 30rem),
        linear-gradient(135deg, #07060d 0%, #151026 45%, #080813 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 8, 18, 0.78);
    backdrop-filter: blur(22px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
}

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

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    box-shadow: 0 14px 34px rgba(236, 72, 153, 0.36);
    font-size: 22px;
}

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

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

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: #fff;
}

.mobile-panel {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    background: rgba(20, 18, 34, 0.96);
}

.mobile-links,
.mobile-categories {
    display: grid;
    gap: 8px;
}

.mobile-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.mobile-categories a {
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
}

.hero-section {
    position: relative;
    width: min(1300px, calc(100% - 32px));
    min-height: 720px;
    margin: 28px auto 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 42px;
    background: #0d0b18;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(7, 6, 13, 0.96) 0%, rgba(7, 6, 13, 0.72) 42%, rgba(7, 6, 13, 0.22) 100%),
        linear-gradient(0deg, rgba(7, 6, 13, 0.94) 0%, rgba(7, 6, 13, 0.08) 45%, rgba(7, 6, 13, 0.82) 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
    align-items: center;
    gap: 56px;
    min-height: 620px;
    padding: 72px;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    border: 1px solid rgba(236, 72, 153, 0.34);
    border-radius: 999px;
    padding: 7px 13px;
    color: #ffd5eb;
    background: rgba(236, 72, 153, 0.12);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 82px);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-meta,
.detail-meta {
    margin: 22px 0 0;
    color: #f7cfe5;
    font-size: 18px;
    font-weight: 700;
}

.hero-summary,
.page-hero p,
.detail-line {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

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

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

.primary-btn,
.home-search-form button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.34);
}

.ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.primary-btn:hover,
.ghost-btn:hover,
.home-search-form button:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.54);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 900;
}

.hero-tabs {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hero-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 8px;
    color: var(--muted);
    background: rgba(10, 9, 18, 0.72);
    backdrop-filter: blur(16px);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-tab img {
    width: 48px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: cover;
}

.hero-tab span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-tab.is-active,
.hero-tab:hover {
    border-color: rgba(236, 72, 153, 0.56);
    color: #ffffff;
    background: rgba(236, 72, 153, 0.16);
    transform: translateY(-2px);
}

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

.section-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--panel-bg);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

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

.section-heading.compact {
    align-items: center;
}

.section-heading h2,
.quick-search h2,
.player-section h2,
.detail-text h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.more-link {
    color: #ffd5eb;
    font-weight: 800;
}

.quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    align-items: center;
    gap: 22px;
}

.home-search-form {
    display: flex;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.07);
}

.home-search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0 18px;
    color: #ffffff;
    background: transparent;
    outline: none;
}

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

.category-pill,
.category-card-large {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-pill {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 18px;
}

.category-pill span {
    font-size: 20px;
    font-weight: 950;
}

.category-pill em,
.category-card-large p,
.movie-line,
.movie-meta,
.detail-text p,
.footer-inner p {
    color: var(--muted);
    font-style: normal;
    line-height: 1.75;
}

.category-pill:hover,
.category-card-large:hover,
.movie-card:hover {
    border-color: rgba(236, 72, 153, 0.38);
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.11));
    transform: translateY(-3px);
}

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

.rank-panel {
    position: sticky;
    top: 96px;
    align-self: start;
}

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

.mini-rank-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.mini-rank-item span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    font-size: 13px;
    font-weight: 950;
}

.mini-rank-item strong,
.mini-rank-item em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-rank-item em {
    grid-column: 2;
    color: var(--soft);
    font-size: 12px;
    font-style: normal;
}

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

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

.movie-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

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

.movie-card:hover .poster-link img {
    filter: saturate(1.12) contrast(1.08);
    transform: scale(1.055);
}

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.84) 100%);
}

.poster-year,
.poster-type,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 900;
}

.poster-year {
    top: 10px;
    left: 10px;
}

.poster-type {
    right: 10px;
    bottom: 10px;
}

.rank-badge {
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
}

.movie-card-body {
    display: grid;
    gap: 8px;
    padding: 16px 16px 10px;
}

.movie-card h3 {
    overflow: hidden;
    margin: 0;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.32;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-meta {
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-line {
    display: -webkit-box;
    min-height: 3.4em;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding: 0 16px 16px;
}

.tag-list span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 5px 9px;
    color: #dacfe7;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 700;
}

.page-hero,
.detail-hero {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 38px;
    padding: 44px;
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.28), transparent 26rem),
        radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.15), transparent 22rem),
        rgba(20, 18, 34, 0.72);
    box-shadow: var(--shadow);
}

.page-hero h1,
.detail-info h1 {
    font-size: clamp(34px, 5vw, 64px);
}

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

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

.category-card-large {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 16px;
}

.category-cover {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.category-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.category-cover span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    font-size: 20px;
    font-weight: 950;
}

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

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

.category-samples a {
    border-radius: 999px;
    padding: 7px 11px;
    color: #ffd5eb;
    background: rgba(236, 72, 153, 0.12);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 180px 180px;
    gap: 14px;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 14px;
    background: rgba(20, 18, 34, 0.82);
    backdrop-filter: blur(18px);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.filter-panel select option {
    color: #111111;
}

.movie-card.is-hidden {
    display: none;
}

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

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

.breadcrumb a {
    color: #ffd5eb;
    font-weight: 800;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    font-weight: 900;
}

.detail-tags {
    margin-top: 22px;
    padding: 0;
}

.player-section h2 {
    margin-bottom: 18px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.video-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    padding: 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
}

.play-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: blur(2px) saturate(1.15);
    transform: scale(1.02);
}

.play-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.66));
}

.play-cover.is-hidden {
    display: none;
}

.play-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    padding-left: 6px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    box-shadow: 0 20px 48px rgba(236, 72, 153, 0.4);
    font-size: 40px;
}

.play-title {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    overflow: hidden;
    font-size: clamp(22px, 5vw, 46px);
    font-weight: 950;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.detail-text article {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.detail-text h2 {
    margin-bottom: 14px;
    font-size: 28px;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 60px;
    background: rgba(5, 5, 10, 0.58);
}

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

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

.footer-links a {
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
}

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

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

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 260px;
        padding: 54px;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-section {
        min-height: auto;
        border-radius: 28px;
    }

    .hero-slide {
        position: relative;
        display: none;
        min-height: 680px;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-content,
    .detail-layout,
    .quick-search,
    .split-layout,
    .footer-inner,
    .detail-text,
    .category-card-large,
    .category-overview {
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: 610px;
        padding: 34px;
    }

    .hero-poster {
        display: none;
    }

    .hero-tabs {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .hero-tab:not(.is-active) {
        display: none;
    }

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

    .rank-panel {
        position: static;
    }

    .detail-poster {
        max-width: 320px;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .mobile-panel,
    .section-shell,
    .page-hero,
    .detail-hero,
    .filter-panel,
    .hero-section {
        width: min(100% - 22px, 1220px);
    }

    .section-shell,
    .page-hero,
    .detail-hero {
        border-radius: 24px;
        padding: 20px;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        letter-spacing: -0.04em;
    }

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

    .movie-card-body {
        padding: 12px 12px 8px;
    }

    .movie-card h3 {
        font-size: 15px;
    }

    .tag-list {
        padding: 0 12px 12px;
    }

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

    .home-search-form input {
        min-height: 46px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .home-grid,
    .category-strip,
    .mobile-categories {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .inline-actions {
        display: grid;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }
}
