:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --red-900: #7f1d1d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow: 0 18px 45px rgba(190, 18, 60, 0.12);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, #fff 0%, #fff7fa 42%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rose-100);
  box-shadow: 0 8px 26px rgba(244, 63, 94, 0.09);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1280px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 12px 24px rgba(219, 39, 119, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--rose-600);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search input,
.search-panel input,
.filter-panel input,
.filter-panel select {
  width: 240px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus,
.search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14);
}

.site-search button,
.search-panel button,
.primary-btn,
.feature-card a {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 12px 24px rgba(219, 39, 119, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search button:hover,
.search-panel button:hover,
.primary-btn:hover,
.feature-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(219, 39, 119, 0.30);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--gray-800);
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--rose-100);
  padding: 16px 22px 20px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-nav {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--rose-50);
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #3b0712, #831843 55%, #111827);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 45%, rgba(244, 63, 94, 0.38), transparent 36%), linear-gradient(135deg, #3b0712, #831843 55%, #111827);
}

.hero-bg img,
.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg.image-missing,
.detail-hero-bg.image-missing,
.movie-poster.image-missing {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), transparent 30%), linear-gradient(135deg, #be123c, #db2777 52%, #111827);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.50) 45%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 44px));
  margin-left: max(22px, calc((100vw - 1280px) / 2 + 22px));
  color: #fff;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.22);
}

.hero-content h1,
.detail-hero-content h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 18px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 38px;
  background: #fff;
}

.quick-search-band,
.content-section,
.detail-layout {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
}

.quick-search-band {
  margin-top: -44px;
  position: relative;
  z-index: 6;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-search-inner h2 {
  margin: 0 0 6px;
  color: var(--gray-900);
  font-size: 28px;
}

.quick-search-inner p {
  margin: 0;
  color: var(--gray-500);
}

.hero-search input {
  width: min(460px, 46vw);
}

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

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

.section-head h2 {
  margin: 0 0 4px;
  color: var(--gray-900);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--gray-500);
}

.section-action {
  flex-shrink: 0;
  color: var(--rose-600);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(244, 63, 94, 0.10);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(190, 18, 60, 0.18);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #be123c, #db2777 52%, #111827);
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.66));
  transition: opacity 0.25s ease;
}

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

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.80);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.movie-category,
.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.movie-category {
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-600));
}

.movie-duration {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.70);
}

.rank-badge {
  top: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.78);
}

.movie-body {
  padding: 17px;
}

.movie-body h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.32;
}

.movie-body h3 a:hover {
  color: var(--rose-600);
}

.movie-body p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--gray-500);
  font-size: 14px;
}

.movie-meta,
.movie-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-stats {
  justify-content: space-between;
  margin-top: 10px;
  color: #be123c;
  font-weight: 800;
}

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

.category-tile {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.category-tile::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -40px;
  top: -40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile strong {
  position: relative;
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.category-tile span,
.category-tile p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cat-rose { background: linear-gradient(135deg, #f43f5e, #db2777); }
.cat-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.cat-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.cat-blue { background: linear-gradient(135deg, #3b82f6, #0891b2); }
.cat-orange { background: linear-gradient(135deg, #f97316, #dc2626); }
.cat-amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.cat-fuchsia { background: linear-gradient(135deg, #d946ef, #e11d48); }
.cat-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.cat-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.cat-slate { background: linear-gradient(135deg, #475569, #0f172a); }
.cat-red { background: linear-gradient(135deg, #ef4444, #be123c); }
.cat-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }

.rose-panel {
  width: min(1280px, calc(100% - 44px));
  border-radius: 32px;
  margin-top: 46px;
  padding: 42px;
  background: linear-gradient(135deg, var(--rose-50), #fdf2f8);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(244, 63, 94, 0.10);
  border-radius: 18px;
  padding: 15px 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.rank-row:hover {
  border-color: #fecdd3;
  color: var(--rose-600);
}

.rank-num {
  color: var(--rose-600);
  font-size: 22px;
  font-weight: 900;
}

.rank-title {
  color: var(--gray-900);
  font-weight: 800;
}

.rank-info {
  color: var(--gray-500);
  font-size: 14px;
}

.feature-card {
  position: sticky;
  top: 110px;
  border-radius: 28px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #be185d 50%, #581c87);
  box-shadow: var(--shadow);
}

.feature-card span {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card strong {
  display: block;
  margin: 10px 0;
  font-size: 54px;
  line-height: 1;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.84);
}

.feature-card a {
  display: inline-flex;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.page-hero {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 70px 22px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.20), transparent 30%), linear-gradient(135deg, #9f1239, #db2777 55%, #111827);
}

.page-hero span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.16);
}

.small-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 128px;
  gap: 2px;
}

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

.overview-body {
  padding: 22px;
}

.overview-body h2 {
  margin: 0 0 8px;
  color: var(--gray-900);
}

.overview-body p {
  color: var(--gray-500);
}

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

.filter-panel {
  margin-bottom: 28px;
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.filter-title {
  margin-bottom: 14px;
  color: var(--gray-900);
  font-size: 20px;
  font-weight: 900;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-panel input {
  min-width: 260px;
}

.filter-panel select {
  width: auto;
  min-width: 150px;
}

.filter-count {
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 14px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto 18px;
}

.search-panel input {
  width: 100%;
  border-radius: 20px;
  padding: 16px 18px;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.search-tabs button {
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--rose-600);
  cursor: pointer;
  background: #fff;
}

.search-tabs button:hover {
  color: #fff;
  background: var(--rose-600);
}

.search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.search-result-head h2 {
  margin: 0;
  color: var(--gray-900);
}

.search-result-head span {
  color: var(--gray-500);
}

.detail-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #3b0712, #831843 55%, #111827);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.20));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 60px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 46px 0 20px;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card,
.detail-card,
.side-card {
  border: 1px solid rgba(244, 63, 94, 0.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.player-card {
  overflow: hidden;
}

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

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #050505;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.16), rgba(0, 0, 0, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  color: var(--rose-600);
  font-size: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.detail-card,
.side-card {
  padding: 26px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
}

.detail-card p {
  margin: 0;
  color: var(--gray-700);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.info-grid span {
  border-radius: 14px;
  padding: 12px;
  background: var(--gray-50);
  color: var(--gray-700);
}

.info-grid b {
  display: block;
  color: var(--rose-600);
  font-size: 12px;
}

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

.tag-cloud span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-weight: 700;
}

.review-card {
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

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

.side-card {
  position: sticky;
  top: 104px;
}

.side-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
}

.side-item:hover {
  background: var(--rose-50);
}

.side-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #be123c, #db2777);
}

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

.side-item strong {
  display: block;
  color: var(--gray-900);
  line-height: 1.35;
}

.side-item small {
  color: var(--gray-500);
}

.compact .movie-body p {
  min-height: auto;
}

.site-footer {
  margin-top: 72px;
  color: #fff;
  background: linear-gradient(135deg, #7f1d1d, #831843 45%, #111827);
}

.footer-inner {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 28px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer h3 {
  margin: 0 0 12px;
}

.copyright {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .main-nav,
  .header-inner > .site-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .feature-card,
  .side-card {
    position: static;
  }

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

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

  .brand-text small {
    display: none;
  }

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

  .hero-content {
    width: min(100% - 32px, 680px);
    margin-left: 16px;
  }

  .quick-search-inner,
  .section-head,
  .search-result-head {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .hero-search,
  .quick-search-inner {
    width: 100%;
  }

  .hero-search input,
  .site-search input {
    width: 100%;
  }

  .three-col,
  .four-col,
  .two-col,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rose-panel {
    padding: 28px 18px;
  }

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

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

@media (max-width: 560px) {
  .quick-search-band,
  .content-section,
  .detail-layout,
  .footer-inner,
  .copyright {
    width: min(100% - 28px, 1280px);
  }

  .hero-content h1,
  .detail-hero-content h1,
  .page-hero h1 {
    font-size: 36px;
  }

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

  .three-col,
  .four-col,
  .two-col,
  .category-grid,
  .category-overview-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 48px 1fr;
  }

  .rank-info {
    grid-column: 2;
  }

  .filter-panel input,
  .filter-panel select {
    width: 100%;
  }
}
