:root {
  --site-blue: #2563eb;
  --site-cyan: #06b6d4;
  --site-slate: #0f172a;
  --site-soft: #f8fafc;
  --site-text: #111827;
  --site-muted: #64748b;
  --site-card: #ffffff;
  --site-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #ecfeff 100%);
  color: var(--site-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 48%, #0f172a 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24);
}

.site-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-row {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}

.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.28);
}

.logo-text {
  background: linear-gradient(90deg, #60a5fa 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.96rem;
}

.desktop-nav a,
.desktop-nav button {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: #60a5fa;
}

.nav-group {
  position: relative;
}

.nav-group-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11rem;
  margin-top: 0.8rem;
  padding: 0.55rem;
  background: #ffffff;
  color: #1f2937;
  border-radius: 0.85rem;
  box-shadow: var(--site-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: all 0.18s ease;
}

.nav-group:hover .nav-group-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-group-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 0.65rem;
}

.nav-group-menu a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-icon-button {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-icon-button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.header-search {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.header-search.is-open {
  display: block;
}

.header-search form {
  display: flex;
  gap: 0.65rem;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  outline: none;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.header-search button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.primary-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.34);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(30, 64, 175, 0.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-button:hover {
  background: rgba(29, 78, 216, 0.58);
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0 1rem;
}

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

.mobile-menu a {
  display: block;
  padding: 0.72rem 0;
  color: rgba(255, 255, 255, 0.92);
}

.mobile-menu .mobile-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  padding-left: 0.75rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #172554 0%, #1e40af 48%, #0e7490 100%);
  color: #ffffff;
  padding: 5rem 0;
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(55px);
}

.hero-glow span:first-child {
  top: 2.5rem;
  left: 4rem;
  width: 18rem;
  height: 18rem;
  background: #22d3ee;
}

.hero-glow span:last-child {
  right: 3rem;
  bottom: 1rem;
  width: 24rem;
  height: 24rem;
  background: #3b82f6;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #67e8f9;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title strong {
  color: #67e8f9;
}

.hero-desc {
  max-width: 44rem;
  color: #dbeafe;
  font-size: 1.16rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-tags a,
.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.featured-panel {
  display: none;
}

.featured-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.35rem;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
  transform: scale(1.018);
  box-shadow: 0 40px 74px -18px rgba(0, 0, 0, 0.55);
}

.featured-image {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 23rem;
}

.featured-image img,
.movie-thumb img,
.player-cover img,
.rank-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.04) 100%);
}

.featured-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: #ffffff;
  background: #ef4444;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.32);
}

.featured-play,
.card-play,
.player-start-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.featured-play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 4.1rem;
  height: 4.1rem;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.9);
  transform: scale(0.92);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.featured-card:hover .featured-play {
  opacity: 1;
  transform: scale(1);
}

.featured-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
}

.featured-copy h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 0.55rem;
}

.featured-copy p {
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.section {
  padding: 4rem 0;
}

.section-white {
  background: #ffffff;
}

.section-hot {
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
}

.section-fresh {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.section-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0f172a 100%);
  color: #ffffff;
}

.section-categories {
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 48%, #fef9c3 100%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.section h2,
.page-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin-top: 0.35rem;
  color: var(--site-muted);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: #bfdbfe;
}

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 800;
}

.section-dark .view-more {
  color: #67e8f9;
}

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

.movie-grid.compact {
  gap: 1rem;
}

.movie-card {
  height: 100%;
  display: block;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.16);
}

.section-dark .movie-card {
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
}

.movie-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.movie-thumb img {
  transition: transform 0.5s ease;
}

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

.movie-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 65%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-thumb::after {
  opacity: 1;
}

.card-play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 3.45rem;
  height: 3.45rem;
  background: rgba(255, 255, 255, 0.92);
  color: #2563eb;
  transform: scale(0.92);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: scale(1);
}

.card-badge {
  position: absolute;
  z-index: 3;
  top: 0.7rem;
  right: 0.7rem;
  border-radius: 0.45rem;
  padding: 0.22rem 0.55rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.26);
}

.movie-body {
  padding: 1rem;
}

.movie-body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 850;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-body h3 {
  color: #2563eb;
}

.movie-body p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.78rem;
}

.movie-meta span {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: #f1f5f9;
}

.wide-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.wide-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.wide-card:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.wide-card .movie-thumb {
  aspect-ratio: 16 / 9;
}

.wide-card .movie-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.category-tile {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 1.25rem;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-0.22rem) scale(1.012);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.18);
}

.category-tile h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.category-tile p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.65;
}

.theme-blue {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.theme-red {
  background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
}

.theme-pink {
  background: linear-gradient(135deg, #db2777 0%, #fb7185 100%);
}

.theme-slate {
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
}

.theme-orange {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

.theme-yellow {
  background: linear-gradient(135deg, #ca8a04 0%, #f97316 100%);
}

.theme-green {
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
}

.theme-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
}

.page-hero {
  color: #ffffff;
  padding: 4rem 0;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
}

.page-hero .site-container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

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

.page-desc {
  max-width: 54rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 0.8rem;
}

.filter-panel {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.filter-row input,
.filter-row select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 3rem 5.6rem 1fr;
  gap: 1rem;
  align-items: center;
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-0.15rem);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.15);
}

.rank-no {
  font-size: 1.25rem;
  font-weight: 900;
  color: #2563eb;
  text-align: center;
}

.rank-poster {
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f172a;
}

.rank-copy h3 {
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.rank-copy p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.player-shell {
  background: #020617;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.34);
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-box video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: #020617;
}

.player-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0.36) 55%, rgba(2, 6, 23, 0.08) 100%);
}

.player-cover.is-hidden {
  display: none;
}

.player-overlay-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

.player-start-mark {
  width: 5rem;
  height: 5rem;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.player-cover:hover .player-start-mark {
  transform: scale(1.06);
}

.player-title-strip {
  padding: 1rem 1.15rem;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.35rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.detail-card h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
}

.detail-card p {
  color: #334155;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.detail-meta-grid div {
  background: #f8fafc;
  border-radius: 0.85rem;
  padding: 0.75rem;
}

.detail-meta-grid strong {
  display: block;
  color: #0f172a;
  font-size: 0.8rem;
  margin-bottom: 0.18rem;
}

.detail-meta-grid span {
  color: #475569;
  font-size: 0.92rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list span {
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.84rem;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.sidebar-card + .sidebar-card {
  margin-top: 1rem;
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.side-list a {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid #e2e8f0;
}

.side-list a:first-child {
  border-top: 0;
  padding-top: 0;
}

.side-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.65rem;
}

.side-list strong {
  display: block;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.side-list span {
  color: #64748b;
  font-size: 0.82rem;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.empty-state {
  display: none;
  background: #ffffff;
  border-radius: 1rem;
  padding: 3rem 1rem;
  text-align: center;
  color: #64748b;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

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

.site-footer {
  background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #111827 100%);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 0.9rem;
}

.footer-grid p,
.footer-grid a {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: #60a5fa;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.88rem;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .site-container {
    padding: 0 1.5rem;
  }

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

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

  .filter-row {
    grid-template-columns: 1fr 12rem;
  }

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

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

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

  .wide-card .movie-thumb {
    aspect-ratio: 1 / 1;
  }

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

  .detail-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .site-container {
    padding: 0 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(27rem, 0.92fr);
  }

  .featured-panel {
    display: block;
  }

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

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 0.8fr);
  }
}

@media (max-width: 767px) {
  .header-row {
    height: 3.75rem;
  }

  .logo-link {
    font-size: 1.15rem;
  }

  .hero-section {
    padding: 3.4rem 0;
  }

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

  .page-hero {
    padding: 3rem 0;
  }

  .rank-item {
    grid-template-columns: 2.6rem 4.7rem 1fr;
    gap: 0.75rem;
  }
}
