:root {
  --bg: #ffffff;
  --soft: #fafaf9;
  --soft-2: #f5f5f4;
  --line: #e7e5e4;
  --text: #1e293b;
  --muted: #64748b;
  --amber: #d97706;
  --amber-dark: #b45309;
  --black: #020617;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(250, 250, 249, 0.95);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1240px);
  height: 72px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-header:not(.scrolled):not(.solid) .brand,
.site-header:not(.scrolled):not(.solid) .nav-link {
  color: #ffffff;
}

.brand-mark,
.footer-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.28);
}

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

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(217, 119, 6, 0.12);
  color: var(--amber-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.site-header.scrolled .menu-button,
.site-header.solid .menu-button {
  background: var(--soft-2);
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  color: #ffffff;
}

.site-header.scrolled .menu-button span,
.site-header.solid .menu-button span {
  color: var(--text);
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.22));
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92%, 840px);
  transform: translate(-50%, -45%);
  color: #ffffff;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.scroll-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: var(--amber);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.35);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--amber-dark);
  box-shadow: 0 18px 38px rgba(217, 119, 6, 0.42);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.section {
  padding: 72px 0;
}

.section.alt {
  background: linear-gradient(to bottom, var(--soft), #ffffff);
}

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

.section-head h2,
.article-block h2,
.player-block h2,
.side-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  flex: 0 0 auto;
  color: var(--amber-dark);
  font-weight: 700;
}

.movie-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 390px);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.scroll-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.scroll-actions button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font-size: 24px;
  transition: background 0.2s ease, color 0.2s ease;
}

.scroll-actions button:hover {
  background: rgba(217, 119, 6, 0.1);
  color: var(--amber-dark);
}

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

.compact-grid {
  gap: 18px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.72);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-cover,
.large-cover,
.wide-cover,
.rank-cover,
.category-panel-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--black);
}

.card-cover,
.large-cover,
.rank-cover {
  aspect-ratio: 16 / 10;
}

.card-cover img,
.large-cover img,
.wide-cover img,
.rank-cover img,
.category-panel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.08);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  opacity: 0;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 12px;
  right: auto;
  background: var(--amber);
}

.card-body {
  padding: 16px;
}

.card-title,
.wide-title,
.rank-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.2s ease;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title {
  min-height: 44px;
  font-size: 16px;
}

.card-title:hover,
.wide-title:hover,
.rank-title:hover {
  color: var(--amber-dark);
}

.card-body p,
.wide-body p,
.rank-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.card-tags a,
.card-tags span,
.card-meta span,
.large-meta a,
.large-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.card-tags a,
.large-meta a {
  background: rgba(217, 119, 6, 0.1);
  color: var(--amber-dark);
}

.large-card {
  scroll-snap-align: start;
}

.large-cover {
  aspect-ratio: 16 / 10;
}

.large-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16), transparent);
}

.large-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #ffffff;
}

.large-caption strong,
.large-caption em {
  display: block;
}

.large-caption strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.large-caption em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.large-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
}

.wide-list {
  display: grid;
  gap: 18px;
}

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

.wide-cover {
  min-height: 142px;
}

.wide-body,
.rank-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.wide-title,
.rank-title {
  font-size: 20px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.category-tile img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile span {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 18px;
}

.category-tile strong {
  padding-top: 122px;
  font-size: 22px;
  line-height: 1.2;
}

.category-tile em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.rank-cover {
  min-height: 140px;
}

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

.page-hero {
  padding: 122px 0 56px;
}

.simple-hero {
  background: linear-gradient(135deg, #fff7ed, #ffffff 52%, #f8fafc);
  border-bottom: 1px solid var(--line);
}

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

.breadcrumb a {
  color: var(--amber-dark);
  font-weight: 700;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
}

.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.category-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-panel-cover {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.category-panel h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.category-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(217, 119, 6, 0.6);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.sticky-filter {
  position: sticky;
  z-index: 30;
  top: 86px;
  backdrop-filter: blur(14px);
}

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

.detail-hero {
  padding: 118px 0 52px;
  background: linear-gradient(135deg, #0f172a, #292524 48%, #92400e);
  color: #ffffff;
}

.detail-hero .breadcrumb,
.detail-hero .breadcrumb a,
.detail-hero .detail-info h1 {
  color: #ffffff;
}

.detail-hero .breadcrumb span,
.detail-hero .breadcrumb a::after {
  color: rgba(255, 255, 255, 0.7);
}

.detail-layout-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
  aspect-ratio: 3 / 4;
  background: var(--black);
}

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

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

.detail-one-line {
  max-width: 800px;
  margin: 18px 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span,
.tag-list span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.detail-content-section {
  background: #ffffff;
}

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

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

.player-block,
.article-block,
.side-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-block,
.article-block {
  padding: 22px;
  margin-bottom: 22px;
}

.article-block p {
  margin: 16px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.player-shell {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 20px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: #000000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img,
.player-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-cover img {
  object-fit: cover;
}

.player-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
}

.player-button {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-cover:hover .player-button {
  transform: scale(1.06);
  background: rgba(217, 119, 6, 0.82);
}

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

.side-card {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 10px;
  margin: 18px 0 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.side-card dd a {
  color: var(--amber-dark);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}

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

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 420px;
  margin: 14px 0 0;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

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

.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 16px;
  color: #94a3b8;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-carousel {
    height: 85vh;
  }
}

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

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

  .detail-side .side-card {
    position: static;
  }

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

@media (max-width: 820px) {
  .menu-button {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(250, 250, 249, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu .nav-link {
    color: var(--text) !important;
    justify-content: center;
  }

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

  .hero-arrow {
    display: none;
  }

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

  .wide-card,
  .rank-card,
  .category-panel,
  .detail-layout-top {
    grid-template-columns: 1fr;
  }

  .wide-cover,
  .rank-cover,
  .category-panel-cover {
    aspect-ratio: 16 / 10;
  }

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

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

@media (max-width: 580px) {
  .container,
  .nav-wrap {
    width: min(100% - 24px, 1240px);
  }

  .nav-wrap {
    height: 66px;
  }

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

  .hero-content {
    width: min(100% - 28px, 840px);
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 38px;
  }

  .section {
    padding: 54px 0;
  }

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

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

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

  .page-hero {
    padding-top: 104px;
  }

  .detail-hero {
    padding-top: 104px;
  }

  .player-block,
  .article-block,
  .side-card {
    padding: 16px;
    border-radius: 18px;
  }

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
