:root {
  --frosting-50: #fef8f3;
  --frosting-100: #fdf0e6;
  --frosting-300: #f9c29a;
  --frosting-500: #f06c25;
  --frosting-600: #d95a1b;
  --frosting-700: #b54916;
  --dawn-50: #fff7ed;
  --dawn-100: #ffedd5;
  --dawn-200: #fed7aa;
  --dawn-500: #f97316;
  --cream-50: #fffdf9;
  --cream-100: #fef8f3;
  --cream-200: #fbf9f7;
  --cream-500: #eee5db;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --line: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 25px rgba(17, 24, 39, 0.10);
  --shadow-xl: 0 25px 50px rgba(17, 24, 39, 0.16);
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--cream-50), #ffffff 45%, rgba(254, 248, 243, 0.56));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.70));
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 10px 24px rgba(240, 108, 37, 0.32);
  font-size: 13px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--frosting-600), var(--dawn-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 11px;
}

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

.nav-link {
  position: relative;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--frosting-600);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--frosting-50);
  cursor: pointer;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink-700);
  border-radius: var(--radius-full);
}

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

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

.mobile-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink-700);
  background: var(--frosting-50);
  font-weight: 600;
  font-size: 14px;
}

.mobile-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

.mobile-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
}

main {
  padding-top: 76px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--frosting-100), var(--cream-100), var(--dawn-100));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.48;
  mix-blend-mode: multiply;
  animation: blob 9s infinite;
}

.hero::before {
  top: 12%;
  left: 12%;
  background: var(--frosting-300);
}

.hero::after {
  right: 8%;
  bottom: 18%;
  background: var(--dawn-200);
  animation-delay: 2s;
}

.hero-blob {
  position: absolute;
  left: 48%;
  bottom: 9%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--cream-200);
  filter: blur(60px);
  opacity: 0.55;
  animation: blob 9s infinite 4s;
}

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

.hero-copy {
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 14px;
}

.eyebrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--frosting-500);
  box-shadow: 0 0 0 5px rgba(240, 108, 37, 0.13);
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--frosting-600), var(--dawn-500), var(--frosting-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  width: min(640px, 100%);
  margin: 0 0 30px;
  color: var(--ink-700);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 12px 28px rgba(240, 108, 37, 0.28);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(240, 108, 37, 0.36);
}

.button-secondary {
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.button-ghost {
  color: var(--frosting-600);
  background: var(--frosting-50);
}

.hero-search {
  width: min(560px, 100%);
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(253, 240, 230, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--ink-700);
  background: transparent;
}

.hero-search button {
  border: 0;
  cursor: pointer;
}

.hero-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-categories a {
  padding: 9px 14px;
  border-radius: var(--radius-full);
  color: var(--frosting-600);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-categories a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-card {
  height: 100%;
  min-height: 500px;
  border-radius: 30px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card img {
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.02);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.70));
}

.hero-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}

.hero-card-content span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: #fff;
  background: rgba(240, 108, 37, 0.88);
  backdrop-filter: blur(6px);
  font-weight: 700;
  font-size: 13px;
}

.hero-card-content h2 {
  margin: 16px 0 10px;
  font-size: 30px;
  line-height: 1.15;
}

.hero-card-content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: -30px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(240, 108, 37, 0.22);
  cursor: pointer;
}

.hero-dot.is-active {
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

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

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

.title-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-line::before {
  content: "";
  display: block;
  width: 5px;
  height: 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--frosting-500), var(--dawn-500));
}

.section h2,
.page-section h1,
.page-section h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.section-desc,
.page-lead {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--ink-600);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--frosting-100), var(--dawn-100));
}

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

.movie-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .movie-cover img,
.compact-card:hover img,
.rank-item:hover img {
  transform: scale(1.08);
}

.cover-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62));
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%) scale(0.86);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--frosting-600);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-md);
}

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

.corner-label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  color: #fff;
  background: rgba(240, 108, 37, 0.90);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.rank-info h3 a:hover {
  color: var(--frosting-600);
}

.movie-info p {
  margin: 0 0 12px;
  color: var(--ink-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--ink-500);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: var(--radius-full);
  color: var(--frosting-600);
  background: var(--frosting-50);
  font-size: 12px;
  font-weight: 700;
}

.band-section {
  margin-top: 72px;
  padding: 64px 0;
  background: linear-gradient(90deg, var(--frosting-50), var(--dawn-50));
}

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

.category-filter,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button,
.filter-select {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--ink-700);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-button.is-active,
.filter-button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 10px 24px rgba(240, 108, 37, 0.20);
}

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

.category-card {
  display: block;
  padding: 28px;
  min-height: 210px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--frosting-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 14px 24px rgba(240, 108, 37, 0.25);
}

.category-card h2,
.category-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.75;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
  background: linear-gradient(135deg, var(--frosting-100), #fff, var(--dawn-100));
}

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

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

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

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

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-weight: 700;
}

.pagination .is-current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

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

.rank-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--frosting-100);
}

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

.rank-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
  font-size: 20px;
  font-weight: 800;
}

.rank-info h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.rank-info p {
  margin: 0 0 12px;
  color: var(--ink-600);
  line-height: 1.65;
}

.search-panel {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 160px;
  gap: 12px;
}

.search-grid input,
.search-grid select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  outline: 0;
  background: var(--frosting-50);
  color: var(--ink-700);
}

.search-grid input:focus,
.search-grid select:focus {
  border-color: var(--frosting-300);
  box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.10);
}

.search-empty {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--ink-600);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 30px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow-xl);
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: #000;
  padding: 0;
  text-align: center;
  z-index: 3;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.player-overlay img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
}

.player-overlay-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px;
}

.player-overlay-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--frosting-600);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-xl);
  font-size: 26px;
}

.player-overlay-title {
  max-width: 760px;
  font-size: clamp(22px, 3.8vw, 42px);
  line-height: 1.2;
  font-weight: 800;
}

.content-card {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
}

.content-card:first-child {
  margin-top: 0;
}

.content-card h1,
.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.content-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
}

.content-card p {
  color: var(--ink-700);
  line-height: 1.9;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  color: var(--ink-700);
  background: var(--frosting-50);
  font-weight: 700;
  font-size: 13px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags a,
.detail-tags span {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  color: var(--frosting-600);
  background: var(--frosting-50);
  font-weight: 700;
  font-size: 13px;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--frosting-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: var(--frosting-100);
  transform: translateY(-2px);
}

.compact-card img {
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.compact-card strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.compact-card small {
  color: var(--ink-500);
  line-height: 1.5;
}

.link-card {
  display: block;
  padding: 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 16px 28px rgba(240, 108, 37, 0.26);
}

.link-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.link-card span {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -44px) scale(1.08);
  }
  66% {
    transform: translate(-20px, 24px) scale(0.94);
  }
}

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

  .menu-button {
    display: block;
  }

  .hero-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    text-align: center;
  }

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

  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    height: 66px;
  }

  main {
    padding-top: 66px;
  }

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

  .brand-text small {
    font-size: 10px;
  }

  .hero-inner {
    padding: 46px 0 70px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-search {
    flex-direction: column;
    padding: 10px;
  }

  .hero-search input {
    min-height: 44px;
  }

  .hero-slider,
  .hero-card,
  .hero-card img {
    min-height: 420px;
  }

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

  .section,
  .page-section {
    padding-top: 52px;
  }

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

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

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

  .rank-num {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

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

  .content-card {
    padding: 20px;
  }

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