:root {
    --emerald: #059669;
    --emerald-dark: #047857;
    --teal: #0d9488;
    --cyan: #0891b2;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --ink: #111827;
    --muted: #6b7280;
    --soft: #f3f4f6;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f9fafb;
    color: var(--ink);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #ffffff;
    background: linear-gradient(90deg, var(--emerald), var(--teal));
    box-shadow: 0 12px 30px rgba(4, 120, 87, 0.28);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-name {
    white-space: nowrap;
    font-size: 20px;
}

.brand-mark,
.footer-brand span {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

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

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #d1fae5;
    transform: translateY(-1px);
}

.header-search {
    width: 320px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.header-search input,
.mobile-panel input,
.big-search input,
.inline-filter input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.header-search input {
    padding: 8px 12px 8px 16px;
}

.header-search button,
.mobile-panel button,
.big-search button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: var(--emerald);
    border-radius: 999px;
    padding: 8px 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.big-search button:hover {
    background: var(--emerald-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

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

.mobile-panel form {
    display: flex;
    gap: 8px;
    margin: 14px auto;
    max-width: 620px;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px;
}

.mobile-panel input {
    padding: 10px 14px;
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto;
}

.mobile-panel a {
    padding: 8px 4px;
    font-weight: 700;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: linear-gradient(135deg, #047857 0%, #0f766e 45%, #155e75 100%);
}

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

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

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

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 22%, rgba(16, 185, 129, 0.48), transparent 26%),
        linear-gradient(90deg, rgba(4, 120, 87, 0.96) 0%, rgba(13, 148, 136, 0.9) 42%, rgba(17, 24, 39, 0.5) 100%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.46), rgba(17, 24, 39, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(690px, 100%);
    color: #ffffff;
    padding: 80px 0 110px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--emerald);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.rank-card .eyebrow {
    color: #d1fae5;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.hero-summary {
    max-width: 650px;
    margin: 24px 0;
    font-size: clamp(18px, 2.2vw, 24px);
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin: 0 0 26px;
}

.hero-feature span {
    color: #a7f3d0;
    font-weight: 700;
}

.hero-feature a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

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

.primary-btn,
.ghost-btn,
.text-link,
.small-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    color: #ffffff;
    background: var(--emerald);
    padding: 12px 22px;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.28);
}

.primary-btn:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    padding: 11px 20px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.12);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.wide {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    font-size: 36px;
    cursor: pointer;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.section-block {
    padding: 64px 0;
}

.intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
    margin-top: -42px;
    position: relative;
    z-index: 6;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 34px;
}

.intro-strip h2,
.section-title-row h2,
.rank-card h2,
.category-card-head h2,
.related-box h2,
.detail-card h2 {
    margin: 0;
    color: var(--ink);
    line-height: 1.2;
}

.intro-strip p:last-child {
    color: var(--muted);
    font-size: 18px;
}

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

.section-title-row h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.compact-row {
    align-items: center;
}

.text-link {
    color: var(--emerald);
    padding: 8px 0;
}

.text-link:hover {
    color: var(--emerald-dark);
    transform: translateX(3px);
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--emerald), var(--teal));
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:nth-child(2n) {
    background: linear-gradient(145deg, #0d9488, #0891b2);
}

.category-tile:nth-child(3n) {
    background: linear-gradient(145deg, #059669, #0f766e);
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-glow {
    position: absolute;
    right: -28px;
    top: -28px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.category-tile h2 {
    position: relative;
    margin: 0 0 12px;
    font-size: 24px;
}

.category-tile p {
    position: relative;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
}

.category-tile div {
    position: relative;
    display: grid;
    gap: 8px;
}

.category-tile span:not(.category-glow) {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

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

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

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

.movie-card {
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, #047857, #0f766e);
}

.movie-card.compact .poster-link {
    aspect-ratio: 16 / 10;
}

.poster-link img,
.ranking-cover img,
.recommend-card img,
.category-mini-list img,
.side-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img,
.recommend-card:hover img,
.ranking-item:hover img,
.category-mini-list a:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58));
}

.quality-badge,
.year-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.quality-badge {
    left: 12px;
    background: rgba(244, 63, 94, 0.86);
}

.year-badge {
    right: 12px;
    background: rgba(17, 24, 39, 0.66);
}

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

.movie-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    transition: color 0.2s ease;
}

.movie-title:hover,
.ranking-title:hover {
    color: var(--emerald);
}

.movie-meta {
    margin: 6px 0;
    color: var(--muted);
    font-size: 14px;
}

.movie-line {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.tag-row span,
.detail-tags a,
.ranking-tags span {
    border-radius: 999px;
    color: var(--emerald-dark);
    background: #d1fae5;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.rank-card,
.detail-card,
.player-card,
.related-box,
.side-poster,
.category-overview-card,
.search-panel {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.rank-card {
    position: sticky;
    top: 92px;
    padding: 26px;
}

.rank-card ol {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    gap: 14px;
}

.rank-card li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.rank-card li span,
.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    font-weight: 900;
}

.rank-card li a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.rank-card li em {
    color: var(--muted);
    font-style: normal;
}

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

.recommend-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.recommend-card img {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.recommend-card strong,
.ranking-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.recommend-card span {
    display: block;
    margin: 4px 0;
    color: var(--emerald);
    font-size: 13px;
    font-weight: 800;
}

.recommend-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.2), transparent 26%),
        linear-gradient(120deg, var(--emerald), var(--teal), var(--cyan));
    padding: 74px 0;
}

.page-hero-inner {
    text-align: center;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
}

.page-hero p:last-child {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

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

.category-overview-card {
    overflow: hidden;
}

.category-card-head {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    padding: 28px;
}

.category-card-head h2 {
    color: #ffffff;
    font-size: 30px;
}

.category-card-head p:last-child {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.category-mini-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
}

.category-mini-list a {
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f6;
}

.category-mini-list img {
    aspect-ratio: 4 / 3;
}

.category-mini-list span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 8px;
    font-weight: 800;
    font-size: 13px;
}

.category-overview-card .primary-btn {
    margin: 0 20px 22px;
    width: calc(100% - 40px);
}

.category-feature-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 18px;
}

.category-feature-row .recommend-card {
    grid-template-columns: 96px minmax(0, 1fr);
}

.inline-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: min(360px, 100%);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    padding: 9px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.inline-filter span {
    color: var(--emerald);
    font-weight: 900;
    white-space: nowrap;
}

.no-results {
    color: var(--muted);
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 52px 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border-radius: 22px;
    padding: 14px 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ranking-cover {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    background: #e5e7eb;
}

.ranking-copy p {
    display: -webkit-box;
    margin: 4px 0 8px;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.small-action {
    color: var(--emerald);
    border: 1px solid #a7f3d0;
    padding: 8px 14px;
}

.small-action:hover {
    color: #ffffff;
    background: var(--emerald);
}

.search-panel {
    padding: 28px;
}

.big-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px;
}

.big-search input {
    padding: 12px 18px;
    font-size: 18px;
}

.big-search button {
    padding: 12px 26px;
}

.search-status {
    margin: 18px 0 24px;
    color: var(--muted);
    font-weight: 700;
}

.breadcrumb-wrap {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 15px 0;
    color: var(--muted);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
    padding: 42px 0 74px;
}

.detail-main,
.detail-side {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000000;
}

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

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.64;
}

.player-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 150, 105, 0.14), rgba(0, 0, 0, 0.46));
}

.play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--emerald);
    font-size: 38px;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 36px rgba(5, 150, 105, 0.38);
    transition: background 0.2s ease, transform 0.2s ease;
}

.player-cover:hover .play-circle {
    background: var(--emerald-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

.detail-card {
    padding: 30px;
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
}

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

.detail-meta span {
    color: var(--emerald-dark);
    background: #d1fae5;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 800;
}

.lead-text {
    color: #374151;
    font-size: 19px;
    font-weight: 700;
}

.detail-tags {
    margin: 18px 0 24px;
}

.detail-card section {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 22px;
}

.detail-card section p {
    margin: 12px 0 0;
    color: #374151;
    font-size: 17px;
}

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

.side-poster {
    overflow: hidden;
    padding: 16px;
}

.side-poster img {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    margin-bottom: 16px;
}

.related-box {
    padding: 22px;
}

.side-list {
    grid-template-columns: 1fr;
    margin-top: 16px;
}

.side-list .recommend-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 10px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.site-footer {
    color: #d1d5db;
    background: #111827;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 20px;
}

.site-footer p {
    color: #9ca3af;
}

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

.footer-links {
    display: grid;
    gap: 10px;
}

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

.footer-bottom {
    margin-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    text-align: center;
    color: #9ca3af;
}

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

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

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

    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-card,
    .detail-side {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-slider,
    .hero-track,
    .hero-slide,
    .hero-content {
        min-height: 620px;
    }

    .hero-image {
        width: 100%;
        opacity: 0.38;
    }

    .hero-gradient {
        background: linear-gradient(180deg, rgba(4, 120, 87, 0.92), rgba(17, 24, 39, 0.74));
    }

    .intro-strip,
    .section-title-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .intro-strip,
    .section-title-row {
        display: grid;
        align-items: start;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .all-grid,
    .recommend-list,
    .category-feature-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-item {
        grid-template-columns: 44px 76px minmax(0, 1fr);
    }

    .ranking-item .small-action {
        grid-column: 2 / -1;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand-name {
        font-size: 17px;
    }

    .hero-copy {
        padding: 72px 0 104px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-actions,
    .big-search {
        display: grid;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .all-grid,
    .recommend-list,
    .category-feature-row {
        grid-template-columns: 1fr;
    }

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

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

    .ranking-item {
        grid-template-columns: 40px 70px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .detail-card,
    .search-panel {
        padding: 20px;
    }

    .play-circle {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}
