:root {
  --bg: #f8fdff;
  --panel: #ffffff;
  --soft: #eaffff;
  --soft-2: #eff6ff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #d8f3f4;
  --cyan: #0891b2;
  --cyan-2: #06b6d4;
  --teal: #0d9488;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(15, 118, 140, 0.14);
  --shadow-soft: 0 12px 30px rgba(15, 118, 140, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(8, 145, 178, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: transparent;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  font-size: 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-2), var(--teal));
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.38);
}

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

.nav-link {
  color: #334155;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 9px 12px;
  color: #475569;
  font-size: 14px;
  border-radius: 10px;
}

.nav-dropdown-menu a:hover {
  color: var(--cyan);
  background: #ecfeff;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 8px 12px;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
}

.header-search button,
.hero-search button,
.search-page-form button {
  border: 0;
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-2), var(--teal));
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.22);
}

.header-search button {
  padding: 8px 14px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--cyan);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav .nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #e6f7f8;
}

.hero-section,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #cffafe 0%, #eff6ff 48%, #ccfbf1 100%);
}

.hero-section {
  padding: 70px 0 82px;
}

.blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.34;
  animation: blobMove 12s infinite alternate ease-in-out;
}

.blob-one {
  top: -160px;
  right: 2%;
  background: #67e8f9;
}

.blob-two {
  bottom: -170px;
  left: -80px;
  background: #5eead4;
  animation-delay: 2s;
}

.blob-three {
  top: 42%;
  left: 45%;
  background: #93c5fd;
  animation-delay: 4s;
}

@keyframes blobMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, -18px, 0) scale(1.12);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: #0e7490;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid rgba(14, 165, 183, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.hero-heading h1,
.page-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-heading p,
.page-hero p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #475569;
  font-size: 18px;
}

.hero-search-wrap {
  margin-top: 28px;
}

.hero-search,
.search-page-form {
  display: flex;
  max-width: 650px;
  margin: 0 auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-search input,
.search-page-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  background: transparent;
  color: #0f172a;
}

.hero-search button,
.search-page-form button {
  padding: 12px 22px;
}

.hero-carousel {
  position: relative;
  min-height: 440px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.94fr) minmax(300px, 1.06fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 30px 80px rgba(8, 145, 178, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.985);
  transition: all 0.55s ease;
  backdrop-filter: blur(18px);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hero-image {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0));
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-slide.active .hero-image img {
  transform: scale(1.04);
}

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

.hero-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: #e6fbff;
}

.hero-content-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-content-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: #ccfbf1;
}

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

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.primary-button {
  padding: 12px 18px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan-2), var(--teal));
  box-shadow: 0 16px 30px rgba(13, 148, 136, 0.22);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 148, 136, 0.30);
}

.ghost-button {
  padding: 12px 18px;
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.ghost-button:hover {
  color: #ffffff;
  background: var(--teal);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.25);
}

.hero-dot.active {
  width: 34px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

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

.white-section {
  background: #ffffff;
}

.soft-section {
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

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

.section-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-more {
  color: var(--cyan);
  white-space: nowrap;
}

.section-more:hover {
  color: var(--teal);
  transform: translateX(3px);
}

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

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

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

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

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dff7f8;
}

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

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

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

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

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.duration-badge {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.58);
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  font-size: 20px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

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

.card-body {
  padding: 18px;
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-tags a,
.card-tags span {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  background: #ecfeff;
}

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

.card-body h3 a:hover {
  color: var(--cyan);
}

.card-body p {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 12px;
}

.card-meta span {
  position: relative;
}

.card-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #94a3b8;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--cyan-2), var(--teal));
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.4s ease;
  z-index: -1;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile:hover::after {
  transform: scale(1.55);
}

.category-tile span {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile strong,
.category-tile em {
  display: block;
  font-style: normal;
}

.category-tile strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.category-tile em {
  color: #e0ffff;
  font-size: 13px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(8, 145, 178, 0.10);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 118, 140, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.rank-num {
  color: var(--cyan);
  font-size: 20px;
  font-weight: 900;
}

.rank-item img {
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  color: #0f172a;
  font-size: 15px;
}

.rank-copy em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.rank-score {
  color: #f59e0b;
  font-weight: 900;
}

.page-hero {
  padding: 70px 0;
  text-align: center;
}

.page-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

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

.category-panels {
  display: grid;
  gap: 22px;
}

.category-panel {
  padding: 26px;
  border: 1px solid rgba(8, 145, 178, 0.10);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.category-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.category-panel p {
  margin: 0;
  color: #64748b;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fdff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: #ecfeff;
  transform: translateX(3px);
}

.compact-card img {
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card strong,
.compact-card small {
  display: block;
}

.compact-card strong {
  margin-bottom: 4px;
  color: #0f172a;
}

.compact-card small {
  color: #64748b;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(8, 145, 178, 0.10);
  border-radius: 20px;
  background: #f8fdff;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #cdeff2;
  border-radius: 14px;
  padding: 12px 14px;
  color: #0f172a;
  outline: 0;
  background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus,
.hero-search input:focus,
.search-page-form input:focus,
.header-search input:focus {
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
}

.detail-hero {
  padding: 34px 0 60px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 26px;
  background: #041014;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.30);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #050b0f;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 0;
  border: 0;
  background: #050b0f;
  cursor: pointer;
}

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

.player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #ffffff;
  font-size: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.92), rgba(13, 148, 136, 0.92));
  box-shadow: 0 18px 48px rgba(6, 182, 212, 0.34);
  transform: translate(-50%, -50%);
}

.detail-info-card,
.detail-main-card,
.related-card {
  border: 1px solid rgba(8, 145, 178, 0.10);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-info-card {
  padding: 28px;
}

.detail-info-card h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-info-card p {
  margin: 0 0 18px;
  color: #475569;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-meta span {
  padding: 7px 10px;
  color: #0e7490;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: #ecfeff;
}

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

.detail-main-card,
.related-card {
  padding: 28px;
}

.detail-main-card h2,
.related-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-main-card h2:not(:first-child) {
  margin-top: 28px;
}

.detail-main-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.detail-tags {
  margin-top: 8px;
}

.related-card {
  position: sticky;
  top: 92px;
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.bottom-related {
  margin-top: 42px;
}

.search-hero .search-page-form {
  margin-top: 28px;
}

.is-hidden {
  display: none !important;
}

.no-results {
  grid-column: 1 / -1;
  padding: 28px;
  color: #64748b;
  text-align: center;
  border: 1px dashed #a5f3fc;
  border-radius: 18px;
  background: #f8fdff;
}

.site-footer {
  background: linear-gradient(180deg, #ffffff, #ecfeff);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 34px;
}

.footer-logo {
  margin-bottom: 14px;
}

.site-footer p {
  margin: 0;
  color: #64748b;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.footer-links a {
  color: #475569;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 18px 16px;
  color: #64748b;
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 1060px) {
  .header-search {
    display: none;
  }

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

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

  .related-card {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: block;
  }

  .hero-section {
    padding: 52px 0 64px;
  }

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

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

  .hero-image {
    min-height: 300px;
  }

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

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

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

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

  .site-logo {
    font-size: 20px;
  }

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

  .hero-search,
  .search-page-form {
    display: grid;
    border-radius: 22px;
  }

  .hero-search button,
  .search-page-form button {
    width: 100%;
  }

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

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

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

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

  .rank-item {
    grid-template-columns: 38px 72px 1fr;
  }

  .rank-score {
    display: none;
  }

  .compact-card {
    grid-template-columns: 92px 1fr;
  }

  .player-button {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }
}
