:root {
  --site-orange: #f97316;
  --site-pink: #ec4899;
  --site-purple: #8b5cf6;
  --site-text: #1f2937;
  --site-muted: #6b7280;
  --site-soft: #fff7ed;
  --site-card: #ffffff;
  --site-border: rgba(249, 115, 22, 0.14);
  --site-shadow: 0 24px 70px rgba(88, 28, 135, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--site-text);
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 52%, #faf5ff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: min(100% - 32px, 1280px);
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.08);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
  color: var(--site-orange);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--site-orange);
  background: #fff7ed;
  font-size: 22px;
  font-weight: 900;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--site-border);
}

.mobile-menu.open {
  display: grid;
  gap: 12px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
}

.hero-section {
  position: relative;
  height: min(82vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 1.4s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero-badge,
.detail-badge,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-btn,
.glass-btn,
.outline-btn,
.cta-section a,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn,
.search-form button,
.cta-section a {
  color: #fff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 16px 42px rgba(236, 72, 153, 0.28);
}

.primary-btn:hover,
.search-form button:hover,
.cta-section a:hover,
.outline-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 55px rgba(236, 72, 153, 0.34);
}

.glass-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 36px;
  background: #fff;
}

.search-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-top: -48px;
  position: relative;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--site-border);
  border-radius: 28px;
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(20px);
}

.search-band h2 {
  font-size: 30px;
  font-weight: 950;
  color: #111827;
}

.search-band p {
  margin-top: 8px;
  color: var(--site-muted);
}

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

.search-form input,
.search-inline input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.search-inline input:focus {
  border-color: var(--site-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.section-block {
  padding-top: 72px;
  padding-bottom: 36px;
}

.section-heading {
  margin-bottom: 28px;
}

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

.section-heading.centered span {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-top: 14px;
  color: #111827;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.8;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.inline-heading a,
.feature-links a,
.genre-cloud a,
.footer-grid a {
  color: var(--site-orange);
  font-weight: 800;
}

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

.channel-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: var(--site-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.channel-card:nth-child(2n) {
  background: linear-gradient(135deg, #60a5fa, var(--site-purple));
}

.channel-card:nth-child(3n) {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.channel-card:hover,
.movie-card:hover,
.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(236, 72, 153, 0.22);
}

.channel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 22px;
}

.channel-card h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 950;
}

.channel-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

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

.movie-card {
  background: #fff;
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(88, 28, 135, 0.10);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link {
  display: grid;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

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

.poster-year,
.poster-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 11px;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(17, 24, 39, 0.74);
  backdrop-filter: blur(10px);
}

.poster-year {
  left: 12px;
  top: 12px;
}

.poster-type {
  right: 12px;
  top: 12px;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  min-width: 34px;
  text-align: center;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.card-meta {
  display: flex;
  gap: 8px;
  color: var(--site-orange);
  font-size: 13px;
  font-weight: 800;
}

.card-body h3 {
  font-size: 19px;
  font-weight: 950;
  line-height: 1.25;
  color: #111827;
}

.card-body p {
  min-height: 48px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.card-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--site-orange);
  font-size: 14px;
  font-weight: 900;
}

.horizontal-card .card-link {
  grid-template-columns: 120px 1fr;
}

.horizontal-card .poster-wrap img {
  height: 100%;
  aspect-ratio: 3 / 4;
}

.horizontal-card .card-body p {
  min-height: 0;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 36px;
  align-items: start;
}

.feature-panel,
.filter-panel,
.detail-main-card,
.detail-section,
.category-tile {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--site-border);
  border-radius: 30px;
  box-shadow: var(--site-shadow);
}

.feature-panel {
  position: sticky;
  top: 100px;
  padding: 34px;
}

.feature-panel h2 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.feature-panel p {
  margin-top: 18px;
  color: var(--site-muted);
  line-height: 1.8;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.outline-btn {
  margin-top: 24px;
  color: var(--site-orange);
  background: #fff;
  border: 1px solid rgba(249, 115, 22, 0.24);
}

.cta-section {
  margin-top: 54px;
  padding: 76px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
}

.cta-section h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.cta-section p {
  margin: 16px auto 28px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.cta-section a {
  color: var(--site-orange);
  background: #fff;
}

.page-hero {
  padding: 92px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #f97316 0%, #ec4899 54%, #8b5cf6 100%);
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.page-hero p {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.8;
}

.page-hero span {
  color: var(--site-orange);
  background: #fff;
}

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

.category-tile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 220px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile img {
  width: 100%;
  height: 184px;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.category-tile span {
  color: var(--site-orange);
  font-size: 13px;
  font-weight: 900;
}

.category-tile h2 {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.category-tile p {
  margin-top: 10px;
  color: var(--site-muted);
  line-height: 1.8;
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.genre-cloud a,
.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 900;
}

.filter-panel {
  margin-top: -32px;
  position: relative;
  z-index: 3;
  padding: 24px;
}

.filter-top {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.search-inline {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.search-inline span {
  color: #374151;
  font-weight: 900;
}

.wide-search input {
  max-width: 760px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  border: 0;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-pink));
  transform: translateY(-1px);
}

.breadcrumb-bar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--site-border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--site-orange);
}

.detail-layout {
  padding-top: 46px;
}

.detail-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 34px;
  padding: 28px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.46));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-orb {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--site-orange), var(--site-pink));
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.36);
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.detail-info h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.06em;
  color: #111827;
}

.lead-text {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta-grid div {
  padding: 14px;
  border-radius: 18px;
  background: #fff7ed;
}

.detail-meta-grid span {
  display: block;
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
}

.detail-meta-grid b {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 16px;
}

.detail-content {
  display: grid;
  gap: 26px;
  padding-top: 28px;
  padding-bottom: 70px;
}

.detail-section {
  padding: 28px;
}

.detail-section h2 {
  font-size: 28px;
  font-weight: 950;
  color: #111827;
  letter-spacing: -0.04em;
}

.detail-section p {
  margin-top: 16px;
  color: #4b5563;
  line-height: 1.95;
  font-size: 17px;
}

.related-grid {
  margin-top: 22px;
}

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

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

.site-footer {
  padding-top: 54px;
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid var(--site-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2 {
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

.footer-grid p,
.footer-grid li {
  margin-top: 10px;
  color: var(--site-muted);
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 36px;
  padding: 20px;
  color: var(--site-muted);
  text-align: center;
  border-top: 1px solid var(--site-border);
}

[data-card].hidden-card {
  display: none;
}

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

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

  .detail-main-card,
  .split-section,
  .search-band {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-section {
    height: 78vh;
    min-height: 540px;
  }

  .movie-grid,
  .channel-grid,
  .category-grid,
  .ranking-page-list,
  .spotlight-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-main-card {
    padding: 18px;
  }

  .category-tile {
    grid-template-columns: 1fr;
  }
}

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

  .site-logo {
    font-size: 21px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

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

  .hero-actions,
  .search-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .channel-grid,
  .category-grid,
  .ranking-page-list,
  .spotlight-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .horizontal-card .card-link {
    grid-template-columns: 104px 1fr;
  }

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

  .play-orb {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
