
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #14b8a6;
    --accent: #06b6d4;
    --dark: #111827;
    --muted: #6b7280;
    --soft: #f3f4f6;
    --line: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 48%, #f9fafb 100%);
    color: var(--dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

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

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

.brand-mark,
.footer-logo span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 14px;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.28);
}

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

.nav-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 650;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary-dark);
    background: #ecfdf5;
}

.nav-search {
    display: flex;
    align-items: center;
    width: 290px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
}

.nav-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 10px 12px 10px 16px;
    color: #111827;
}

.nav-search button {
    border: 0;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    padding: 10px;
}

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

.hero {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b, #0f766e 52%, #155e75);
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(16, 185, 129, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.hero-kicker,
.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #d1fae5;
    border: 1px solid rgba(167, 243, 208, 0.28);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.pill {
    color: var(--primary-dark);
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.hero h1 {
    max-width: 760px;
    margin: 20px 0 16px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 680px;
    margin: 0;
    color: #e5e7eb;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.75;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
}

.hero-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-size: 14px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px) scale(1.01);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

.btn.ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.btn.small {
    min-height: 38px;
    border-radius: 12px;
    padding: 0 14px;
    color: var(--primary-dark);
    background: #ecfdf5;
}

.btn.full {
    width: 100%;
    margin-top: 16px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 34px;
    line-height: 1;
    transition: all 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: white;
}

.quick-search-section {
    margin-top: -32px;
    position: relative;
    z-index: 10;
}

.quick-search {
    display: flex;
    overflow: hidden;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.quick-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 22px 24px;
    font-size: 18px;
}

.quick-search button {
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0 34px;
    font-weight: 850;
}

.section {
    padding: 72px 0;
}

.section.white {
    background: #ffffff;
}

.section.soft {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.gradient-band {
    background: linear-gradient(135deg, #059669, #0f766e 55%, #0891b2);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-heading.light {
    color: white;
}

.heading-bar {
    width: 5px;
    height: 38px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.section-heading.light .heading-bar {
    background: rgba(255, 255, 255, 0.62);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
}

.section-heading.light p {
    color: rgba(255, 255, 255, 0.78);
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.72);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.26);
    box-shadow: var(--shadow);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111827;
}

.movie-thumb img,
.row-thumb img,
.movie-large-card img,
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .movie-thumb img,
.movie-row-card:hover .row-thumb img,
.movie-large-card:hover img,
.category-card:hover img {
    transform: scale(1.08);
}

.movie-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.52));
    opacity: 0.9;
}

.movie-play,
.row-thumb span,
.large-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    font-size: 18px;
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: all 0.25s ease;
}

.movie-card:hover .movie-play,
.movie-row-card:hover .row-thumb span,
.movie-large-card:hover .large-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-year,
.rank-badge {
    position: absolute;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(6px);
}

.movie-year {
    right: 12px;
    bottom: 12px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.movie-info {
    padding: 18px;
}

.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.movie-meta span,
.detail-meta span {
    border-radius: 999px;
    background: #f3f4f6;
    padding: 4px 8px;
}

.movie-info h3,
.row-info h3 {
    margin: 10px 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3,
.movie-row-card:hover h3 {
    color: var(--primary-dark);
}

.movie-info p,
.row-info p {
    margin: 0;
    color: #6b7280;
    line-height: 1.65;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--primary-dark);
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 750;
}

.tag-row.wide span {
    font-size: 13px;
    padding: 6px 10px;
}

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

.movie-row-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.75);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

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

.movie-row-card a {
    display: flex;
    min-height: 132px;
}

.row-thumb {
    position: relative;
    width: 190px;
    flex: 0 0 190px;
    overflow: hidden;
    background: #111827;
}

.row-info {
    min-width: 0;
    padding: 16px;
}

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

.movie-large-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: 0 18px 42px rgba(2, 44, 34, 0.24);
}

.movie-large-card a,
.movie-large-card img,
.large-card-overlay {
    position: absolute;
    inset: 0;
}

.large-card-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.82));
    color: white;
}

.large-card-overlay h3 {
    margin: 12px 0 8px;
    font-size: 28px;
    line-height: 1.22;
}

.large-card-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.large-play {
    position: static;
    flex: 0 0 58px;
    transform: scale(0.9);
}

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

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

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

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 22px;
    background: #111827;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.12);
}

.category-card a,
.category-card img,
.category-card-body {
    position: absolute;
    inset: 0;
}

.category-card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.category-card-body span {
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(16, 185, 129, 0.82);
    font-size: 12px;
    font-weight: 800;
}

.category-card-body h3 {
    margin: 12px 0 8px;
    font-size: 24px;
}

.category-card-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    font-size: 14px;
}

.ranking-box,
.side-card,
.detail-card {
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.75);
    box-shadow: var(--shadow-soft);
}

.ranking-box {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.ranking-box h2,
.side-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.ranking-box p {
    margin: 0 0 18px;
    color: var(--muted);
}

.rank-lines {
    display: grid;
    gap: 8px;
}

.rank-line {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #f9fafb;
    transition: background 0.2s ease;
}

.rank-line:hover {
    background: #ecfdf5;
}

.rank-line span {
    grid-row: span 2;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #111827;
    color: white;
    font-size: 13px;
    font-weight: 850;
}

.rank-line strong,
.rank-line em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-line strong {
    color: #111827;
}

.rank-line em {
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    background: linear-gradient(135deg, #064e3b, #0f766e 56%, #155e75);
    color: white;
}

.compact-hero {
    padding: 74px 0 62px;
}

.compact-hero h1 {
    max-width: 820px;
    margin: 18px 0 14px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.compact-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
}

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

.compact-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.72);
}

.compact-hero .breadcrumb a {
    color: white;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px auto auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid rgba(229, 231, 235, 0.85);
    border-radius: 22px;
    background: white;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.search-panel {
    grid-template-columns: minmax(220px, 1fr) 150px 170px auto auto;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    padding: 12px 14px;
    background: #f9fafb;
    color: #111827;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(16, 185, 129, 0.58);
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.filter-panel button {
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    background: #111827;
    color: white;
    font-weight: 800;
}

.filter-count {
    color: var(--primary-dark);
    font-weight: 850;
    white-space: nowrap;
}

.category-preview {
    margin-bottom: 52px;
}

.category-preview:last-child {
    margin-bottom: 0;
}

.category-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.category-preview-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.category-preview-head p {
    margin: 0;
    color: var(--muted);
}

.player-section {
    background: #020617;
}

.player-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.video-shell video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: #000000;
    color: white;
    overflow: hidden;
}

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

.player-cover img,
.player-cover-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.88;
}

.player-cover-shade {
    background: radial-gradient(circle at 50% 48%, rgba(16, 185, 129, 0.28), rgba(0, 0, 0, 0.72));
}

.player-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    font-size: 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.player-cover:hover .player-button {
    transform: scale(1.08);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.detail-card {
    padding: 26px;
}

.detail-head {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.detail-head img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.detail-head h1 {
    margin: 16px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.detail-head p {
    margin: 18px 0 0;
    color: #4b5563;
    line-height: 1.8;
    font-size: 17px;
}

.prose-block,
.review-box {
    margin-top: 28px;
}

.prose-block h2,
.review-box h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.prose-block p,
.review-box p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
    font-size: 16px;
}

.review-box {
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    padding: 22px;
}

.detail-side {
    min-width: 0;
}

.sticky-side {
    position: sticky;
    top: 92px;
}

.side-card {
    padding: 20px;
}

.side-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.side-list .movie-row-card a {
    min-height: 92px;
}

.side-list .row-thumb {
    width: 122px;
    flex-basis: 122px;
}

.side-list .row-info {
    padding: 10px;
}

.side-list .row-info h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

.side-list .row-info p {
    font-size: 12px;
    line-height: 1.5;
}

.side-list .movie-meta {
    display: none;
}

.site-footer {
    background: linear-gradient(135deg, #111827, #1f2937 58%, #111827);
    color: #d1d5db;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.footer-brand p {
    margin: 12px 0 0;
    max-width: 620px;
    color: #9ca3af;
    line-height: 1.7;
}

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

.footer-links a {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d1d5db;
}

.footer-links a:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}

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

@media (max-width: 1080px) {
    .cards-4,
    .category-grid.overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .two-column,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .ranking-box,
    .sticky-side {
        position: static;
    }

    .search-panel,
    .filter-panel {
        grid-template-columns: minmax(220px, 1fr) 160px auto;
    }

    .search-panel select[data-filter-category],
    .filter-count {
        grid-column: span 1;
    }
}

@media (max-width: 860px) {
    .site-nav {
        min-height: 64px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 16px;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-search {
        width: 100%;
    }

    .hero {
        height: 580px;
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 92px;
    }

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

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

    .hero-arrow {
        display: none;
    }

    .quick-search {
        flex-direction: column;
        border-radius: 18px;
    }

    .quick-search button {
        min-height: 52px;
    }

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

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

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

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

@media (max-width: 620px) {
    .container,
    .site-nav,
    .footer-inner,
    .hero-content {
        width: min(100% - 22px, 1180px);
    }

    .section {
        padding: 48px 0;
    }

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

    .hero {
        height: 560px;
    }

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

    .hero-tags,
    .hero-actions {
        gap: 8px;
    }

    .btn {
        min-height: 42px;
        padding: 0 15px;
    }

    .cards-3,
    .cards-4,
    .row-grid,
    .large-grid,
    .category-grid,
    .category-grid.overview {
        grid-template-columns: 1fr;
    }

    .movie-row-card a {
        min-height: 112px;
    }

    .row-thumb {
        width: 132px;
        flex-basis: 132px;
    }

    .row-info {
        padding: 12px;
    }

    .large-card-overlay {
        padding: 20px;
    }

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

    .filter-count {
        justify-self: start;
    }

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

    .detail-card {
        padding: 18px;
    }

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

    .detail-head img {
        max-width: 220px;
    }

    .player-button {
        width: 70px;
        height: 70px;
    }
}
