:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(146, 64, 14, 0.12);
  --shadow-strong: 0 30px 70px rgba(120, 53, 15, 0.26);
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.25), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.18), transparent 34rem),
    linear-gradient(135deg, #fffbeb 0%, #fefce8 52%, #fff7ed 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.honey-gradient {
  background: linear-gradient(135deg, var(--amber-400), #eab308, var(--orange-500));
}

.honey-text {
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), #ca8a04, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.honey-card {
  border: 1px solid rgba(253, 230, 138, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card-hover {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(251, 191, 36, 0.96);
  box-shadow: var(--shadow-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(253, 230, 138, 0.85);
  background: rgba(255, 251, 235, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 900;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.brand-text {
  font-size: 1.35rem;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), #ca8a04, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  font-weight: 700;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

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

.top-search {
  width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 2px solid rgba(253, 230, 138, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.top-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--gray-900);
  background: transparent;
}

.top-search button,
.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(253, 230, 138, 0.5);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  margin: 4px auto;
  display: block;
  border-radius: 999px;
  background: var(--gray-900);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(253, 230, 138, 0.85);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f 0%, #b45309 42%, #f59e0b 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to top, rgba(255, 251, 235, 1), rgba(255, 251, 235, 0));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.34), transparent 18rem),
    radial-gradient(circle at 78% 26%, rgba(253, 224, 71, 0.38), transparent 22rem),
    radial-gradient(circle at 54% 80%, rgba(249, 115, 22, 0.28), transparent 22rem);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-track {
  width: 100%;
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
  animation: heroFade 0.7s ease both;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy {
  color: #ffffff;
  animation: floatIn 0.8s ease both;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #92400e;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

.hero-tags,
.tag-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.pill-link {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

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

.primary-btn,
.ghost-btn,
.section-more,
.rank-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn,
.rank-play {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 14px 28px rgba(194, 65, 12, 0.24);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.rank-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(146, 64, 14, 0.24);
}

.hero-poster {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 50%);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 74px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dot.is-active {
  background: #ffffff;
}

.section-block {
  margin: 70px auto;
}

.page-main {
  padding-top: 34px;
}

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

.section-title h2 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), #ca8a04, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.section-more {
  flex-shrink: 0;
  color: var(--amber-700, #b45309);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(253, 230, 138, 0.9);
}

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

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

.movie-card {
  overflow: hidden;
}

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

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

.movie-card:hover .poster-link img,
.category-tile:hover img,
.rank-row:hover img {
  transform: scale(1.06);
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-weight: 900;
  font-size: 0.78rem;
}

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

.movie-meta-line {
  margin-bottom: 8px;
  color: var(--amber-600);
  font-size: 0.86rem;
  font-weight: 900;
}

.movie-card h3,
.rank-info h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

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

.movie-card p,
.rank-info p,
.category-tile p,
.page-hero p,
.detail-content p,
.lead-text {
  color: var(--gray-700);
}

.movie-card p {
  min-height: 3.2em;
  margin: 9px 0 14px;
  font-size: 0.94rem;
}

.tag-row span {
  color: #92400e;
  background: rgba(254, 243, 199, 0.9);
}

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

.category-tile {
  display: block;
  min-height: 260px;
  overflow: hidden;
}

.category-tile img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile div {
  padding: 16px;
}

.category-tile h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.category-tile p {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.category-tile span {
  color: var(--amber-600);
  font-weight: 900;
  font-size: 0.88rem;
}

.rank-list {
  display: grid;
  gap: 14px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(253, 230, 138, 0.72);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.rank-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: var(--amber-100);
}

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

.rank-info p {
  margin: 5px 0 6px;
}

.rank-meta {
  color: var(--amber-600);
  font-size: 0.88rem;
  font-weight: 900;
}

.page-hero {
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), #ca8a04, var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.page-hero p {
  max-width: 860px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

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

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

.pill-row {
  margin-top: 24px;
}

.pill-link {
  color: #92400e;
  background: rgba(254, 243, 199, 0.82);
}

.pill-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select,
.big-search input {
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(253, 230, 138, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.big-search {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.big-search button {
  padding-inline: 24px;
}

.search-status {
  margin-bottom: 20px;
  color: var(--amber-600);
  font-weight: 900;
}

.detail-main {
  display: grid;
  gap: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  padding: 26px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: var(--amber-100);
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.lead-text {
  margin: 18px 0 0;
  font-size: 1.12rem;
}

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

.detail-meta div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(254, 243, 199, 0.68);
}

.detail-meta dt {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: var(--gray-900);
  font-weight: 900;
}

.detail-tags {
  margin-bottom: 28px;
}

.player-section,
.detail-content {
  padding: clamp(18px, 3vw, 30px);
}

.compact-title {
  margin-bottom: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111827;
  aspect-ratio: 16 / 9;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.18));
  font-size: 1.08rem;
  font-weight: 900;
}

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

.play-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 18px 38px rgba(194, 65, 12, 0.38);
  font-size: 2rem;
}

.detail-content h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.detail-content h2 + p {
  margin-bottom: 24px;
}

.related-section {
  margin-top: 0;
}

.site-footer {
  margin-top: 80px;
  padding: 42px 0;
  color: #fffbeb;
  background: linear-gradient(135deg, #78350f, #92400e, #b45309);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 251, 235, 0.78);
}

@keyframes heroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero-poster {
    min-height: 300px;
    transform: none;
  }

  .hero-poster img {
    min-height: 300px;
  }

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

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

  .compact-rank {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-text {
    font-size: 1.05rem;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0 110px;
  }

  .hero-slide {
    gap: 30px;
  }

  .hero-dots {
    bottom: 48px;
  }

  .section-title,
  .footer-inner,
  .big-search {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .movie-card p {
    min-height: auto;
  }

  .rank-row {
    grid-template-columns: 44px 88px minmax(0, 1fr);
  }

  .rank-play {
    grid-column: 2 / -1;
  }

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

  .detail-hero {
    padding: 18px;
  }

  .detail-poster img {
    min-height: 320px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .large-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }
}
