:root {
  --mint: #98d8c8;
  --mint-dark: #5ba896;
  --mint-deep: #2f7f70;
  --ink: #1f2933;
  --muted: #65717f;
  --paper: #ffffff;
  --soft: #f2fbf8;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 60px rgba(22, 81, 70, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fffc 0%, #f7fafc 42%, #ffffff 100%);
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(91, 168, 150, 0.96), rgba(36, 116, 101, 0.96));
  box-shadow: 0 12px 35px rgba(22, 81, 70, 0.18);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.nav-link,
.mobile-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.top-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.big-search input {
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.top-search input {
  width: 230px;
  padding: 10px 16px;
}

.top-search button,
.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--mint-deep);
  font-weight: 800;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

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

.mobile-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 18px;
}

.mobile-search {
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  padding: 12px 16px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-shell {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 22px;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 35px 100px rgba(21, 87, 73, 0.22);
  background: #244c45;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 390px;
  gap: 44px;
  align-items: center;
  padding: 72px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(152, 216, 200, 0.38), transparent 32%), linear-gradient(0deg, rgba(15, 34, 31, 0.5), transparent 45%);
}

.hero-copy,
.hero-poster,
.detail-copy,
.detail-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy .hero-kicker,
.detail-copy .hero-kicker {
  color: #dffcf4;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p,
.detail-copy p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.tag-row span {
  background: #edf8f5;
  color: #367b6d;
}

.tag-row.bright span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.hero-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 46px;
  padding: 12px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 16px 32px rgba(75, 158, 139, 0.3);
}

.ghost-btn {
  min-height: 46px;
  padding: 11px 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.text-link {
  color: var(--mint-deep);
  font-size: 15px;
}

.hero-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

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

.quick-search-block {
  max-width: 1100px;
  margin: -58px auto 46px;
  padding: 0 22px;
  position: relative;
  z-index: 8;
}

.quick-search-inner {
  border-radius: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: center;
}

.quick-search-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 40px);
}

.quick-search-inner p {
  margin: 0 auto 22px;
  max-width: 720px;
  color: var(--muted);
}

.big-search {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: #edf8f5;
}

.big-search input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
}

.big-search button {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: #ffffff;
  padding: 14px 24px;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 22px;
}

.content-section.tinted {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1240px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1240px) / 2 + 22px));
  background: linear-gradient(135deg, rgba(152, 216, 200, 0.16), rgba(123, 200, 180, 0.09));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

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

.category-tile {
  min-height: 166px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.rank-card:hover,
.category-card-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 80px rgba(22, 81, 70, 0.18);
}

.category-tile span {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 50px rgba(19, 70, 61, 0.11);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dcefeb;
}

.poster-link img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.66);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.movie-info {
  padding: 18px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span {
  border-radius: 999px;
  padding: 3px 8px;
  background: #f0f7f5;
}

.movie-meta.light span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.movie-info h3,
.rank-copy h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-info p,
.rank-copy p,
.detail-side p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.rank-list.compact {
  gap: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: auto 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(19, 70, 61, 0.1);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-no {
  width: 36px;
  height: 36px;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
}

.rank-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.spotlight-panel {
  position: sticky;
  top: 94px;
  min-height: 420px;
  padding: 32px;
  border-radius: 30px;
  color: #ffffff;
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.24), transparent 34%), linear-gradient(135deg, #2f7f70, #152c28);
  box-shadow: var(--shadow);
}

.spotlight-panel .eyebrow,
.spotlight-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.spotlight-panel h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.12;
}

.page-hero,
.detail-hero {
  color: #ffffff;
  background: radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #5ba896, #1c4b43);
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 80px max(22px, calc((100vw - 1240px) / 2 + 22px));
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.category-list-large {
  display: grid;
  gap: 22px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  overflow: hidden;
  border-radius: 22px;
}

.category-cover-strip img {
  height: 220px;
  object-fit: cover;
}

.category-card-large h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.category-card-large p {
  color: var(--muted);
}

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

.filter-bar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #376b61;
  background: #eaf7f3;
  cursor: pointer;
  font-weight: 800;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
}

.search-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 22px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.detail-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-section {
  padding-top: 44px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #07110f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  z-index: 4;
}

.player-cover strong {
  font-size: clamp(22px, 4vw, 34px);
}

.player-cover em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.76);
}

.play-symbol {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 16px 44px rgba(152, 216, 200, 0.38);
  font-size: 34px;
  padding-left: 6px;
}

.player-frame.is-playing .player-cover {
  display: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 34px;
}

.detail-article,
.detail-side {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.detail-article {
  padding: 32px;
}

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.detail-article p {
  margin: 0 0 28px;
  color: #3b4653;
  font-size: 17px;
}

.detail-side {
  padding: 26px;
  align-self: start;
}

.detail-side h2 {
  margin: 0 0 18px;
}

.detail-side dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.detail-side dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.detail-side dd {
  margin: -8px 0 8px;
  font-weight: 800;
}

.center-actions {
  justify-content: center;
}

.site-footer {
  color: #d9e7e3;
  background: linear-gradient(180deg, #23342f, #121d1a);
  margin-top: 24px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  color: #b9c9c5;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-bottom {
  padding: 18px 22px 28px;
  text-align: center;
  color: #91a29e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .top-search {
    display: none;
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 54px;
  }

  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-panel {
    position: static;
  }
}

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

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

  .hero-slider {
    min-height: 720px;
  }

  .hero-slide,
  .detail-intro,
  .category-card-large {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    gap: 28px;
    padding: 38px 26px 82px;
  }

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

  .hero-dots {
    left: 26px;
    bottom: 28px;
  }

  .quick-search-block {
    margin-top: -34px;
  }

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

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

  .rank-card {
    grid-template-columns: auto 92px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 12px 16px;
  }

  .brand {
    font-size: 15px;
  }

  .hero-shell,
  .content-section,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-slider {
    min-height: 680px;
    border-radius: 24px;
  }

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .big-search {
    display: grid;
    border-radius: 24px;
  }

  .big-search input,
  .big-search button {
    width: 100%;
  }

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

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

  .rank-no {
    grid-column: 1 / -1;
  }

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

  .detail-intro {
    gap: 26px;
  }

  .detail-poster {
    max-width: 250px;
  }
}
