:root {
  --bg: #f5fbf7;
  --surface: #ffffff;
  --surface-soft: #f0fdf4;
  --text: #13211b;
  --muted: #607469;
  --line: rgba(15, 118, 110, 0.16);
  --green: #059669;
  --green-dark: #047857;
  --emerald: #10b981;
  --yellow: #fde047;
  --shadow: 0 22px 55px rgba(15, 118, 110, 0.14);
  --shadow-soft: 0 14px 35px rgba(17, 24, 39, 0.09);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.15), transparent 34rem),
    linear-gradient(135deg, #f3fff8 0%, #ffffff 42%, #ecfdf5 100%);
}

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: 80;
  color: #ffffff;
  background: linear-gradient(90deg, #047857, #059669 55%, #0f766e);
  box-shadow: 0 12px 30px rgba(4, 120, 87, 0.28);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #064e3b;
  background: linear-gradient(135deg, #fef08a, #facc15);
  box-shadow: inset 0 -5px 12px rgba(0, 0, 0, 0.12);
}

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

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff7ae;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nav-link-soft {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  background: rgba(6, 95, 70, 0.98);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-link.active {
  color: #fef08a;
}

.hero {
  position: relative;
  height: clamp(560px, 72vw, 720px);
  overflow: hidden;
  color: #ffffff;
  background: #022c22;
}

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

.hero-slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2, 44, 34, 0.9), transparent 40%),
    radial-gradient(circle at 76% 32%, rgba(253, 224, 71, 0.28), transparent 24rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin-left: max(32px, calc((100vw - 1180px) / 2));
  padding-right: 30px;
}

.hero-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: #fde68a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.hero p {
  max-width: 660px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.72;
}

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

.hero-tags span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  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(-2px);
}

.btn-primary {
  color: #063b2f;
  background: linear-gradient(135deg, #fef08a, #facc15);
  box-shadow: 0 16px 32px rgba(250, 204, 21, 0.26);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-wide {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(5, 150, 105, 0.8);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero-next {
  right: 22px;
  transform: translateY(-50%);
}

.hero-dots {
  position: absolute;
  z-index: 6;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  gap: 10px;
}

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

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

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 7;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  border-radius: 28px;
  background: rgba(2, 44, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel h2,
.ranking-panel h2,
.section-heading h2,
.category-card h2,
.side-cover-card h2,
.content-card h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mini-movie {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-movie:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(3px);
}

.mini-movie img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(250, 204, 21, 0.2));
}

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

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

.mini-copy strong {
  color: inherit;
  font-size: 14px;
}

.mini-copy em {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-style: normal;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #064e3b;
  font-size: 12px;
  font-weight: 900;
  background: #facc15;
}

.hero-search-card {
  position: relative;
  z-index: 20;
  margin-top: -44px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.hero-search input,
.tool-input,
.tool-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input,
.tool-input {
  padding: 0 16px;
}

.tool-select {
  padding: 0 14px;
}

.hero-search input:focus,
.tool-input:focus,
.tool-select:focus {
  border-color: rgba(5, 150, 105, 0.65);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.hero-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #059669, #047857);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-links a,
.text-link,
.section-more {
  color: var(--green-dark);
  font-weight: 800;
}

.quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf5;
}

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

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

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

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

.feature-grid,
.category-grid,
.category-card-grid,
.podium-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 34px;
}

.feature-card,
.category-tile,
.category-card-head,
.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #059669, #0f766e);
}

.feature-card {
  min-height: 150px;
  padding: 24px;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.category-tile:hover,
.movie-card:hover,
.category-card:hover,
.podium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card span,
.category-tile span,
.category-card-head span {
  display: block;
  margin-bottom: 12px;
  font-size: 36px;
}

.feature-card strong,
.feature-card em,
.category-tile strong,
.category-tile em {
  display: block;
}

.feature-card strong,
.category-tile strong {
  font-size: 24px;
  font-weight: 950;
}

.feature-card em,
.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.6;
}

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

.category-tile {
  min-height: 168px;
  padding: 20px;
  border-radius: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(250, 204, 21, 0.16));
}

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

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
}

.watch-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
}

.watch-chip {
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  color: #064e3b;
  background: #facc15;
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 12px 22px rgba(239, 68, 68, 0.24);
}

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

.movie-card-meta,
.movie-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-card-meta span,
.movie-facts span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0fdf4;
}

.movie-card h2 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.tag-row .tag,
.movie-card .tag {
  color: #047857;
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.13);
  backdrop-filter: none;
  font-size: 13px;
}

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

.ranking-panel,
.content-card,
.player-card,
.side-cover-card,
.category-card,
.tool-panel {
  border: 1px solid rgba(15, 118, 110, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.ranking-panel {
  padding: 24px;
}

.ranking-panel .mini-movie {
  color: var(--text);
  background: #f8fffb;
}

.ranking-panel .mini-copy em {
  color: var(--muted);
}

.page-hero {
  padding: 74px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.045em;
}

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

.page-title-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.page-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 28px;
  font-size: 46px;
  background: rgba(255, 255, 255, 0.16);
}

.crumb,
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.breadcrumb strong {
  color: #ffffff;
}

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

.category-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card-head {
  display: block;
  padding: 24px;
}

.category-card p,
.category-samples,
.category-card .text-link {
  margin-left: 22px;
  margin-right: 22px;
}

.category-card p {
  color: var(--muted);
  line-height: 1.75;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.category-samples a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fffb;
  color: var(--text);
}

.category-card .text-link {
  display: inline-flex;
  margin-bottom: 22px;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 160px 150px;
  gap: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.tool-panel-large {
  grid-template-columns: minmax(280px, 1fr) 170px 170px 150px;
}

.empty-state {
  display: none;
  padding: 36px;
  text-align: center;
  color: var(--muted);
  border-radius: 24px;
  background: #ffffff;
}

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

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

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 30px;
  color: #ffffff;
  background: #022c22;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 44, 34, 0.92), rgba(2, 44, 34, 0.16));
}

.podium-card strong,
.podium-card em,
.podium-rank {
  position: relative;
  z-index: 2;
}

.podium-rank {
  width: max-content;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #064e3b;
  background: #facc15;
  font-weight: 950;
}

.podium-card strong {
  margin-top: 90px;
  font-size: 28px;
  font-weight: 950;
}

.podium-card em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.detail-hero {
  padding: 68px 0 92px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.detail-hero-copy {
  max-width: 820px;
}

.detail-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

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

.detail-layout {
  margin-top: -56px;
  padding-bottom: 70px;
}

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

.player-card {
  overflow: hidden;
  padding: 0;
  background: #020617;
}

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

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.22), rgba(2, 6, 23, 0.74));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-ring {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.play-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #064e3b;
  background: linear-gradient(135deg, #fef08a, #facc15);
  font-size: 28px;
  padding-left: 4px;
}

.player-cover strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.content-card {
  margin-top: 24px;
  padding: 28px;
}

.movie-article h2 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 28px;
}

.movie-article h2:first-of-type {
  margin-top: 18px;
}

.movie-article p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.detail-tags {
  margin-top: 24px;
}

.detail-side {
  display: grid;
  gap: 22px;
}

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

.side-cover-card {
  padding: 18px;
}

.side-cover-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(250, 204, 21, 0.18));
}

.side-cover-card h2 {
  margin-top: 18px;
  font-size: 24px;
}

.side-cover-card p {
  color: var(--muted);
  line-height: 1.75;
}

.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.side-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #047857;
  background: #ecfdf5;
  font-weight: 800;
}

.site-footer {
  margin-top: 70px;
  color: #d1fae5;
  background: linear-gradient(135deg, #022c22, #064e3b);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

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

.site-footer p {
  max-width: 500px;
  color: rgba(209, 250, 229, 0.72);
  line-height: 1.8;
}

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

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

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

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

.footer-bottom {
  padding: 16px;
  text-align: center;
  color: rgba(209, 250, 229, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #064e3b;
  font-weight: 950;
  background: #facc15;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translateY(-3px);
}

.from-pink-to-rose {
  background: linear-gradient(135deg, #ec4899, #e11d48);
}

.from-cyan-to-teal {
  background: linear-gradient(135deg, #06b6d4, #0f766e);
}

.from-orange-to-red {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.from-green-to-emerald,
.page-hero-green {
  background: linear-gradient(135deg, #059669, #047857);
}

.from-emerald-to-teal {
  background: linear-gradient(135deg, #10b981, #0f766e);
}

.from-lime-to-green {
  background: linear-gradient(135deg, #84cc16, #16a34a);
}

.from-slate-to-zinc,
.page-hero-dark {
  background: linear-gradient(135deg, #111827, #3f3f46);
}

.from-indigo-to-purple {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
}

.from-red-to-amber {
  background: linear-gradient(135deg, #dc2626, #f59e0b);
}

.from-sky-to-blue {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.from-violet-to-fuchsia {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.from-yellow-to-orange {
  background: linear-gradient(135deg, #eab308, #f97316);
}

@media (max-width: 1120px) {
  .nav-link-soft {
    display: none;
  }

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

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

  .sticky-side {
    position: static;
  }

  .hero-panel {
    display: none;
  }
}

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    height: 620px;
  }

  .hero-copy {
    margin-left: 20px;
    padding-right: 20px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    left: 20px;
  }

  .hero-search,
  .tool-panel,
  .tool-panel-large {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid,
  .category-card-grid,
  .movie-grid,
  .movie-grid-two,
  .movie-grid-three,
  .podium-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .page-title-row {
    align-items: start;
    flex-direction: column;
  }

  .detail-layout {
    margin-top: -34px;
  }
}

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

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

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

  .hero p,
  .detail-hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .play-ring {
    width: 80px;
    height: 80px;
  }

  .play-icon {
    width: 54px;
    height: 54px;
  }
}
