:root {
  --bg: #fff7ed;
  --bg-soft: #fff1f2;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --pink: #ec4899;
  --blue: #3b82f6;
  --shadow: 0 18px 45px rgba(249, 115, 22, 0.16);
  --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: linear-gradient(135deg, #fff7ed 0%, #fff1f2 42%, #eff6ff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 247, 237, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand.compact .brand-mark {
  width: 34px;
  height: 34px;
}

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

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

.nav-link,
.mobile-link {
  font-weight: 700;
  color: #475569;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--orange);
  background: rgba(251, 146, 60, 0.12);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(360px, 34vw);
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.header-search input,
.mobile-search input,
.wide-search input,
.search-tools input,
.search-tools select {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 8px 10px 8px 16px;
}

.header-search button,
.mobile-search button,
.wide-search button,
.search-tools button {
  border: 0;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: rgba(251, 146, 60, 0.12);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 99px;
}

.mobile-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  padding: 12px 14px;
}

main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  min-height: 610px;
  padding: 28px 0 40px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

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

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

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.55) 52%, rgba(17, 24, 39, 0.14)), linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 45%);
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 14vw, 260px);
  bottom: clamp(32px, 7vw, 88px);
  color: #fff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 20px;
  color: #e5e7eb;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

.hero-meta,
.card-meta,
.compact-meta,
.detail-meta-list,
.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.card-meta span,
.compact-meta span,
.tag-row span,
.tag-cloud span {
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.section-more,
.rail-more,
.filter-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #fff;
  padding: 13px 24px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.primary-btn.small {
  padding: 10px 16px;
  white-space: nowrap;
}

.ghost-btn {
  color: #fff;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.rail-more:hover,
.filter-strip a:hover {
  transform: translateY(-2px);
}

.hero-controls {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}

.hero-prev,
.hero-next,
.hero-dot {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.hero-rail {
  border-radius: 30px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.rail-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}

.rail-more {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  color: var(--orange);
  background: #fff7ed;
}

.compact-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.14);
}

.compact-poster {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.compact-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

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

.compact-meta span {
  color: var(--muted);
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.85);
  font-size: 11px;
}

.quick-search-block,
.content-section,
.search-panel,
.detail-shell {
  margin: 0 0 54px;
}

.quick-search-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quick-search-block h2,
.section-heading h2,
.page-hero h1,
.player-title-row h1,
.article-main h2,
.footer-links h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.quick-search-block h2,
.section-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.wide-search,
.search-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.wide-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
}

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

.section-heading .eyebrow {
  color: var(--orange);
  margin-bottom: 8px;
}

.section-more {
  flex-shrink: 0;
  padding: 10px 16px;
  color: var(--orange);
  background: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

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

.category-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.45), transparent 30%), linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 34px rgba(236, 72, 153, 0.16);
  overflow: hidden;
  position: relative;
}

.category-tile:nth-child(3n + 2) {
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.45), transparent 30%), linear-gradient(135deg, #8b5cf6, var(--pink));
}

.category-tile:nth-child(3n) {
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.45), transparent 30%), linear-gradient(135deg, #0ea5e9, #f97316);
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 146, 60, 0.16);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(236, 72, 153, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #bfdbfe);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 50%);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.card-body {
  padding: 16px;
}

.card-meta {
  margin-bottom: 10px;
}

.card-meta span,
.tag-row span {
  color: var(--muted);
  font-size: 12px;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.9);
}

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.movie-card h3 a:hover,
.compact-card h3 a:hover {
  color: var(--orange);
}

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

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

.ranking-panel {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-head span,
.rank-num,
.ranking-index {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.panel-head span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.panel-head h2 {
  margin: 0;
}

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

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

.rank-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.gradient-band,
.page-hero,
.article-section {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.88), rgba(252, 231, 243, 0.88), rgba(219, 234, 254, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  margin: 32px 0 40px;
  min-height: 270px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  max-width: 880px;
  margin: 12px 0 12px;
  font-size: clamp(34px, 5vw, 64px);
}

.page-hero p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px rgba(236, 72, 153, 0.16);
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 150px;
  background: linear-gradient(135deg, #fed7aa, #bfdbfe);
}

.overview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-body {
  padding: 20px;
}

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

.overview-body p {
  min-height: 52px;
  color: var(--muted);
  line-height: 1.7;
}

.overview-body span {
  color: var(--orange);
  font-weight: 900;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-strip a {
  padding: 10px 16px;
  background: #fff;
  color: var(--orange);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.1);
}

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

.ranking-card {
  position: relative;
}

.ranking-index {
  position: absolute;
  z-index: 2;
  left: -10px;
  top: -10px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  box-shadow: 0 14px 22px rgba(249, 115, 22, 0.25);
}

.search-panel {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-tools {
  border-radius: 22px;
  flex-wrap: wrap;
}

.search-tools input {
  flex: 1 1 320px;
  padding: 12px 14px;
}

.search-tools select {
  min-width: 130px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff7ed;
}

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

.detail-shell {
  padding-top: 28px;
}

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

.breadcrumb a:hover {
  color: var(--orange);
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.player-card,
.detail-side,
.article-main {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
}

.movie-player {
  position: relative;
  overflow: hidden;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.26), rgba(0, 0, 0, 0.58) 52%, rgba(0, 0, 0, 0.72));
}

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

.play-ring {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(249, 115, 22, 0.34);
}

.player-overlay strong {
  font-size: 18px;
}

.player-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.player-title-row h1 {
  font-size: clamp(26px, 3vw, 40px);
}

.player-title-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-side {
  padding: 18px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.detail-meta-list {
  margin-top: 16px;
}

.detail-meta-list span {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--muted);
}

.detail-meta-list b {
  color: var(--text);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.article-main {
  padding: clamp(22px, 4vw, 42px);
}

.article-main h2 {
  margin-top: 26px;
  font-size: 26px;
}

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

.article-main p {
  margin: 12px 0 0;
  color: #4b5563;
  line-height: 2;
  font-size: 17px;
}

.tag-cloud {
  margin-top: 14px;
}

.tag-cloud span {
  color: var(--orange);
  background: #fff7ed;
  border-color: rgba(251, 146, 60, 0.24);
}

.detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-pager a {
  padding: 16px;
  border-radius: 18px;
  background: #fff7ed;
  color: var(--orange);
  font-weight: 800;
}

.article-section p {
  color: #4b5563;
  line-height: 2;
  font-size: 17px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.feature-row div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
}

.feature-row strong {
  font-size: 20px;
}

.feature-row span {
  color: var(--muted);
}

.site-footer {
  margin-top: 70px;
  background: linear-gradient(90deg, #ffedd5, #fce7f3, #dbeafe);
  border-top: 1px solid var(--line);
}

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

.footer-brand p {
  max-width: 460px;
  color: #4b5563;
  line-height: 1.8;
}

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

.footer-link-grid a {
  color: #4b5563;
}

.footer-link-grid a:hover {
  color: var(--orange);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

@media (max-width: 1180px) {
  .hero-section,
  .split-section,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .hero-rail,
  .ranking-panel {
    position: static;
  }

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

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero-stage {
    min-height: 520px;
  }

  .quick-search-block,
  .footer-inner,
  .category-overview-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

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

  .player-title-row,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  main,
  .header-inner,
  .mobile-panel,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1280px);
  }

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

  .hero-stage {
    min-height: 500px;
    border-radius: 26px;
  }

  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 78px;
  }

  .hero-meta span {
    font-size: 12px;
  }

  .hero-controls {
    left: 18px;
    right: 18px;
    justify-content: center;
  }

  .quick-search-block,
  .gradient-band,
  .page-hero,
  .article-section,
  .search-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .wide-search,
  .search-tools {
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .wide-search input,
  .search-tools input,
  .search-tools select,
  .wide-search button,
  .search-tools button {
    width: 100%;
  }

  .category-grid,
  .all-grid,
  .movie-grid,
  .compact-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

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