@charset "UTF-8";

.index2 {
  --cinema: #ff6b74;
  --cinema-soft: #ff9b8f;
  --cinema-dark: #1a1013;
}

.index2 .hero {
  background: radial-gradient(circle at 78% 38%, rgba(255, 107, 116, 0.055), transparent 35%), var(--bg);
}

.index2 .hero-glow {
  background: radial-gradient(circle, rgba(255, 107, 116, 0.11), transparent 67%);
}

.index2 .hero .button-primary {
  background: var(--cinema);
  color: #190d10;
}

.index2 .hero .button-primary:hover {
  background: #ff858c;
}

.cinematic-hero {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  border-color: rgba(255, 137, 143, 0.2);
  background: #100f12;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4), 0 0 70px rgba(255, 107, 116, 0.045), inset 0 1px rgba(255, 255, 255, 0.05);
}

.cinematic-hero .visual-header,
.cinematic-hero .visual-footer {
  flex-shrink: 0;
}

.showcase-tabs {
  position: relative;
  z-index: 5;
  display: flex;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.56);
}

.showcase-tabs button {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 30px;
  color: #7f8587;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.showcase-tabs button::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.showcase-tabs button:hover {
  color: #e9eded;
}

.showcase-tabs button[aria-selected="true"] {
  border-color: rgba(255, 107, 116, 0.25);
  background: rgba(255, 107, 116, 0.11);
  color: var(--cinema-soft);
}

.showcase-panel[hidden] {
  display: none;
}

.cinematic-hero .core-map {
  height: 386px;
  min-height: 386px;
  flex: 1;
}

.poster-stage {
  position: relative;
  height: 386px;
  min-height: 386px;
  flex: 1;
  overflow: hidden;
  background: #160f13;
  isolation: isolate;
  touch-action: pan-y;
}

.showcase-backdrop {
  position: absolute;
  z-index: -2;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  opacity: 0.38;
  filter: blur(24px) saturate(0.9);
  transform: scale(1.08);
}

.showcase-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 34%, transparent 5%, rgba(10, 8, 11, 0.18) 55%, rgba(10, 8, 11, 0.68) 100%), linear-gradient(180deg, rgba(8, 8, 10, 0.25), transparent 28%, rgba(8, 8, 10, 0.9) 100%);
  pointer-events: none;
}

.showcase-badge {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffd8d8;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.showcase-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinema);
  box-shadow: 0 0 13px var(--cinema);
}

.poster-stack {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  height: 232px;
  pointer-events: none;
}

.show-center-wrap {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 174px;
  transform: translateX(-50%);
}

.show-poster {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 651 / 868;
  -webkit-user-drag: none;
  user-select: none;
}

.show-poster-center {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.32);
  background: #24181d;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.52), 0 0 0 5px rgba(255, 255, 255, 0.025);
}

.show-poster-side {
  position: absolute;
  z-index: 1;
  top: 28px;
  width: 132px;
  opacity: 0.58;
  filter: brightness(0.68) saturate(0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

#show-left {
  left: calc(50% - 205px);
  transform: rotate(-8deg);
  transform-origin: right center;
}

#show-right {
  right: calc(50% - 205px);
  transform: rotate(8deg);
  transform-origin: left center;
}

.show-count {
  position: absolute;
  top: -22px;
  right: 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.show-arrow {
  position: absolute;
  z-index: 5;
  top: 137px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(10, 9, 12, 0.58);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.show-arrow:hover {
  border-color: rgba(255, 137, 143, 0.7);
  background: rgba(255, 107, 116, 0.22);
  transform: scale(1.06);
}

.show-arrow svg {
  width: 17px;
  height: 17px;
}

.show-arrow-prev {
  left: 15px;
}

.show-arrow-next {
  right: 15px;
}

.showcase-caption {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 14px;
  left: 24px;
  text-align: center;
}

.showcase-caption > small {
  display: block;
  margin-bottom: 4px;
  color: var(--cinema-soft);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.showcase-caption > strong {
  display: block;
  overflow: hidden;
  max-width: 390px;
  margin-inline: auto;
  color: #f7f3f3;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.showcase-dots button {
  position: relative;
  width: 15px;
  height: 12px;
}

.showcase-dots button::after {
  position: absolute;
  top: 5px;
  right: 3px;
  left: 3px;
  height: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  transition: background 180ms ease;
}

.showcase-dots button[aria-current="true"] {
  width: 26px;
}

.showcase-dots button[aria-current="true"]::after {
  background: var(--cinema);
}

.originals {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d0d10;
}

.originals-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 105, 0.085), transparent 66%);
  pointer-events: none;
}

.originals .section-number {
  border-color: rgba(255, 107, 116, 0.24);
  color: var(--cinema-soft);
}

.cinema-accent {
  color: var(--cinema-soft);
}

.originals-heading {
  margin-bottom: 48px;
}

.originals-intro .text-link {
  margin-top: 20px;
  color: #e4b1b2;
}

.originals-intro .text-link:hover {
  color: var(--cinema-soft);
}

.originals-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 17px;
}

.original-card {
  display: block;
  min-width: 0;
}

.original-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #1b1519;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  aspect-ratio: 651 / 868;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.original-poster::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(5, 4, 7, 0.86));
  content: "";
  pointer-events: none;
}

.original-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 300ms ease;
}

.original-card:hover .original-poster {
  transform: translateY(-7px);
  border-color: rgba(255, 126, 135, 0.55);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.36), 0 0 30px rgba(255, 107, 116, 0.07);
}

.original-card:hover .original-poster img {
  transform: scale(1.045);
  filter: brightness(0.82);
}

.original-rank {
  position: absolute;
  z-index: 2;
  bottom: 3px;
  left: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.original-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 9px;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--cinema);
  color: #1a0c10;
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
}

.original-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -42%) scale(0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 107, 116, 0.88);
  color: #1a0c10;
  opacity: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.original-play svg {
  width: 23px;
  height: 23px;
}

.original-card:hover .original-play,
.original-card:focus-visible .original-play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.original-card h3 {
  display: -webkit-box;
  min-height: 41px;
  margin-top: 14px;
  overflow: hidden;
  color: #e9e7e8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.original-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  color: #69676c;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.original-card > div:last-child span:first-child {
  color: #d99196;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0;
}

.originals-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #79777d;
  font-size: 11px;
}

.originals-foot > span:last-child {
  flex-shrink: 0;
  color: #57565b;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.drama-photo-art {
  background: radial-gradient(circle at 60% 30%, rgba(255, 107, 116, 0.2), transparent 53%), linear-gradient(145deg, #251820, #101713);
}

.drama-photo-art::before {
  opacity: 0.45;
}

.drama-photo-art::after {
  position: absolute;
  z-index: 1;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(8, 10, 10, 0.68));
  content: "";
  pointer-events: none;
}

.drama-cover {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 168px;
  height: 224px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.44);
}

.drama-cover-back {
  transform: translateX(-96%) rotate(-10deg);
  opacity: 0.62;
  filter: brightness(0.72) saturate(0.8);
}

.drama-cover-front {
  z-index: 1;
  transform: translateX(-12%) rotate(6deg);
}

.drama-photo-art .art-caption {
  z-index: 2;
}

@media (max-width: 1180px) {
  .originals-rail {
    gap: 13px;
  }

  .original-card > div:last-child > span:last-child {
    display: none;
  }
}

@media (max-width: 1020px) {
  .cinematic-hero .core-map,
  .poster-stage {
    height: 400px;
    min-height: 400px;
  }

  .show-center-wrap {
    width: 184px;
  }

  .poster-stack {
    height: 246px;
  }

  .show-poster-side {
    width: 145px;
  }

  #show-left {
    left: calc(50% - 222px);
  }

  #show-right {
    right: calc(50% - 222px);
  }

  .show-arrow {
    top: 145px;
  }

  .originals-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .original-card > div:last-child > span:last-child {
    display: inline;
  }

  .drama-cover {
    top: 50%;
    width: 158px;
    height: 211px;
  }

  .drama-cover-back {
    transform: translate(-96%, -50%) rotate(-10deg);
  }

  .drama-cover-front {
    transform: translate(-12%, -50%) rotate(6deg);
  }
}

@media (max-width: 760px) {
  .cinematic-hero .core-map,
  .poster-stage {
    height: 370px;
    min-height: 370px;
  }

  .showcase-tabs {
    padding: 0 20px;
  }

  .show-center-wrap {
    width: 164px;
  }

  .poster-stack {
    top: 39px;
    height: 219px;
  }

  .show-poster-side {
    top: 25px;
    width: 122px;
  }

  #show-left {
    left: calc(50% - 192px);
  }

  #show-right {
    right: calc(50% - 192px);
  }

  .show-arrow {
    top: 128px;
  }

  .originals {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .originals-rail {
    display: flex;
    width: auto;
    gap: 15px;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 20px;
    padding-bottom: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .originals-rail::-webkit-scrollbar {
    display: none;
  }

  .original-card {
    flex: 0 0 min(38vw, 230px);
    scroll-snap-align: start;
  }

  .original-card > div:last-child > span:last-child {
    display: none;
  }

  .originals-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: 24px;
  }

  .drama-cover {
    top: 28px;
    width: 160px;
    height: 214px;
  }

  .drama-cover-back {
    transform: translateX(-96%) rotate(-10deg);
  }

  .drama-cover-front {
    transform: translateX(-12%) rotate(6deg);
  }
}

@media (max-width: 480px) {
  .cinematic-hero .core-map,
  .poster-stage {
    height: 342px;
    min-height: 342px;
  }

  .cinematic-hero .visual-header {
    height: 50px;
  }

  .showcase-tabs {
    height: 42px;
    padding: 0 15px;
  }

  .showcase-tabs button {
    padding: 5px 9px;
    font-size: 7px;
  }

  .showcase-badge {
    top: 13px;
    left: 15px;
    font-size: 6px;
  }

  .show-center-wrap {
    width: 142px;
  }

  .poster-stack {
    top: 38px;
    height: 190px;
  }

  .show-poster-side {
    top: 22px;
    width: 102px;
    border-radius: 8px;
  }

  #show-left {
    left: calc(50% - 158px);
  }

  #show-right {
    right: calc(50% - 158px);
  }

  .show-arrow {
    top: 111px;
    width: 31px;
    height: 31px;
  }

  .show-arrow-prev {
    left: 10px;
  }

  .show-arrow-next {
    right: 10px;
  }

  .showcase-caption {
    right: 16px;
    bottom: 12px;
    left: 16px;
  }

  .showcase-caption > strong {
    max-width: 270px;
    font-size: 12px;
  }

  .showcase-dots {
    margin-top: 8px;
  }

  .originals {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .originals h2 {
    font-size: clamp(30px, 8.8vw, 40px);
  }

  .originals-heading {
    margin-bottom: 34px;
  }

  .original-card {
    flex-basis: min(58vw, 220px);
  }

  .original-card h3 {
    min-height: 40px;
    font-size: 13px;
  }

  .originals-foot {
    font-size: 10px;
  }

  .drama-cover {
    width: 150px;
    height: 200px;
  }
}

@media (hover: none) {
  .original-play {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
    width: 34px;
    height: 34px;
    transform: none;
    opacity: 0.92;
  }

  .original-play svg {
    width: 19px;
    height: 19px;
  }

  .original-card:hover .original-play,
  .original-card:focus-visible .original-play {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .original-card:hover .original-poster,
  .original-card:hover .original-poster img,
  .show-arrow:hover {
    transform: none;
  }
}
