:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --secondary-50: #fff7ed;
    --secondary-100: #ffedd5;
    --secondary-600: #ea580c;
    --secondary-700: #c2410c;
    --accent-500: #eab308;
    --dark-50: #f8fafc;
    --dark-100: #f1f5f9;
    --dark-300: #cbd5e1;
    --dark-500: #64748b;
    --dark-600: #475569;
    --dark-700: #334155;
    --dark-800: #1e293b;
    --dark-900: #0f172a;
    --shadow-soft: 0 2px 15px 0 rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
    --shadow-hard: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
}

* {
    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(--dark-800);
    background: #f9fafb;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
    font: inherit;
}

.section-container {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.card {
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-medium);
}

.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.85);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    border-radius: 999px;
    box-shadow: var(--shadow-medium);
    font-size: 0.85rem;
}

.logo-text,
.footer-logo {
    font-size: 1.55rem;
    background: linear-gradient(90deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.65rem;
}

.nav-link {
    color: var(--dark-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--primary-600);
}

.mobile-menu-button {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.45rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--dark-100);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    background: var(--dark-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

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

.mobile-nav-panel {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.75rem;
    padding-bottom: 0.85rem;
}

.mobile-nav-link {
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    color: var(--dark-700);
    font-weight: 650;
}

.mobile-nav-link:hover {
    background: var(--primary-50);
}

.hero-carousel {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: var(--dark-900);
}

.hero-track,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-overlay {
    background:
        radial-gradient(circle at 72% 28%, rgba(37, 99, 235, 0.35), transparent 32%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(15, 23, 42, 0.30) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.55), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 760px;
    color: #ffffff;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-600);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 5.25rem);
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 680px;
    margin: 1.35rem 0 0;
    color: #e2e8f0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-tags {
    margin-top: 1.35rem;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-tags span {
    padding: 0.35rem 0.75rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.primary-button,
.ghost-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border-radius: 0.7rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    padding: 0.75rem 1.3rem;
    color: #ffffff;
    background: var(--primary-600);
    box-shadow: var(--shadow-medium);
}

.primary-button:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
}

.ghost-button {
    padding: 0.75rem 1.15rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.23);
}

.ghost-button.dark {
    color: var(--dark-700);
    background: #ffffff;
    border-color: #e2e8f0;
}

.ghost-button.dark:hover {
    color: var(--primary-600);
    border-color: var(--primary-100);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.64);
}

.hero-arrow-left {
    left: 1rem;
}

.hero-arrow-right {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.hero-dot {
    width: 1rem;
    height: 0.28rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.50);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: #ffffff;
}

.home-search-section {
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.home-search-card {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.home-search-card h2 {
    margin: 0 0 0.35rem;
    color: var(--dark-900);
    font-size: clamp(1.4rem, 3vw, 2.15rem);
    letter-spacing: -0.04em;
}

.home-search-card p {
    margin: 0;
    color: var(--dark-600);
    line-height: 1.7;
}

.home-search-box {
    display: flex;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 0.9rem;
    background: var(--primary-50);
}

.home-search-box input {
    width: 100%;
    min-height: 3.25rem;
    padding: 0 1rem;
    border: 0;
    outline: 0;
    background: transparent;
}

.home-search-box button {
    padding: 0 1.3rem;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    font-weight: 800;
    cursor: pointer;
}

.py-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--dark-900);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: -0.045em;
}

.section-heading a,
.text-button {
    color: var(--primary-600);
    font-weight: 800;
}

.light-heading h2,
.light-heading a {
    color: #ffffff;
}

.category-grid,
.category-overview-grid {
    display: grid;
    gap: 1rem;
}

.category-card,
.category-overview-card {
    display: block;
    padding: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
}

.category-card span,
.category-overview-card h2 {
    display: block;
    margin: 0 0 0.5rem;
    color: var(--dark-900);
    font-size: 1.15rem;
    font-weight: 850;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--dark-600);
    line-height: 1.65;
}

.category-overview-card {
    min-height: 220px;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.mini-links a {
    max-width: 100%;
    padding: 0.32rem 0.6rem;
    overflow: hidden;
    color: var(--dark-700);
    background: var(--dark-100);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-overview-card .text-button {
    margin-top: 1.1rem;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 1.15rem;
}

.compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.78);
}

.movie-cover-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-800), var(--primary-600));
}

.movie-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.movie-card:hover .movie-cover {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.movie-cover-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent 52%);
    opacity: 0.86;
}

.movie-year,
.movie-type,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.movie-year {
    left: 0.5rem;
    top: 0.5rem;
    background: rgba(37, 99, 235, 0.86);
}

.movie-type {
    right: 0.5rem;
    top: 0.5rem;
    background: rgba(234, 88, 12, 0.86);
}

.rank-badge {
    left: 0.5rem;
    bottom: 0.5rem;
    min-width: 2rem;
    background: rgba(15, 23, 42, 0.82);
}

.play-chip {
    right: 0.5rem;
    bottom: 0.5rem;
    opacity: 0;
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(0.3rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translateY(0);
}

.movie-card-body {
    padding: 0.85rem;
}

.movie-title-link h2 {
    margin: 0;
    color: var(--dark-900);
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card-body p {
    min-height: 3.2rem;
    margin: 0.55rem 0 0;
    color: var(--dark-600);
    font-size: 0.9rem;
    line-height: 1.58;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta-row {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.7rem;
    color: var(--dark-500);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
}

.movie-meta-row span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-row {
    margin-top: 0.7rem;
}

.tag-row span {
    padding: 0.25rem 0.55rem;
    color: var(--primary-700);
    background: var(--primary-50);
}

.large-tags {
    gap: 0.65rem;
}

.large-tags span {
    padding: 0.38rem 0.72rem;
}

.ranking-band {
    background:
        radial-gradient(circle at 18% 15%, rgba(234, 88, 12, 0.26), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.28), transparent 32%),
        linear-gradient(135deg, var(--dark-900), #111827 58%, #1e1b4b);
}

.ranking-band .movie-card {
    border-color: rgba(255, 255, 255, 0.10);
}

.horizontal-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 220px);
    gap: 1rem;
    overflow-x: auto;
    padding: 0.35rem 0.15rem 1.1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.horizontal-row::-webkit-scrollbar {
    display: none;
}

.horizontal-row .movie-card {
    scroll-snap-align: start;
}

.scroll-buttons {
    display: none;
    gap: 0.45rem;
}

.scroll-buttons button {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 999px;
    color: var(--dark-700);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    font-size: 1.45rem;
}

.sub-hero,
.detail-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.24), transparent 28%),
        radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.30), transparent 34%),
        linear-gradient(135deg, var(--dark-900), #1e293b);
}

.sub-hero {
    padding: 4.5rem 0 4rem;
}

.sub-hero h1,
.detail-info h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.sub-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #dbeafe;
    font-size: 1.05rem;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

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

.filter-panel {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 0.35rem;
    color: var(--dark-700);
    font-size: 0.86rem;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    min-height: 2.8rem;
    width: 100%;
    padding: 0 0.8rem;
    color: var(--dark-800);
    background: var(--dark-50);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.empty-state {
    display: none;
    margin: 2rem 0 0;
    padding: 1rem;
    text-align: center;
    color: var(--dark-600);
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    padding: 2rem 0 4rem;
}

.detail-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.detail-poster-card {
    width: min(100%, 330px);
    overflow: hidden;
    background: var(--dark-800);
}

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

.detail-info {
    max-width: 820px;
}

.detail-one-line {
    margin: 1.15rem 0 0;
    color: #dbeafe;
    font-size: 1.1rem;
    line-height: 1.85;
}

.detail-meta {
    margin-top: 1.2rem;
}

.detail-meta span {
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-content-section {
    padding-bottom: 1rem;
}

.detail-article {
    padding: clamp(1rem, 2.5vw, 2rem);
    border: 1px solid #e2e8f0;
}

.detail-article h2 {
    margin: 1.4rem 0 0.7rem;
    color: var(--dark-900);
    font-size: 1.35rem;
}

.detail-article h2:first-child {
    margin-top: 0;
}

.detail-article p {
    margin: 0;
    color: var(--dark-700);
    line-height: 1.9;
    white-space: pre-line;
}

.prev-next-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.prev-next-links a {
    padding: 0.55rem 0.8rem;
    color: var(--primary-700);
    background: var(--primary-50);
    border-radius: 0.7rem;
    font-weight: 800;
}

.player-card {
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.player-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.player-heading h2 {
    margin: 0;
    color: var(--dark-900);
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #000000;
    box-shadow: var(--shadow-hard);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 0.8rem;
    padding: 1rem;
    color: #ffffff;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.26), transparent 36%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.80));
    border: 0;
    cursor: pointer;
    text-align: center;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-circle {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    border-radius: 999px;
    box-shadow: var(--shadow-hard);
    font-size: 1.65rem;
}

.player-overlay strong {
    display: block;
    font-size: 1.1rem;
}

.site-footer {
    margin-top: 2rem;
    padding-top: 3rem;
    color: var(--dark-300);
    background: var(--dark-900);
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-grid p {
    max-width: 420px;
    margin: 0.8rem 0 0;
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: 1rem;
}

.footer-grid ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    text-align: center;
    color: var(--dark-500);
}

.footer-bottom p {
    margin: 0;
}

@media (min-width: 640px) {
    .section-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

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

    .filter-panel {
        grid-template-columns: 1fr 160px 160px;
        align-items: end;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.7fr 0.8fr;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-button {
        display: none;
    }

    .home-search-card {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
        padding: 1.5rem;
    }

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

    .scroll-buttons {
        display: flex;
    }

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

@media (min-width: 1024px) {
    .section-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

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

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

@media (max-width: 767px) {
    .hero-carousel {
        min-height: 620px;
    }

    .hero-copy {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .hero-actions,
    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .hero-arrow-left {
        left: 0.5rem;
    }

    .hero-arrow-right {
        right: 0.5rem;
    }

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

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

    .movie-card-body {
        padding: 0.72rem;
    }

    .movie-title-link h2 {
        font-size: 0.94rem;
    }

    .movie-card-body p {
        font-size: 0.84rem;
    }

    .detail-poster-card {
        margin: 0 auto;
    }

    .player-card {
        padding: 0.65rem;
    }
}
