* {
  box-sizing: border-box;
}

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --yellow-500: #eab308;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 18px 55px rgba(217, 119, 6, 0.14);
  --shadow-card: 0 12px 36px rgba(17, 24, 39, 0.10);
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 251, 235, 0.8) 42%, rgba(255, 247, 237, 0.9) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(251, 191, 36, 0.34);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.28);
}

.brand-text {
  font-size: 21px;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600), var(--yellow-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-600);
  background: rgba(254, 243, 199, 0.9);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(254, 243, 199, 0.85);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-700);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

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

main {
  min-height: 60vh;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 76px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.18), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(249, 115, 22, 0.16), transparent 30%),
    linear-gradient(135deg, var(--amber-50), var(--orange-50));
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.45;
  animation: floatOrb 9s ease-in-out infinite alternate;
}

.orb-one {
  width: 240px;
  height: 240px;
  left: 4%;
  top: 18%;
  background: rgba(245, 158, 11, 0.22);
}

.orb-two {
  width: 320px;
  height: 320px;
  right: 8%;
  bottom: 6%;
  background: rgba(249, 115, 22, 0.20);
  animation-delay: 1.2s;
}

.hero-slider {
  position: relative;
  width: min(1180px, 100%);
  min-height: 620px;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.74fr);
  gap: 42px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -38px;
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.78)),
    var(--hero-image) center / cover;
  box-shadow: var(--shadow-soft);
  z-index: -2;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: -38px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.08));
  z-index: -1;
}

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

.hero-copy {
  padding: 46px 0 46px 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--amber-600);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600), var(--yellow-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

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

.hero-tags span,
.detail-labels span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--amber-700, #92400e);
  background: rgba(254, 243, 199, 0.96);
  font-size: 14px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.25);
}

.btn-ghost {
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(245, 158, 11, 0.36);
}

.btn-light {
  color: var(--amber-600);
  background: #ffffff;
}

.btn.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.22);
  transform: rotate(2deg);
}

.hero-poster::after,
.poster-wrap::after,
.rank-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.68));
  pointer-events: none;
}

.hero-poster img,
.poster-wrap img,
.rank-thumb img,
.poster-side img,
.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

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

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.section-card,
.content-section,
.category-section,
.overview-grid,
.search-panel,
.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-top: -34px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.quick-search h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.search-inline {
  display: flex;
  gap: 12px;
}

.search-inline input,
.search-field-wide input,
.filter-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  outline: none;
  background: #ffffff;
  color: var(--gray-900);
}

.search-inline input:focus,
.search-field-wide input:focus,
.filter-row select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.content-section,
.category-section {
  padding: 70px 0;
}

.category-section {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.94));
}

.category-section > * {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.page-hero h1,
.detail-content h1 {
  margin: 0;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.page-hero p,
.category-overview-card p,
.side-card p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-link,
.text-link {
  color: var(--amber-600);
  font-weight: 800;
}

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

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

.compact-grid,
.category-movie-grid,
.search-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}

.movie-card-featured .poster-wrap {
  aspect-ratio: 16 / 10;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.poster-wrap img {
  transition: transform 0.5s ease;
}

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

.score-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 800;
}

.score-badge {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
}

.play-badge {
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.card-body {
  padding: 16px;
}

.card-meta,
.rank-meta {
  color: var(--gray-500);
  font-size: 12px;
}

.card-meta span:not(:last-child)::after,
.rank-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: rgba(107, 114, 128, 0.55);
}

.movie-card h3,
.rank-item h3,
.category-overview-card h2 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-item h3 a:hover,
.category-overview-card h2 a:hover {
  color: var(--amber-600);
}

.movie-card p,
.rank-item p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags,
.genre-links,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span,
.genre-links a,
.tag-cloud a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--amber-600);
  background: var(--amber-50);
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(217, 119, 6, 0.18);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  font-size: 22px;
  font-weight: 900;
}

.category-icon.small {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-size: 18px;
}

.category-tile strong {
  font-size: 20px;
}

.category-tile small {
  color: var(--gray-600);
  line-height: 1.5;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.rank-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.rank-number {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  font-weight: 900;
}

.cta-strip {
  width: min(920px, calc(100% - 32px));
  margin: 30px auto 80px;
  padding: 54px 24px;
  text-align: center;
  color: #ffffff;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 30px 70px rgba(249, 115, 22, 0.25);
}

.cta-strip .brand-mark {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.22);
}

.cta-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 44px);
}

.cta-strip p {
  max-width: 660px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 26px;
  padding: 54px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 20%, rgba(249, 115, 22, 0.20), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 235, 0.95));
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 34px 0 80px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 20px;
}

.category-covers img {
  aspect-ratio: 1 / 1.18;
  border-radius: 12px;
}

.search-panel {
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.search-field-wide label,
.filter-row label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 800;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.empty-state {
  display: none;
  padding: 60px 24px;
  text-align: center;
  color: var(--gray-600);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.empty-state.is-visible {
  display: block;
}

.detail-layout {
  padding: 36px 0 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--gray-600);
  font-weight: 700;
}

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

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

.player-card,
.side-card {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.player-card {
  overflow: hidden;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: #000000;
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  font-size: 34px;
}

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

.player-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 8;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-shell:hover .player-bar,
.video-shell.is-playing .player-bar {
  opacity: 1;
  transform: translateY(0);
}

.control-button {
  min-width: 64px;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.20);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.control-button:hover {
  background: rgba(255, 255, 255, 0.30);
}

.detail-content {
  padding: 28px;
}

.detail-content h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
}

.lead-text {
  margin: 0 0 18px;
  color: var(--amber-600);
  font-size: 19px;
  font-weight: 800;
}

.text-block {
  margin-top: 28px;
}

.text-block h2,
.side-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.text-block p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
  white-space: pre-line;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 20px;
}

.poster-side {
  padding: 0;
  overflow: hidden;
}

.poster-side img {
  aspect-ratio: 2 / 3;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.info-list dt {
  color: var(--gray-500);
}

.info-list dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
  text-align: right;
}

.related-section {
  padding-top: 30px;
}

.site-footer {
  position: relative;
  margin-top: 70px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #78350f, #9a3412);
}

.footer-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: 10%;
  top: -160px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  filter: blur(6px);
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.brand-footer .brand-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(18px, -22px, 0) scale(1.06);
  }
}

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .hero-copy {
    padding: 36px 34px 0;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }

  .hero-poster {
    width: min(300px, 72vw);
  }

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

  .detail-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .menu-button {
    display: block;
  }

  .header-inner {
    height: 62px;
  }

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

  .hero-section {
    min-height: auto;
    padding: 32px 16px 86px;
  }

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

  .hero-slide::before,
  .hero-slide::after {
    inset: 0;
    border-radius: 30px;
  }

  .hero-copy {
    padding: 30px 20px 0;
  }

  .hero-poster {
    width: min(250px, 78vw);
    transform: none;
  }

  .quick-search,
  .section-heading,
  .footer-inner,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .page-hero {
    padding: 24px;
  }

  .search-inline,
  .footer-links {
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .search-grid,
  .rank-grid,
  .rank-list,
  .overview-grid,
  .category-grid,
  .detail-side,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .content-section,
  .category-section {
    padding: 44px 0;
  }

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

  .footer-inner {
    text-align: center;
  }

  .footer-links {
    align-items: center;
    justify-content: center;
  }

  .player-bar {
    opacity: 1;
    transform: none;
    flex-wrap: wrap;
  }
}
