:root {
  --honey-50: #fff8e7;
  --honey-100: #fff0d1;
  --honey-300: #ffd875;
  --honey-500: #d4a574;
  --honey-700: #a67c3e;
  --honey-900: #6a4c20;
  --flame-400: #ffa726;
  --flame-500: #ff6b35;
  --flame-600: #f4511e;
  --phoenix-500: #c1440e;
  --phoenix-900: #5f220d;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --line: rgba(120, 76, 32, 0.14);
  --paper: #ffffff;
  --shadow: 0 18px 45px rgba(95, 34, 13, 0.14);
  --radius-xl: 24px;
  --radius-lg: 18px;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 202, 40, 0.24), transparent 28rem),
    linear-gradient(180deg, var(--honey-50), #ffffff 32rem);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--honey-700), var(--flame-500), #ffbf69);
  box-shadow: 0 12px 28px rgba(161, 56, 16, 0.22);
}

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

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  animation: flamePulse 3.2s ease-in-out infinite;
}

.brand-text {
  font-size: 1.35rem;
}

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

.nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  transition: width 0.24s ease;
}

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

.header-search {
  width: 240px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.header-search input {
  color: #ffffff;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-link {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-link.is-active {
  color: #ffffff;
}

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

.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: 28px 0 34px;
}

.hero-shell {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  color: #ffffff;
  background: #1f130b;
  box-shadow: var(--shadow);
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
  min-height: 560px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) saturate(1.18);
  transform: scale(1.08);
  opacity: 0.72;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 26%, rgba(255, 202, 40, 0.36), transparent 24rem),
    linear-gradient(90deg, rgba(16, 8, 2, 0.92), rgba(16, 8, 2, 0.66), rgba(16, 8, 2, 0.24));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: center;
  gap: 48px;
  padding: 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--honey-300);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-line {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-tags,
.tag-row,
.detail-tags,
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span,
.breadcrumb a,
.breadcrumb span {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.ghost-button,
.section-more,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.32);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.card-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 107, 53, 0.92);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.hero-seo {
  position: absolute;
  z-index: 2;
  left: 54px;
  right: 54px;
  bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-seo h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.hero-seo p {
  max-width: 760px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.hero-seo div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-seo span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
}

.hero-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #ffffff;
}

.content-section {
  padding: 42px 0;
}

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

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--ink-500);
}

.section-more {
  color: #ffffff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  white-space: nowrap;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(106, 76, 32, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(106, 76, 32, 0.2);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.7));
  opacity: 0.78;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.82);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 107, 53, 0.9);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.card-content {
  padding: 16px;
}

.card-kicker,
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--honey-700);
  font-size: 0.86rem;
  font-weight: 800;
}

.card-content h3 {
  min-height: 3.2em;
  margin: 8px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.card-content h3 a:hover {
  color: var(--flame-600);
}

.card-content p {
  min-height: 3.8em;
  margin: 0 0 12px;
  color: var(--ink-500);
  font-size: 0.94rem;
}

.tag-row span,
.detail-tags span {
  color: var(--phoenix-500);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--honey-100);
}

.card-meta {
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 0.82rem;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-700), var(--flame-500), var(--phoenix-500));
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

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

.category-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
}

.category-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--phoenix-500);
  font-weight: 900;
  background: #ffffff;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 35px rgba(106, 76, 32, 0.08);
}

.filter-bar input,
.filter-bar select {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.empty-state {
  display: none;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--ink-500);
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(106, 76, 32, 0.1);
}

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

.rank-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.rank-info p {
  margin: 0 0 8px;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.detail-hero {
  padding: 36px 0 26px;
}

.breadcrumb {
  margin-bottom: 22px;
}

.breadcrumb a,
.breadcrumb span {
  color: var(--honey-900);
  background: rgba(255, 240, 209, 0.76);
}

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

.detail-panel,
.side-panel,
.text-panel {
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-panel {
  overflow: hidden;
}

.player-section {
  padding: 16px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.56)),
    linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(95, 34, 13, 0.55));
}

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

.play-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  font-size: 2rem;
}

.detail-copy {
  padding: 8px 24px 28px;
}

.detail-copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--phoenix-500);
  font-weight: 800;
  background: var(--honey-100);
}

.detail-lead {
  color: var(--ink-700);
  font-size: 1.08rem;
}

.text-panel {
  margin-top: 28px;
  padding: 28px;
}

.text-panel h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.text-panel p {
  margin: 0 0 16px;
  color: var(--ink-700);
}

.side-panel {
  padding: 18px;
}

.side-panel h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.side-poster {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 20px;
}

.side-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

.side-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: var(--honey-50);
}

.side-link img {
  width: 58px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.side-link h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.side-link p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.info-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 0 70px;
}

.info-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.info-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
}

.info-card h2 {
  margin-top: 30px;
}

.info-card p,
.info-card li {
  color: var(--ink-700);
}

.info-card ul {
  padding-left: 1.2em;
}

.site-footer {
  margin-top: 54px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-900), var(--phoenix-900), var(--flame-600));
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-logo {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 900;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes flamePulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36), 0 12px 24px rgba(255, 255, 255, 0.14);
  }
}

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

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

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

  .hero-shell,
  .hero-slide {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 720px;
    padding: 34px;
  }

  .hero-poster {
    max-width: 260px;
  }

  .hero-seo {
    left: 34px;
    right: 34px;
  }

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

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

  .rank-list,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}

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

  .brand-text {
    font-size: 1.08rem;
  }

  .hero-shell,
  .hero-slide {
    min-height: 720px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 26px;
    gap: 26px;
  }

  .hero-tags span {
    font-size: 0.86rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-controls {
    left: 22px;
    right: auto;
  }

  .hero-seo {
    left: 26px;
    right: 26px;
    bottom: 84px;
  }

  .section-head {
    display: block;
  }

  .section-more {
    margin-top: 16px;
  }

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

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

  .rank-number {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .detail-copy {
    padding: 8px 18px 24px;
  }

  .text-panel,
  .info-card {
    padding: 22px;
  }
}
