:root {
  color-scheme: light;
  --page-bg: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f9fafb;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --pink: #ec4899;
  --blue: #3b82f6;
  --yellow: #facc15;
  --green: #22c55e;
  --radius-xl: 24px;
  --shadow-card: 0 18px 40px rgba(249, 115, 22, 0.14);
  --shadow-hero: 0 28px 70px rgba(15, 23, 42, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 146, 60, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(135deg, #fff7ed 0%, #fdf2f8 48%, #eff6ff 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.94), rgba(253, 242, 248, 0.94), rgba(239, 246, 255, 0.94));
  box-shadow: 0 10px 25px rgba(251, 146, 60, 0.14);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

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

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ec4899);
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.24);
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.08) rotate(-3deg);
}

.logo-text {
  font-size: clamp(20px, 2.1vw, 28px);
  background: linear-gradient(90deg, #f97316, #ec4899, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, #f97316, #ec4899);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #f97316;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-mini {
  position: relative;
  width: min(260px, 28vw);
}

.search-mini input {
  width: 100%;
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 999px;
  padding: 11px 16px 11px 42px;
  color: #374151;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-mini input:focus {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.search-mini span {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #9ca3af;
  transform: translateY(-50%);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #374151;
  background: rgba(255, 237, 213, 0.82);
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(251, 146, 60, 0.22);
  padding: 14px 0 18px;
}

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

.mobile-nav a {
  display: block;
  border-radius: 14px;
  padding: 12px 14px;
  color: #374151;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.64);
}

.mobile-nav .search-mini {
  width: 100%;
}

.main {
  min-height: 60vh;
}

.hero-section {
  padding: 34px 0 22px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow-hero);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 5vw, 58px);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.85s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 22%, rgba(236, 72, 153, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 44%);
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 20px 0 14px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 19px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #ec4899);
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.26);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.btn-soft {
  color: #ea580c;
  background: rgba(255, 237, 213, 0.9);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.22);
}

.hero-side-card {
  align-self: stretch;
  display: grid;
  align-content: end;
}

.hero-mini-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  padding: 18px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.34);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-mini-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.hero-mini-panel h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}

.hero-mini-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

.hero-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-control:hover {
  background: rgba(249, 115, 22, 0.88);
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  left: clamp(28px, 5vw, 58px);
  bottom: 30px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, #f97316, #ec4899);
}

.section {
  padding: 42px 0;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #ea580c;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 237, 213, 0.9);
}

.section-title {
  margin: 0;
  color: #1f2937;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

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

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

.movie-card {
  min-width: 0;
}

.card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-link:hover {
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

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

.movie-grid.compact .poster-wrap {
  aspect-ratio: 4 / 5;
}

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

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

.poster-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.44), transparent 58%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card-link:hover .poster-wrap::after {
  opacity: 1;
}

.score-badge,
.category-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.score-badge {
  left: 12px;
  background: linear-gradient(90deg, #f97316, #facc15);
}

.category-badge {
  right: 12px;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.play-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.88);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.card-meta,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 13px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.25s ease;
}

.card-link:hover .card-title {
  color: #f97316;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 237, 213, 0.74);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  border-radius: 28px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card::after {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(236, 72, 153, 0.24);
}

.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.category-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
}

.tone-from-red { background: linear-gradient(135deg, #ef4444, #ec4899); }
.tone-from-orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.tone-from-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.tone-from-yellow { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tone-from-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.tone-from-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.tone-from-slate { background: linear-gradient(135deg, #334155, #7f1d1d); }
.tone-from-green { background: linear-gradient(135deg, #22c55e, #14b8a6); }
.tone-from-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.tone-from-stone { background: linear-gradient(135deg, #78716c, #f97316); }
.tone-from-lime { background: linear-gradient(135deg, #84cc16, #22c55e); }
.tone-from-indigo { background: linear-gradient(135deg, #6366f1, #3b82f6); }

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

.panel {
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 247, 237, 0.72);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
  background: rgba(255, 237, 213, 0.95);
  transform: translateX(4px);
}

.rank-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ec4899);
}

.rank-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-title {
  overflow: hidden;
  margin: 0 0 6px;
  color: #1f2937;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 28px 0 18px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: #ea580c;
  font-weight: 800;
}

.page-hero {
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 54px);
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #f97316, #ec4899 54%, #3b82f6);
  box-shadow: var(--shadow-card);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 14px;
  margin: 28px 0;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 16px;
  padding: 12px 14px;
  color: #374151;
  outline: none;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.12);
}

.no-results {
  display: none;
  border: 1px dashed rgba(249, 115, 22, 0.45);
  border-radius: 22px;
  padding: 28px;
  color: #9a3412;
  text-align: center;
  background: rgba(255, 237, 213, 0.62);
}

.no-results.is-visible {
  display: block;
}

.detail-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.detail-poster {
  overflow: hidden;
  min-height: 420px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8, #bfdbfe);
  box-shadow: var(--shadow-card);
}

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

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 32px;
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-copy .lead {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta-card {
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.84), rgba(252, 231, 243, 0.84));
}

.detail-meta-card span {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-card strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #1f2937;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.player-shell {
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.34), rgba(236, 72, 153, 0.24));
}

.player-head h2 {
  margin: 0;
  font-size: 20px;
}

.player-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 48%, rgba(249, 115, 22, 0.28), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 34px;
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.player-overlay:hover .player-button {
  transform: scale(1.08);
}

.text-content {
  color: #4b5563;
  line-height: 1.9;
}

.text-content h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 26px;
}

.text-content p {
  margin: 0 0 18px;
}

.aside-stack {
  display: grid;
  gap: 18px;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 14px;
  color: #374151;
  font-weight: 800;
  background: rgba(255, 237, 213, 0.7);
  transition: transform 0.25s ease, background 0.25s ease;
}

.link-pill:hover {
  color: #ea580c;
  background: rgba(255, 237, 213, 1);
  transform: translateX(4px);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(251, 146, 60, 0.16);
  background: linear-gradient(90deg, rgba(255, 237, 213, 0.78), rgba(252, 231, 243, 0.78), rgba(219, 234, 254, 0.78));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}

.footer-text {
  max-width: 520px;
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

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

.footer-links a {
  color: #6b7280;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(251, 146, 60, 0.16);
  padding: 18px 0;
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}

.info-page {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.info-page .panel h2 {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .movie-grid,
  .movie-grid.compact,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav-links,
  .nav-actions .search-mini {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .hero-carousel {
    min-height: 650px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 82px;
  }

  .hero-side-card {
    display: none;
  }

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

  .detail-poster {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

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

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

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

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

  .hero-section {
    padding-top: 18px;
  }

  .hero-carousel {
    min-height: 590px;
    border-radius: 24px;
  }

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

  .hero-copy h1,
  .hero-copy h2 {
    margin-top: 16px;
    font-size: 36px;
  }

  .hero-controls {
    right: 18px;
    bottom: 18px;
  }

  .hero-dots {
    left: 22px;
    bottom: 24px;
  }

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

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

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

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

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

  .player-head {
    align-items: flex-start;
    flex-direction: column;
  }

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