
:root {
  color-scheme: light;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --emerald: #34d399;
  --teal: #0d9488;
  --yellow: #fde047;
  --text: #15231d;
  --muted: #647067;
  --soft: #f0fdf4;
  --line: #d9f2e5;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(5, 95, 70, 0.13);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #ffffff;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green-800), var(--green-600), var(--teal));
  box-shadow: 0 12px 30px rgba(6, 95, 70, 0.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: var(--green-700);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

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

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

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.top-search,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.large-search input {
  border: 0;
  outline: 0;
}

.top-search input {
  width: 230px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 78, 59, 0.58);
}

.top-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.top-search button,
.mobile-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search button {
  padding: 10px 15px;
  color: var(--green-700);
  background: #ffffff;
}

.top-search button:hover,
.mobile-search button:hover,
.large-search button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
}

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

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 78, 59, 0.58);
}

.mobile-search button {
  padding: 11px 16px;
  color: var(--green-700);
  background: #ffffff;
}

.mobile-link {
  padding: 10px 4px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-link.is-active {
  color: #ffffff;
}

.hero-section {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #047857 0%, #10b981 52%, #0d9488 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 22%), radial-gradient(circle at 80% 10%, rgba(253, 224, 71, 0.55), transparent 26%), linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
  background-size: 100% 100%, 100% 100%, 64px 64px;
}

.hero-section::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  content: "";
  background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 42px;
  align-items: center;
  min-height: 630px;
  padding: 54px 0 86px;
}

.hero-main-title h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-main-title p {
  max-width: 580px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-quick-links,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-quick-links a,
.primary-button,
.ghost-button,
.outline-button,
.text-link {
  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;
}

.hero-quick-links a,
.primary-button {
  padding: 13px 22px;
  color: var(--green-700);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(6, 78, 59, 0.18);
}

.hero-quick-links a:hover,
.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(6, 78, 59, 0.22);
}

.ghost-button {
  padding: 12px 22px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.54);
  background: rgba(6, 95, 70, 0.28);
  backdrop-filter: blur(12px);
}

.ghost-button:hover {
  background: rgba(6, 95, 70, 0.46);
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 435px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.98);
  background: rgba(6, 78, 59, 0.38);
  box-shadow: 0 28px 65px rgba(6, 78, 59, 0.3);
  backdrop-filter: blur(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.hero-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-dots {
  position: absolute;
  right: 30px;
  bottom: 26px;
  z-index: 5;
  display: flex;
  gap: 9px;
}

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

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

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

.soft-bg {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

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

.section-heading.centered {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading span {
  color: var(--green-600);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 8px;
  color: #163225;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  padding: 10px 16px;
  color: var(--green-700);
  background: #e9fbf1;
}

.text-link:hover {
  color: #ffffff;
  background: var(--green-600);
}

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

.category-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-600), var(--teal));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(5, 150, 105, 0.22);
}

.category-card::after {
  position: absolute;
  inset: auto -28px -52px auto;
  width: 138px;
  height: 138px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
}

.category-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.7;
}

.category-card img {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  width: 78px;
  height: 104px;
  border-radius: 14px;
  object-fit: cover;
  opacity: 0.34;
  transform: rotate(7deg);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(5, 95, 70, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.07);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

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

.movie-meta {
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 9px;
  color: #13281e;
  font-size: 18px;
  line-height: 1.35;
}

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

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

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  background: #e9fbf1;
}

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

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

.ranking-panel,
.info-card,
.content-panel,
.player-panel,
.overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(5, 95, 70, 0.09);
}

.ranking-panel {
  position: sticky;
  top: 90px;
  padding: 24px;
}

.rank-list,
.related-mini-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f7fcfa;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: #e9fbf1;
}

.rank-number {
  color: var(--green-700);
  font-weight: 900;
}

.rank-item img {
  width: 56px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  color: #13281e;
}

.rank-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-800), var(--green-600), var(--teal));
}

.page-hero .container {
  padding: 62px 0 70px;
}

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

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(5, 95, 70, 0.07);
}

.toolbar-search {
  flex: 1;
  min-width: 220px;
}

.toolbar-search input,
.large-search input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #f8fffb;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-700);
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #ffffff;
  border-color: var(--green-600);
  background: var(--green-600);
}

.empty-state {
  display: none;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: #f8fffb;
}

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

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

.overview-card {
  padding: 24px;
}

.overview-card-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.overview-card-head > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-600), var(--teal));
}

.overview-card h2 {
  margin: 0 0 8px;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.overview-posters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.overview-posters img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
}

.outline-button {
  padding: 11px 18px;
  color: var(--green-700);
  border: 1px solid var(--green-500);
  background: #ffffff;
}

.ranking-table {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 68px 62px minmax(0, 1fr) 72px;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(5, 95, 70, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  border-color: var(--green-500);
  transform: translateX(5px);
}

.ranking-row-number {
  color: var(--green-700);
  font-size: 20px;
  font-weight: 900;
}

.ranking-row img {
  width: 62px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-row-copy {
  min-width: 0;
}

.ranking-row-copy strong,
.ranking-row-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row-copy em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.ranking-row-link {
  justify-self: end;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: var(--green-600);
}

.large-search {
  max-width: 700px;
  margin-top: 28px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.large-search input {
  flex: 1;
  border: 0;
  background: #ffffff;
}

.large-search button {
  padding: 13px 24px;
  color: var(--green-700);
  background: var(--yellow);
}

.search-summary {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--green-900);
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 44px 0 58px;
}

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

.detail-cover {
  width: 260px;
  aspect-ratio: 3 / 4;
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  max-width: 880px;
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
}

.detail-copy p {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.detail-copy .primary-button {
  margin-top: 24px;
}

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

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

.player-panel,
.content-panel,
.info-card {
  padding: 24px;
}

.player-panel h2,
.content-panel h2,
.info-card h2 {
  margin: 0 0 18px;
  color: #13281e;
  font-size: 24px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #00120c;
  box-shadow: 0 28px 65px rgba(6, 78, 59, 0.22);
}

.movie-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #00120c;
}

.play-trigger {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 18, 12, 0.1), rgba(0, 18, 12, 0.48));
  cursor: pointer;
}

.play-trigger span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--green-700);
  font-size: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.play-trigger strong {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.72);
}

.movie-player.is-started .play-trigger {
  display: none;
}

.content-panel p {
  margin: 0 0 18px;
  color: #35443b;
  font-size: 17px;
  line-height: 1.95;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.info-card {
  margin-bottom: 22px;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-card dl div:last-child {
  border-bottom: 0;
}

.info-card dt {
  color: var(--muted);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: #13281e;
}

.site-footer {
  color: #d8eee5;
  background: linear-gradient(180deg, #1f2937, #101827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

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

.site-footer p {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(216, 238, 229, 0.78);
  line-height: 1.8;
}

.footer-brand .brand-mark {
  color: #102119;
  background: var(--emerald);
}

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

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

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(216, 238, 229, 0.72);
  text-align: center;
}

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

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

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

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

  .hero-slider {
    min-height: 420px;
  }
}

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

  .nav-toggle {
    display: block;
  }

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

  .hero-poster {
    display: none;
  }

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

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

  .ranking-panel {
    position: static;
  }

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

  .detail-cover {
    width: 180px;
  }
}

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

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

  .hero-section,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    padding: 42px 0 74px;
  }

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

  .hero-slider {
    min-height: 390px;
  }

  .hero-slide {
    padding: 22px;
    border-radius: 26px;
  }

  .hero-copy h2 {
    font-size: 31px;
  }

  .hero-dots {
    left: 24px;
    right: auto;
  }

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

  .section-heading.between,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

  .ranking-row-link {
    display: none;
  }

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

  .detail-cover {
    width: 190px;
  }

  .detail-copy p {
    font-size: 16px;
  }

  .player-panel,
  .content-panel,
  .info-card,
  .overview-card {
    padding: 18px;
  }

  .large-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }
}
