:root {
  --amber-950: #3f2104;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-600: #d97706;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --cream: #fff7ed;
  --ink: #111827;
  --muted: #6b7280;
  --line: #fed7aa;
  --shadow: 0 24px 60px rgba(124, 45, 18, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fffaf3 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber-950), var(--amber-800), #9a3412);
  box-shadow: 0 12px 32px rgba(67, 20, 7, 0.24);
}

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--amber-950);
  background: linear-gradient(135deg, #fcd34d, #fb923c);
  box-shadow: 0 10px 28px rgba(251, 146, 60, 0.35);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.04);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a {
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
  color: #fde68a;
  opacity: 1;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.header-search input,
.mobile-panel input,
.large-search input,
.home-search-band input,
.filter-panel input,
.filter-panel select {
  min-width: 0;
  border: 0;
  outline: 0;
}

.header-search input {
  flex: 1;
  color: #ffffff;
  background: transparent;
  padding: 8px 10px 8px 14px;
}

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

.header-search button,
.mobile-panel button,
.large-search button,
.home-search-band button {
  border: 0;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffffff;
  padding: 8px 16px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.mobile-panel a {
  padding: 4px 0;
  font-weight: 700;
}

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  flex: 1;
  border-radius: 999px;
  padding: 10px 14px;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #451a03, #9a3412 52%, #78350f);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.12) contrast(1.05);
}

.hero-bg::after,
.page-hero::before,
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(253, 186, 116, 0.32), transparent 28%),
    linear-gradient(90deg, rgba(30, 15, 4, 0.94), rgba(67, 20, 7, 0.76) 48%, rgba(67, 20, 7, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(253, 230, 138, 0.38);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.4vw, 76px);
}

.hero-copy p,
.page-hero p,
.detail-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-tags {
  margin: 24px 0 0;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  padding: 7px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
}

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

.primary-btn,
.ghost-btn,
.section-link,
.text-link {
  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 {
  min-height: 48px;
  padding: 0 24px;
  color: #7c2d12;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.92);
  font-weight: 900;
}

.hero-poster.mini {
  width: min(280px, 100%);
  transform: rotate(1.4deg);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

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

.hero-dot {
  width: 10px !important;
  height: 10px !important;
  padding: 0;
}

.hero-dot.active {
  width: 30px !important;
  background: #fcd34d;
}

.home-search-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  padding: 30px;
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.home-search-band h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.home-search-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-search-band form,
.large-search {
  display: flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
}

.home-search-band input,
.large-search input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
}

.home-search-band button,
.large-search button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange-600), var(--amber-600));
}

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

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

.no-pad-top {
  padding-top: 28px;
}

.warm-section {
  width: 100%;
  max-width: none;
  padding: 76px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

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

.section-heading h2,
.rank-panel-head h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  letter-spacing: -0.035em;
}

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

.section-link,
.text-link {
  min-height: 42px;
  padding: 0 18px;
  color: #9a3412;
  background: #ffedd5;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(254, 215, 170, 0.72);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(124, 45, 18, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: #fdba74;
  box-shadow: 0 24px 55px rgba(124, 45, 18, 0.18);
  transform: translateY(-6px);
}

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

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

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

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

.poster-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.poster-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.95);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-kicker {
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 900;
}

.movie-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 52px;
  margin: 8px 0;
  font-size: 19px;
  font-weight: 930;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.tag-row span {
  padding: 5px 9px;
  color: #9a3412;
  background: #ffedd5;
}

.large-tags span {
  padding: 7px 12px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  color: #6b7280;
  font-size: 13px;
}

.card-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.category-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  color: #ffffff;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.category-tile img,
.category-tile span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s ease;
}

.category-tile span {
  z-index: -1;
  background: linear-gradient(180deg, rgba(69, 26, 3, 0.08), rgba(69, 26, 3, 0.82));
}

.category-tile:hover img {
  transform: scale(1.08);
}

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

.category-tile em {
  margin-top: 8px;
  font-style: normal;
  line-height: 1.6;
  opacity: 0.88;
}

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

.rank-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 12px;
}

.rank-panel-head h2 {
  font-size: 28px;
}

.rank-panel-head a {
  color: var(--orange-600);
  font-weight: 900;
}

.rank-list {
  display: grid;
  gap: 0;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #ffedd5;
}

.rank-item:hover {
  background: #fff7ed;
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 950;
}

.rank-item.gold .rank-no {
  color: #78350f;
  background: #fcd34d;
}

.rank-item.silver .rank-no {
  background: #e5e7eb;
}

.rank-item.bronze .rank-no {
  color: #ffffff;
  background: #c2410c;
}

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

.rank-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

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

.rank-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.rank-score {
  color: var(--orange-600);
  font-weight: 950;
}

.page-main {
  padding: 38px 0 72px;
}

.page-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 330px;
  padding: 48px;
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(120deg, #451a03, #9a3412 55%, #78350f);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.small-hero h1,
.category-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.category-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.category-overview-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #fed7aa;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(124, 45, 18, 0.08);
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 20px;
}

.category-cover-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 12px 0 10px;
  font-size: 28px;
  font-weight: 950;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 180px;
  gap: 12px;
  margin: 24px 0 8px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(124, 45, 18, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border-radius: 16px;
  color: #111827;
  background: #fff7ed;
  padding: 12px 14px;
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 18px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 850;
}

.ranking-list-page {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 54px 130px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(124, 45, 18, 0.08);
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 20px;
  font-weight: 950;
}

.ranking-poster img {
  width: 130px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 950;
}

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

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ranking-meta span,
.ranking-meta strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
}

.detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #9a3412;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs strong {
  color: var(--muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  padding: 32px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.22), transparent 30%),
    linear-gradient(120deg, #431407, #9a3412 60%, #78350f);
  box-shadow: var(--shadow);
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

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

.detail-poster span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.94);
  font-weight: 950;
}

.detail-info {
  align-self: center;
}

.detail-info h1 {
  font-size: clamp(36px, 5vw, 64px);
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

.player-panel {
  margin-top: 30px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #050505;
  box-shadow: var(--shadow);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.48));
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.24);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 30px;
}

.detail-content article,
.detail-content aside {
  border: 1px solid #fed7aa;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(124, 45, 18, 0.08);
}

.detail-content article {
  padding: 32px;
}

.detail-content article h2,
.detail-content aside h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 950;
}

.detail-content article p {
  color: #374151;
  line-height: 2;
  margin: 0 0 26px;
}

.detail-content aside {
  align-self: start;
  padding: 24px;
}

.detail-content dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-content dl div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ffedd5;
}

.detail-content dt {
  color: #9a3412;
  font-weight: 950;
}

.detail-content dd {
  margin: 0;
  color: #4b5563;
}

.related-section {
  width: 100%;
}

.search-page .large-search {
  max-width: 700px;
  margin-top: 26px;
}

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

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

.footer-grid p {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a:hover {
  color: #fcd34d;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 14px;
}

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

  .header-search {
    margin-left: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-content,
  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

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

@media (max-width: 780px) {
  .header-inner {
    height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 19px;
  }

  .header-search {
    display: none;
  }

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

  .hero-content {
    padding: 74px 0 100px;
  }

  .home-search-band {
    grid-template-columns: 1fr;
    margin-top: -26px;
    padding: 22px;
  }

  .home-search-band form,
  .large-search,
  .mobile-panel form {
    border-radius: 24px;
    flex-direction: column;
  }

  .content-section,
  .page-main,
  .detail-main {
    width: min(100% - 24px, 1180px);
  }

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

  .warm-section {
    padding: 54px 12px;
  }

  .section-heading,
  .category-hero,
  .detail-hero,
  .category-overview-card,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .page-hero,
  .detail-hero {
    padding: 26px;
    border-radius: 26px;
  }

  .detail-poster {
    max-width: 280px;
  }

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

  .category-grid,
  .featured-grid,
  .compact-grid,
  .all-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .ranking-poster img {
    width: 100%;
    max-width: 220px;
  }

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