:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-2: #06b6d4;
  --accent: #f97316;
  --danger: #dc2626;
  --success: #10b981;
  --shadow: 0 25px 70px rgba(2, 6, 23, 0.38);
  --radius: 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.26), transparent 34rem),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-size: 18px;
  box-shadow: 0 16px 30px rgba(6, 182, 212, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  margin-top: 4px;
}

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

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown:hover > button {
  color: white;
  background: rgba(148, 163, 184, 0.12);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a,
.mobile-category-grid a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted-strong);
}

.nav-dropdown-menu a:hover,
.mobile-category-grid a:hover {
  color: white;
  background: rgba(148, 163, 184, 0.12);
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: min(310px, 28vw);
}

.header-search input,
.mobile-search input,
.page-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  color: white;
  background: transparent;
  padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.page-search input::placeholder {
  color: #64748b;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  padding: 9px 16px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

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

.mobile-panel > a {
  padding: 12px;
  color: var(--muted-strong);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
}

.mobile-search,
.page-search {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  padding: 6px;
}

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

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020617;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.58s ease;
}

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

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.24) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 42%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 150px;
  max-width: 720px;
}

.hero-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.34);
  font-weight: 700;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-content p {
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.movie-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.detail-tags span,
.movie-badges span {
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 7px 11px;
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--danger), var(--accent));
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
  color: white;
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.56);
}

.hero-control-row {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--line);
  font-size: 28px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  transition: 0.2s ease;
}

.hero-dot.is-active {
  width: 48px;
  background: white;
}

.channel-strip {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: center;
  margin-top: -46px;
  position: relative;
  z-index: 8;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.channel-title strong {
  display: block;
  font-size: 24px;
}

.channel-title span {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.channel-links,
.detail-genres,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-links a,
.detail-genres a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--line);
}

.channel-links a:hover,
.detail-genres a:hover,
.footer-links a:hover {
  color: white;
  background: rgba(37, 99, 235, 0.22);
}

.content-section,
.split-section,
.double-lane,
.detail-content-grid,
.ranking-list,
.player-section {
  padding: 68px 0 0;
}

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

.section-heading > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.section-heading p {
  grid-column: 2;
  color: var(--muted);
  margin: 6px 0 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--danger), var(--accent));
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.2);
}

.section-more {
  color: #bfdbfe;
  font-weight: 700;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.2);
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(249, 115, 22, 0.22));
  overflow: hidden;
}

.movie-poster img,
.detail-poster img,
.ranking-cover img,
.compact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 54%);
}

.poster-play {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

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

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #93c5fd;
}

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

.movie-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.movie-card-foot a {
  color: #bfdbfe;
  font-weight: 800;
  white-space: nowrap;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 45% 1fr;
}

.movie-card-wide .movie-poster {
  height: 100%;
  aspect-ratio: auto;
}

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

.highlight-panel,
.ranking-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.62);
  padding: 28px;
}

.small-heading h2 {
  font-size: 26px;
}

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

.rank-list a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
  transition: 0.2s ease;
}

.rank-list a:hover {
  background: rgba(37, 99, 235, 0.16);
}

.rank-list span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, var(--danger), var(--accent));
  font-weight: 900;
}

.rank-list strong {
  display: block;
}

.rank-list em {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
}

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

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

.compact-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  border-color: rgba(96, 165, 250, 0.44);
}

.compact-card img {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.12);
}

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

.compact-card em {
  color: var(--muted);
  margin-top: 6px;
  font-style: normal;
  line-height: 1.5;
}

.page-hero {
  position: relative;
  padding: 78px 0 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.16), transparent 26rem),
    rgba(15, 23, 42, 0.38);
}

.compact-page-hero h1,
.ranking-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.8;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
}

.pagination a:hover,
.pagination .is-current {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.pagination .is-disabled {
  opacity: 0.44;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  padding: 78px 0 68px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(4px) saturate(1.15);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.88) 45%, rgba(2, 6, 23, 0.72) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 70%);
  z-index: 1;
}

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

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

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-info h1 {
  max-width: 820px;
}

.detail-line {
  max-width: 820px;
  color: var(--muted-strong);
  line-height: 1.8;
  font-size: 20px;
}

.detail-meta {
  color: var(--muted);
  margin: 18px 0;
}

.detail-genres {
  margin-top: 14px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
  pointer-events: auto;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: white;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.4), rgba(2, 6, 23, 0.74));
  transition: 0.2s ease;
}

.player-overlay:hover {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32), rgba(2, 6, 23, 0.72));
}

.player-overlay span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0f172a;
  background: white;
  font-size: 28px;
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.18);
}

.player-overlay strong {
  font-size: 20px;
}

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

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

.detail-article,
.detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.66);
  padding: 30px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
}

.detail-article p {
  color: var(--muted-strong);
  line-height: 2;
  margin: 0 0 28px;
  font-size: 17px;
}

.detail-side dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-side dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-side dt {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}

.detail-side dd {
  margin: 0;
  color: white;
  line-height: 1.6;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 70px 140px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.74);
  transition: 0.2s ease;
}

.ranking-row:hover {
  border-color: rgba(96, 165, 250, 0.44);
  transform: translateY(-3px);
}

.ranking-number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--danger), var(--accent));
}

.ranking-cover {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  background: rgba(148, 163, 184, 0.12);
}

.ranking-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ranking-row p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.ranking-meta {
  color: var(--muted);
  margin-top: 8px;
}

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

.site-footer {
  margin-top: 78px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.62);
  padding: 46px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: white;
  background: rgba(15, 23, 42, 0.82);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

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

  .menu-toggle {
    display: inline-block;
  }

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

  .hero-content {
    padding-top: 120px;
  }

  .channel-strip,
  .split-section,
  .double-lane,
  .detail-layout,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: min(330px, 100%);
  }

  .ranking-row {
    grid-template-columns: 54px 110px 1fr;
  }

  .ranking-row .btn {
    grid-column: 3;
    justify-self: start;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .brand-text small {
    display: none;
  }

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

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

  .hero-content {
    padding-top: 94px;
  }

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

  .hero-control-row {
    bottom: 24px;
  }

  .hero-arrow {
    display: none;
  }

  .channel-strip {
    margin-top: -28px;
  }

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

  .movie-card-wide {
    grid-template-columns: 1fr;
  }

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

  .content-section,
  .split-section,
  .double-lane,
  .detail-content-grid,
  .ranking-list,
  .player-section {
    padding-top: 46px;
  }

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

  .ranking-row {
    grid-template-columns: 48px 88px 1fr;
    gap: 12px;
  }

  .ranking-number {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .ranking-row h2 {
    font-size: 18px;
  }

  .ranking-row p {
    display: none;
  }

  .player-overlay span {
    width: 62px;
    height: 62px;
  }

  .detail-article,
  .detail-side,
  .highlight-panel,
  .ranking-panel {
    padding: 22px;
  }
}
