:root {
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-pink: #ec4899;
  --color-purple: #9333ea;
  --color-blue: #0ea5e9;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-soft: #fff7ed;
  --bg-pink: #fdf2f8;
  --card: #ffffff;
  --border: rgba(249, 115, 22, 0.18);
  --shadow: 0 22px 50px rgba(249, 115, 22, 0.13);
  --shadow-strong: 0 30px 80px rgba(236, 72, 153, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #fff7ed 0%, #fdf2f8 34%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 247, 237, 0.9);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 32px, var(--max-width));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.28);
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(5deg);
}

.brand-text {
  font-size: 21px;
  background: linear-gradient(135deg, var(--color-orange-dark), var(--color-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #4b5563;
  font-weight: 700;
  border-radius: 13px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-link:hover {
  color: var(--color-orange-dark);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.23);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

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

.mobile-link {
  padding: 12px 14px;
  color: #374151;
  font-weight: 700;
  border-radius: 12px;
}

.mobile-link:hover {
  color: var(--color-orange-dark);
  background: #fff7ed;
}

.main-content {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 670px;
  padding: 122px 0 82px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-pink) 50%, var(--color-purple) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.95) 2px, transparent 0);
  background-size: 58px 58px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(0deg, #fff7ed 0%, rgba(255, 247, 237, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 690px;
}

.hero-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0 0 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

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

.primary-button,
.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 800;
  border-radius: 999px;
  color: var(--color-orange-dark);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(88, 28, 135, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button:hover,
.hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: #fff7ed;
  box-shadow: 0 24px 52px rgba(88, 28, 135, 0.28);
}

.ghost-button,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ghost-button:hover,
.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips a,
.hero-chips span {
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-slide-card img {
  width: 100%;
  height: 332px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.hero-slide-info {
  padding: 24px;
  background: rgba(17, 24, 39, 0.28);
}

.hero-slide-info h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero-slide-info p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
}

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-slide-meta span {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: -34px;
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: #ffffff;
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.section.narrow-top {
  padding-top: 48px;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.22);
}

.section-title h2,
.page-title h1,
.detail-info h1 {
  margin: 0;
  color: #111827;
}

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

.section-title p,
.page-title p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-orange-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--color-pink);
}

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

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

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

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

.movie-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.12);
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.13);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.22);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

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

.score-pill,
.card-rank {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.16);
}

.score-pill {
  right: 12px;
  bottom: 12px;
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.card-rank {
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.82);
  backdrop-filter: blur(10px);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-orange-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.movie-card h2 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.28;
}

.movie-card p {
  margin: 0;
  min-height: 48px;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 14px;
}

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

.tag-row span {
  padding: 5px 9px;
  color: #9f1239;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: #fce7f3;
}

.feature-card {
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-link {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  min-height: 360px;
}

.feature-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-card:hover .feature-media img {
  transform: scale(1.08);
}

.feature-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 9px 14px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.feature-content {
  padding: clamp(26px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--color-orange-dark);
  font-weight: 900;
  margin-bottom: 12px;
}

.feature-content h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.feature-content p {
  margin: 0 0 26px;
  color: #4b5563;
  line-height: 1.85;
  font-size: 17px;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-actions .primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.feature-actions .ghost-button {
  color: var(--color-orange-dark);
  background: #fff7ed;
  border-color: rgba(249, 115, 22, 0.25);
}

.band {
  width: 100%;
  padding: 76px 0;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

.band-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

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

.wide-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(236, 72, 153, 0.18);
}

.wide-card a {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  height: 100%;
}

.wide-poster {
  min-height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

.wide-content {
  padding: 20px;
}

.wide-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.rank-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
}

.wide-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.wide-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.wide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}

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

.category-tile {
  min-height: 170px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, var(--color-blue), var(--color-pink));
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(236, 72, 153, 0.28);
}

.category-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

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

.cta-band {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink), var(--color-purple));
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.95) 2px, transparent 0);
  background-size: 58px 58px;
}

.cta-inner {
  position: relative;
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
}

.cta-inner p {
  margin: 0 auto 28px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
}

.page-hero {
  padding: 128px 0 44px;
  background: linear-gradient(180deg, #fff7ed, #fdf2f8);
}

.page-title {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.page-title h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.08);
}

.filter-search input,
.filter-selects select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 14px;
  background: #ffffff;
  color: #374151;
  outline: none;
}

.filter-search input {
  padding: 0 18px;
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.filter-selects select {
  min-width: 132px;
  padding: 0 12px;
}

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

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

.movie-list {
  align-items: stretch;
}

.detail-layout {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding: 100px 0 72px;
}

.detail-main,
.detail-side-card {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.28);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0f172a;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.58));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-core {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 22px 46px rgba(236, 72, 153, 0.32);
}

.play-core span:first-child {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.detail-info,
.detail-side-card,
.story-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.1);
}

.detail-info h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-tags span {
  padding: 8px 12px;
  color: #9f1239;
  font-weight: 800;
  border-radius: 999px;
  background: #fce7f3;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.detail-meta span {
  padding: 8px 12px;
  color: var(--color-orange-dark);
  font-weight: 900;
  border-radius: 999px;
  background: #fff7ed;
}

.story-card h2,
.detail-side-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.story-card p,
.detail-info p,
.detail-side-card p {
  color: #4b5563;
  line-height: 1.85;
}

.side-poster {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.side-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

.side-link {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff7ed;
  transition: transform 0.25s ease, background 0.25s ease;
}

.side-link:hover {
  transform: translateX(4px);
  background: #fce7f3;
}

.side-link img {
  width: 70px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
}

.side-link strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
}

.side-link span {
  color: var(--text-muted);
  font-size: 13px;
}

.category-preview {
  display: grid;
  gap: 36px;
}

.category-block {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.08);
}

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

.category-block h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-block p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 36px;
}

.brand-footer .brand-text {
  color: #ffffff;
  background: none;
}

.footer-brand p {
  max-width: 430px;
  color: #9ca3af;
  line-height: 1.75;
}

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

.footer-links a {
  display: block;
  margin: 9px 0;
  color: #d1d5db;
}

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

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

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

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

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

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

  .detail-layout {
    padding-top: 94px;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-inner {
    gap: 34px;
  }

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

  .section-header,
  .category-block-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .feature-link {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 340px;
  }

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

  .filter-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 22px, var(--max-width));
  }

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

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

  .hero-actions,
  .feature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-primary,
  .hero-secondary,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero-slide-card img {
    height: 280px;
  }

  .grid-3,
  .grid-4,
  .grid-5,
  .category-grid,
  .wide-list {
    grid-template-columns: 1fr;
  }

  .wide-card a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .wide-poster {
    min-height: 168px;
  }

  .filter-selects {
    grid-template-columns: 1fr;
  }

  .detail-info,
  .detail-side-card,
  .story-card,
  .category-block {
    padding: 22px;
  }

  .side-link {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .side-link img {
    width: 62px;
    height: 84px;
  }
}
