
:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --sky: #0ea5e9;
  --slate: #0f172a;
  --dark: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f0fdff;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.logo-text strong,
.footer-logo strong {
  display: block;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

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

.desktop-nav a {
  font-weight: 700;
  color: #334155;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--cyan-dark);
}

.header-search {
  width: min(330px, 28vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.header-search input,
.mobile-panel input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--slate);
}

.header-search input {
  padding: 9px 4px 9px 14px;
}

.header-search button,
.mobile-panel button,
.filter-bar button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: #f1f5f9;
  color: var(--slate);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

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

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.mobile-panel a {
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  color: #334155;
}

.hero-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.35), transparent 34%), linear-gradient(135deg, #0891b2, #2563eb 60%, #0f172a);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(1px) saturate(1.12);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.92), rgba(37, 99, 235, 0.78) 48%, rgba(15, 23, 42, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: 110px 430px 130px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  color: var(--cyan-dark);
  background: rgba(6, 182, 212, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
}

.hero-kicker,
.eyebrow.light {
  color: #cffafe;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-content h1 {
  margin: 22px 0 10px;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  color: #cffafe;
}

.hero-content p {
  max-width: 750px;
  margin: 0 0 26px;
  font-size: clamp(17px, 2.1vw, 22px);
  color: #ecfeff;
}

.hero-tags,
.chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  font-size: 13px;
  font-weight: 700;
}

.chip.ghost {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

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

.primary-button,
.secondary-button,
.light-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  padding: 14px 26px;
  color: var(--cyan-dark);
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.14);
}

.primary-button.small {
  padding: 10px 17px;
  font-size: 14px;
}

.secondary-button {
  padding: 12px 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.light-button {
  padding: 13px 24px;
  color: var(--cyan-dark);
  background: #ffffff;
}

.text-link {
  color: var(--cyan-dark);
}

.primary-button:hover,
.secondary-button:hover,
.light-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.hero-poster {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1180px) / 2));
  top: 115px;
  width: 330px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.86);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 900;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.is-active {
  width: 36px;
  background: #ffffff;
}

.stat-strip {
  background: #ecfeff;
  padding: 34px 0;
}

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

.stat-grid div {
  text-align: center;
  padding: 18px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.stat-grid strong {
  display: block;
  font-size: clamp(26px, 4vw, 42px);
  color: transparent;
  background: linear-gradient(135deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section-block {
  padding: 82px 0;
}

.soft-bg {
  background: #f8fafc;
}

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

.section-heading h2 {
  margin: 12px 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

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

.featured-grid {
  grid-template-columns: repeat(4, 1fr);
}

.compact-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.category-movie-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.movie-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 182, 212, 0.35);
}

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe, #cffafe);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.0);
  opacity: 0;
  transition: opacity 0.24s ease, background 0.24s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
  background: rgba(15, 23, 42, 0.45);
}

.play-dot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  min-height: 1.4em;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.compact-grid .movie-card h3,
.category-movie-grid .movie-card h3 {
  font-size: 15px;
}

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

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

.gradient-feature {
  padding: 78px 0;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%), linear-gradient(135deg, var(--cyan), var(--blue));
}

.gradient-grid,
.two-column-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
}

.gradient-grid h2,
.sub-hero h1,
.ranking-hero h1 {
  margin: 14px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
}

.gradient-grid p,
.sub-hero p,
.ranking-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.rank-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.rank-panel.translucent {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.horizontal-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--slate);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}

.horizontal-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  background: #e0f2fe;
}

.horizontal-body strong {
  display: block;
  line-height: 1.25;
}

.horizontal-body small,
.horizontal-body em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  margin-top: 3px;
}

.rank-panel .horizontal-card {
  min-height: 82px;
  grid-template-columns: 58px 1fr;
  padding: 9px;
  background: rgba(255, 255, 255, 0.9);
}

.rank-panel .horizontal-card img {
  width: 58px;
  height: 58px;
}

.mini-rank {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 18px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 45px rgba(6, 182, 212, 0.18);
}

.category-tile strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 86px;
  font-size: 22px;
}

.category-tile small {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
}

.category-posters {
  position: absolute;
  inset: 14px 14px auto auto;
  display: flex;
}

.category-posters img {
  width: 62px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  margin-left: -22px;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.22);
}

.sub-hero,
.ranking-hero {
  color: #ffffff;
  padding: 86px 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%), linear-gradient(135deg, var(--cyan-dark), var(--blue));
}

.category-hero {
  padding: 72px 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.filter-bar.expanded {
  margin-bottom: 16px;
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.filter-count,
.search-summary {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 800;
}

.search-summary {
  margin-bottom: 20px;
}

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

.overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 310px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.08);
}

.overview-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.overview-cover img {
  width: 92px;
  height: 128px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.26);
  margin-left: -42px;
}

.overview-cover img:first-child {
  margin-left: 0;
}

.overview-body {
  padding: 24px;
}

.overview-body h2 {
  margin: 0 0 8px;
}

.overview-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

.overview-count {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan-dark);
  background: #ecfeff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 900;
}

.overview-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.overview-body li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding: 6px 0;
  font-size: 14px;
}

.overview-body li span {
  color: var(--muted);
}

.ranking-hero {
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.24), transparent 30%), linear-gradient(135deg, #0f172a, #0e7490 56%, #2563eb);
}

.champion-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.champion-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.champion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.92));
}

.champion-card span,
.champion-card strong {
  position: absolute;
  z-index: 2;
  left: 24px;
}

.champion-card span {
  top: 24px;
  color: #78350f;
  background: #fef3c7;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

.champion-card strong {
  bottom: 24px;
  right: 24px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.ranking-table th,
.ranking-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.ranking-table th {
  color: #0e7490;
  background: #ecfeff;
}

.ranking-table a {
  font-weight: 900;
}

.table-rank {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.detail-hero {
  color: #ffffff;
  padding: 42px 0 76px;
  background: radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.25), transparent 28%), linear-gradient(135deg, #0f172a, #0e7490 54%, #2563eb);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #cffafe;
}

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

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.28), rgba(2, 6, 23, 0.56));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-overlay span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cyan-dark);
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

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

.player-note {
  margin: 12px 0 0;
  color: #cffafe;
}

.detail-info {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #0f172a;
}

.detail-text {
  padding: 24px;
}

.detail-text h1 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}

.detail-one-line {
  color: #ecfeff;
  margin: 0 0 20px;
}

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

.detail-meta div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.detail-meta dt {
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.detail-chips .chip {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

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

.content-card,
.side-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.content-card h2,
.side-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-card p {
  color: #334155;
  margin: 0 0 24px;
  font-size: 17px;
}

.prev-next {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.prev-next a {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfeff;
  color: var(--cyan-dark);
  font-weight: 900;
}

.side-card {
  display: grid;
  gap: 10px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 56px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: #94a3b8;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  transition: color 0.2s ease;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 18px 0;
  text-align: center;
  color: #64748b;
}

.from-cyan-to-blue,
.from-blue-to-indigo,
.from-violet-to-cyan,
.from-cyan-to-emerald,
.from-slate-to-cyan,
.from-rose-to-cyan,
.from-orange-to-cyan,
.from-green-to-cyan,
.from-yellow-to-cyan,
.from-cyan-to-sky {
  background-image: linear-gradient(135deg, #06b6d4, #2563eb);
}

.from-blue-to-indigo {
  background-image: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

.from-violet-to-cyan {
  background-image: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.from-cyan-to-emerald {
  background-image: linear-gradient(135deg, #06b6d4, #10b981);
}

.from-slate-to-cyan {
  background-image: linear-gradient(135deg, #0f172a, #06b6d4);
}

.from-rose-to-cyan {
  background-image: linear-gradient(135deg, #e11d48, #06b6d4);
}

.from-orange-to-cyan {
  background-image: linear-gradient(135deg, #f97316, #06b6d4);
}

.from-green-to-cyan {
  background-image: linear-gradient(135deg, #16a34a, #06b6d4);
}

.from-yellow-to-cyan {
  background-image: linear-gradient(135deg, #ca8a04, #06b6d4);
}

.from-cyan-to-sky {
  background-image: linear-gradient(135deg, #0891b2, #0284c7);
}

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

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

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-content {
    padding-right: 350px;
  }

  .hero-poster {
    width: 285px;
  }

  .movie-grid,
  .featured-grid,
  .category-movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .horizontal-grid,
  .overview-grid,
  .footer-grid,
  .detail-grid,
  .article-layout,
  .gradient-grid,
  .two-column-hero {
    grid-template-columns: 1fr;
  }

  .detail-info {
    display: grid;
    grid-template-columns: 240px 1fr;
  }
}

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

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

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

  .hero-section,
  .hero-content {
    min-height: 780px;
  }

  .hero-content {
    padding: 92px 0 330px;
  }

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

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-poster {
    top: auto;
    right: 50%;
    bottom: 78px;
    transform: translateX(50%);
    width: min(280px, calc(100% - 48px));
  }

  .stat-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .horizontal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .section-block {
    padding: 56px 0;
  }

  .section-heading {
    display: block;
  }

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

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

  .overview-cover {
    min-height: 210px;
  }

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

  .detail-poster {
    max-height: 520px;
  }

  .footer-grid {
    padding: 42px 0;
  }
}

@media (max-width: 480px) {
  .stat-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .horizontal-grid {
    grid-template-columns: 1fr;
  }

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

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