:root {
    --red: #dc2626;
    --red-dark: #b91c1c;
    --orange: #f97316;
    --green: #14532d;
    --green-soft: #dcfce7;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --bg: #f8fafc;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 38%, #ecfdf5 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

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

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

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.26);
}

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

.brand-text strong {
    font-size: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}

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

.nav-links a,
.mobile-panel a {
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--red);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
}

.nav-search input,
.mobile-panel input,
.large-search input,
.page-filter,
.search-page-form input {
    border: 0;
    outline: 0;
    background: #ffffff;
    color: var(--ink);
}

.nav-search input {
    width: 210px;
    border-radius: 999px;
    padding: 9px 12px;
}

.nav-search button,
.mobile-panel button,
.large-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    background: #f3f4f6;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.mobile-panel.is-open {
    display: grid;
    gap: 14px;
}

.mobile-panel form {
    display: flex;
    gap: 8px;
}

.mobile-panel input {
    flex: 1;
    border-radius: 999px;
    padding: 12px 14px;
}

.hero-carousel {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(249, 115, 22, 0.38), transparent 30%),
        linear-gradient(100deg, rgba(17, 24, 39, 0.96) 0%, rgba(127, 29, 29, 0.74) 45%, rgba(17, 24, 39, 0.28) 100%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100% - 1180px) / 2));
    bottom: 110px;
    width: min(660px, calc(100% - 64px));
    color: #ffffff;
}

.eyebrow,
.section-head span,
.page-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fed7aa;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}

.hero-content h1 {
    margin: 16px 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-content p {
    margin: 0;
    color: #fef2f2;
    font-size: 18px;
    line-height: 1.8;
    max-width: 610px;
}

.hero-tags,
.movie-card-tags,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.hero-tags span,
.movie-card-tags span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.25);
}

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

.btn-light {
    color: #991b1b;
    background: #ffffff;
}

.btn.small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.42);
    backdrop-filter: blur(12px);
}

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-prev,
.hero-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.search-strip,
.section-wrap,
.inner-page {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.search-strip {
    margin-top: -58px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.search-strip h2,
.search-strip p {
    margin: 0;
}

.search-strip h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
}

.search-strip p {
    color: var(--muted);
    margin-top: 8px;
}

.large-search,
.search-page-form {
    display: flex;
    gap: 12px;
}

.large-search input,
.search-page-form input {
    flex: 1;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.large-search button,
.search-page-form button {
    padding: 0 26px;
}

.section-wrap {
    padding: 76px 0 0;
}

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

.section-head span,
.page-title span {
    color: var(--red);
}

.section-head h2,
.page-title h1 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.section-head a {
    color: var(--red);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card:hover img {
    transform: scale(1.08);
    opacity: 0.76;
}

.category-card div {
    position: absolute;
    inset: auto 16px 16px;
    color: #ffffff;
}

.category-card strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card span {
    display: block;
    color: #fee2e2;
    font-size: 13px;
    line-height: 1.6;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

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

.movie-card:hover .poster-wrap img {
    transform: scale(1.06);
}

.poster-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.88);
    box-shadow: 0 12px 24px rgba(127, 29, 29, 0.28);
}

.rank-mark {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, var(--red));
    font-weight: 900;
}

.movie-card-body {
    padding: 18px;
}

.movie-card-meta {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.movie-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.movie-card h3 a:hover {
    color: var(--red);
}

.movie-card p {
    margin: 10px 0 14px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-tags span {
    background: #fef2f2;
    color: var(--red-dark);
    border-color: #fee2e2;
    font-size: 12px;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

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

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

.dark-section {
    width: min(1220px, calc(100% - 16px));
    padding: 66px 20px 32px;
    margin-top: 70px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.22), transparent 34%),
        linear-gradient(135deg, #111827, #14532d);
}

.dark-section .section-head h2,
.dark-section .section-head a {
    color: #ffffff;
}

.dark-section .section-head span {
    color: #fdba74;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.ranking-cover {
    position: relative;
    display: block;
    width: 96px;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #fee2e2;
}

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

.ranking-cover span {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 900;
}

.ranking-info h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.ranking-info h3 a:hover {
    color: var(--red);
}

.ranking-info p {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.7;
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.ranking-heat {
    color: var(--red);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.inner-page {
    padding-top: 112px;
    padding-bottom: 80px;
}

.page-title {
    padding: 52px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 82% 16%, rgba(249, 115, 22, 0.22), transparent 28%),
        rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.page-title p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4b5563;
    line-height: 1.8;
    font-size: 17px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

.overview-image {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    background: #fee2e2;
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-card span {
    color: var(--red);
    font-weight: 900;
    font-size: 13px;
}

.category-overview-card h2 {
    margin: 10px 0;
    font-size: 27px;
}

.category-overview-card p {
    color: #4b5563;
    line-height: 1.7;
}

.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.overview-links a {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--red);
}

.filter-bar,
.search-page-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.page-filter {
    flex: 1;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.filter-hint,
.search-summary {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

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

.full-ranking {
    padding-bottom: 20px;
}

.search-page-panel {
    display: block;
}

.search-page-form {
    margin-bottom: 12px;
}

.search-results:empty::before {
    content: "输入关键词后显示匹配影片";
    grid-column: 1 / -1;
    color: var(--muted);
    padding: 28px;
    background: #ffffff;
    border-radius: 22px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 32px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 20%, rgba(249, 115, 22, 0.35), transparent 30%),
        linear-gradient(135deg, #111827, #7f1d1d 52%, #14532d);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    background: #fee2e2;
}

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

.detail-intro h1 {
    margin: 12px 0 16px;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-intro p {
    margin: 0 0 22px;
    color: #fee2e2;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-tags {
    margin-bottom: 28px;
}

.player-section {
    margin-top: 34px;
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.player-section h2,
.content-card h2 {
    margin: 0 0 18px;
    font-size: 26px;
    letter-spacing: -0.025em;
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: #000000;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.58));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding-left: 5px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 34px rgba(220, 38, 38, 0.35);
    font-size: 32px;
}

.player-cover strong {
    font-size: 20px;
    letter-spacing: 0.06em;
}

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

.content-card {
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.content-card p {
    margin: 0;
    color: #374151;
    line-height: 1.95;
    font-size: 16px;
}

.related-wrap {
    width: 100%;
    padding-top: 58px;
}

.site-footer {
    margin-top: 60px;
    color: #dcfce7;
    background:
        radial-gradient(circle at top right, rgba(220, 38, 38, 0.24), transparent 26%),
        linear-gradient(135deg, #052e16, #14532d);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    color: #bbf7d0;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #fdba74;
    font-size: 18px;
}

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

.footer-links a {
    color: #dcfce7;
    font-size: 14px;
    font-weight: 700;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(187, 247, 208, 0.18);
    color: #bbf7d0;
    font-size: 14px;
}

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

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

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

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

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

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

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

    .menu-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .hero-carousel {
        min-height: 680px;
    }

    .hero-content {
        bottom: 118px;
    }

    .search-strip {
        grid-template-columns: 1fr;
        margin-top: -40px;
        padding: 24px;
    }

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

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

    .ranking-row {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .ranking-heat {
        grid-column: 2;
    }

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

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

    .detail-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .nav-wrap {
        width: min(100% - 20px, 1180px);
        min-height: 66px;
    }

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

    .brand-text em {
        display: none;
    }

    .hero-carousel {
        min-height: 620px;
    }

    .hero-content {
        left: 20px;
        width: calc(100% - 40px);
        bottom: 108px;
    }

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

    .hero-actions {
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .search-strip,
    .section-wrap,
    .inner-page {
        width: min(100% - 20px, 1180px);
    }

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

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

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

    .page-title {
        padding: 30px 22px;
    }

    .detail-hero,
    .player-section,
    .content-card {
        padding: 20px;
        border-radius: 24px;
    }
}
