:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --blue: #2563eb;
    --indigo: #4f46e5;
    --gold: #f59e0b;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
}

.brand-text,
.footer-brand {
    font-size: 1.55rem;
    line-height: 1;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    color: #334155;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 66px;
    left: 50%;
    width: 180px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
    font-size: 0.94rem;
}

.dropdown-panel a:hover {
    color: var(--teal);
    background: #ecfeff;
}

.top-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 278px;
}

.top-search input,
.mobile-search input,
.search-panel input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid #cbd5e1;
    outline: none;
    color: #0f172a;
    background: #ffffff;
    transition: 0.2s ease;
}

.top-search input {
    height: 42px;
    padding: 0 46px 0 18px;
    border-radius: 999px;
}

.top-search input:focus,
.mobile-search input:focus,
.search-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14);
}

.top-search button {
    position: absolute;
    right: 5px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.mobile-nav.open {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-search input {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
}

.mobile-search button,
.search-panel button {
    border: 0;
    padding: 0 18px;
    border-radius: 14px;
    color: #ffffff;
    background: var(--teal);
}

.mobile-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-links a {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue), var(--indigo));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 54px 54px;
}

.hero-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 82px max(32px, calc((100vw - 1240px) / 2)) 72px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-kicker,
.page-hero span,
.detail-label,
.section-heading span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 12px;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(1.6rem, 3vw, 3rem);
    line-height: 1.12;
    font-weight: 850;
}

.hero p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #dbeafe;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 850;
    transition: 0.2s ease;
}

.primary-btn {
    color: var(--teal);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

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

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    display: block;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
    box-shadow: 0 36px 80px rgba(15, 23, 42, 0.35);
}

.hero-poster img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.35);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: 0.2s ease;
}

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

.feature-strip {
    width: min(1240px, calc(100% - 32px));
    margin: -44px auto 42px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-item {
    min-height: 100px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.feature-item strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}

.feature-item span {
    color: var(--muted);
    font-size: 0.94rem;
}

.content-section {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0;
}

.soft-section {
    width: 100%;
    padding: 62px max(16px, calc((100vw - 1240px) / 2));
    background: linear-gradient(180deg, #ffffff, #eefdfb);
}

.section-heading {
    position: relative;
    margin-bottom: 28px;
}

.section-heading span {
    color: var(--teal);
    background: #ccfbf1;
}

.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-more {
    position: absolute;
    right: 0;
    bottom: 0;
    color: var(--teal);
    font-weight: 850;
}

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

.category-card a,
.category-overview-card {
    display: block;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transition: 0.22s ease;
}

.category-card a:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-icon,
.category-overview-main span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #ffffff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    font-weight: 900;
}

.category-card h3,
.category-overview-card h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 900;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.category-mini-links,
.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-mini-links a,
.overview-links a {
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    color: var(--teal);
    background: #f0fdfa;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 750;
}

.category-overview-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: 0.22s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #0d9488, #2563eb 52%, #4f46e5);
}

.poster-frame::after {
    content: attr(data-title);
    position: absolute;
    inset: auto 16px 18px 16px;
    display: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.4);
}

.poster-frame.image-empty::after {
    display: block;
}

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

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

.quality-badge,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.quality-badge {
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(204, 251, 241, 0.96);
    font-size: 0.75rem;
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold), #ef4444);
}

.play-chip {
    left: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.08rem;
    font-weight: 900;
}

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

.card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.92rem;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.83rem;
    font-weight: 750;
}

.meta-row span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

.compact-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
}

.compact-card .poster-frame {
    aspect-ratio: 2 / 3;
    height: 100%;
}

.compact-card .card-body h3 {
    white-space: normal;
}

.compact-card .card-body p {
    -webkit-line-clamp: 3;
}

.page-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 70px max(16px, calc((100vw - 1240px) / 2));
    color: #ffffff;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.96), rgba(37, 99, 235, 0.92), rgba(79, 70, 229, 0.9));
}

.page-hero h1 {
    max-width: 860px;
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbeafe;
    font-size: 1.08rem;
}

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

.filter-bar label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 850;
}

.filter-bar input,
.filter-bar select {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
}

.search-panel {
    margin-bottom: 24px;
}

.search-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.search-panel input {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
}

.empty-state {
    margin: 28px 0 0;
    padding: 30px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background: #ffffff;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-shell {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: #dbeafe;
    font-size: 0.92rem;
}

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

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

.detail-poster {
    border-radius: 30px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.detail-info h1 {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.detail-info p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #e0f2fe;
    font-size: 1.1rem;
}

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

.detail-meta span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.detail-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

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

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

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.18), rgba(15, 23, 42, 0.72));
    transition: 0.2s ease;
}

.play-overlay:hover {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.66));
}

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

.play-overlay-icon {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 20px 42px rgba(13, 148, 136, 0.34);
    font-size: 2rem;
}

.play-overlay strong {
    font-size: 1.25rem;
}

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

.text-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.text-panel h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 900;
}

.text-panel p {
    margin: 0;
    color: #334155;
    text-align: justify;
}

.site-footer {
    margin-top: 40px;
    padding: 44px 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.footer-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-shell p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-content: flex-start;
}

.footer-links a {
    color: #334155;
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--teal);
}

[hidden] {
    display: none !important;
}

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 420px;
        height: 420px;
    }

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

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-shell {
        gap: 14px;
    }

    .brand-text {
        font-size: 1.28rem;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 58px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 280px;
        height: 320px;
    }

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .footer-shell {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .nav-shell {
        width: min(100% - 22px, 1240px);
        height: 64px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .brand-text {
        font-size: 1.08rem;
    }

    .mobile-links,
    .feature-strip,
    .movie-grid,
    .ranking-grid,
    .category-grid,
    .category-overview-grid,
    .search-panel form {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-track {
        min-height: 820px;
    }

    .hero-slide {
        padding-inline: 18px;
    }

    .hero h1 {
        letter-spacing: -0.05em;
    }

    .content-section,
    .detail-shell,
    .footer-shell {
        width: min(100% - 22px, 1240px);
    }

    .soft-section {
        padding-inline: 11px;
    }

    .section-more {
        position: static;
        display: inline-flex;
        margin-top: 14px;
    }

    .compact-card {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .page-hero {
        min-height: 280px;
        padding-inline: 16px;
    }

    .detail-info h1 {
        font-size: 2.2rem;
    }
}
