﻿:root {
  color-scheme: dark;
  --bg: #06070f;
  --surface: rgba(10, 12, 23, 0.95);
  --surface-strong: rgba(18, 21, 38, 0.95);
  --text: #f6f7fb;
  --muted: #9ea3bb;
  --accent: #ffc04c;
  --accent-soft: rgba(255, 192, 76, 0.16);
  --border: rgba(255, 255, 255, 0.08);
  --glow-layer: rgba(255, 162, 43, 0.18);
  --glow-layer-soft: rgba(79, 135, 255, 0.14);
  --header-height: clamp(60px, 7.5vw, 92px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(255, 192, 76, 0.12), transparent 20%), linear-gradient(180deg, #070911 0%, #05060f 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
  background: linear-gradient(135deg, #05060f 0%, #0b1222 28%, #071a2f 52%, #02030a 100%);
  background-size: 300% 300%;
  animation: pageGradient 24s ease infinite;
}

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

button,
a {
  border: none;
  background: none;
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

body {
  background: #05060f;
}

@media (max-width: 480px) {
  .container {
    width: min(1280px, calc(100% - 20px));
    padding: 0 14px;
  }
}

.page-shell {
  position: relative;
  overflow: visible;
  min-height: 100vh;
  padding-top: 0;
  background: radial-gradient(circle at top, rgba(255, 192, 76, 0.08), transparent 14%), linear-gradient(180deg, #05060f 0%, #02030a 100%);
}

@keyframes pageGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 15% 20%, var(--glow-layer) 0%, transparent 28%),
                    radial-gradient(circle at 85% 25%, var(--glow-layer-soft) 0%, transparent 26%),
                    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 22%);
  opacity: 0.65;
  filter: blur(50px);
  z-index: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(8px, 1.15vw, 15px) clamp(12px, 1.4vw, 18px);
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 24px));
  z-index: 1050;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(23, 27, 42, 0.85), rgba(7, 11, 20, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.topbar .container {
  position: relative;
  z-index: 1;
}

.HeaderContent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.4vw, 18px);
  position: relative;
  z-index: 1;
}

.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 192, 76, 0.14), transparent 45%, rgba(123, 183, 255, 0.1));
  pointer-events: none;
}

.topbar::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

@media (max-width: 700px) {
  .topbar::after {
    border-radius: 19px;
    inset: unset;
  }
}

@media (max-width: 480px) {
  .topbar::after {
    border-radius: 17px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  max-width: 100%;
  width: clamp(34px, 4.5vw, 56px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.brand-logo {
  display: block;
  width: 100%;
}

.brand strong {
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 2.3vw, 29px);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.main-nav a {
  font-size: clamp(11px, 1.1vw, 14px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-overlay.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.main-nav .nav-watch-live {
  display: none;
}

.desktop-watch-live {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: clamp(36px, 3.8vw, 48px);
  height: clamp(36px, 3.8vw, 48px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: clamp(15px, 1.4vw, 18px);
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.top-actions {
  display: flex;
  gap: clamp(10px, 1.3vw, 16px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.icon-btn {
  width: clamp(34px, 3.5vw, 44px);
  height: clamp(34px, 3.5vw, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.icon-btn svg {
  width: clamp(16px, 1.6vw, 20px);
  height: clamp(16px, 1.6vw, 20px);
  fill: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(34px, 3.5vw, 44px);
  padding: 0 clamp(14px, 1.7vw, 21px);
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #ffc880 0%, #ffb359 38%, #ff9b2a 100%);
  color: #17100a;
  box-shadow: 0 18px 38px rgba(255, 200, 128, 0.26);
  border: 1px solid rgba(255, 204, 128, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe0a3 0%, #ffc880 40%, #ffb159 100%);
}

.btn-secondary {
  border: 1px solid rgba(255, 200, 128, 0.3);
  color: #fff;
  background: rgba(255, 200, 128, 0.14);
  backdrop-filter: blur(8px);
}

.btn-ghost {
  background: linear-gradient(135deg, #ffc880 0%, #ffb359 38%, #ff9b2a 100%);
  color: #17100a;
  border: 1px solid rgba(255, 204, 128, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-ghost:hover {
  background: linear-gradient(180deg, rgba(255, 216, 144, 0.28), rgba(255, 200, 128, 0.14));
}

.btn i.fa-arrow-right {
  margin-left: 10px;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.btn.small {
  min-height: 36px;
  padding: 0 16px;
}

.section {
  padding: 40px 0;
}

.section.drama-detail-hero {
  position: relative;
  padding: 120px 0px 64px 0px;
  overflow: hidden;
}

.section.episode-guide {
  padding-top: 0;
}

.drama-hero-promo {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0.46) 40%, rgba(0,0,0,0.75) 100%);
  border-radius: 32px;
}

.promo-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.ad-leaderboard {
  width: 100%;
  margin-bottom: 18px;
}

.promo-main {
  position: relative;
}

.promo-ad-rail {
  width: 320px;
  display: block;
}

.ad-rail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.promo-labels {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  position: absolute;
  z-index: 1;
  left: 15px;
  top: 15px;
}

.promo-playback {
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.promo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: url('images/parwarish.jpg') center/cover no-repeat;
  display: grid;
  place-items: center;
}

.video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.promo-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.promo-video-live {
  background: #000;
}

.promo-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  z-index: 1;
}

.live-stream-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3;
  margin: 0;
}

.promo-play-trigger {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .promo-hero-inner {
    grid-template-columns: 1fr;
  }

  .promo-ad-rail {
    display: none;
  }

  .ad-leaderboard img {
    max-height: 90px;
    object-fit: cover;
  }
}

.promo-play-trigger .promo-play-button {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffcc71 0%, #ff9d35 100%);
  color: #17100a;
  border: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease;
}

.promo-play-trigger .promo-play-button:hover {
  transform: scale(1.05);
}

.section.live-watch-hero {
  position: relative;
  padding: 120px 0 64px;
  overflow: hidden;
}

.live-watch-hero .drama-hero-promo {
  margin-top: 8px;
}

.live-watch-copy {
  padding: 38px 0 0;
  max-width: 760px;
}

.live-watch-copy .detail-labels {
  margin-bottom: 18px;
}

.live-watch-copy h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.live-watch-copy p {
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.85;
  color: rgba(246, 247, 251, 0.86);
  margin-bottom: 0;
}

.up-next-section {
  padding-top: 12px;
  padding-bottom: 90px;
}

.up-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.up-next-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 15, 29, 0.96), rgba(7, 10, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.up-next-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 192, 76, 0.34);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.up-next-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.up-next-card-body {
  padding: 20px 20px 24px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 192, 76, 0.16);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.up-next-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.up-next-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .up-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .up-next-grid {
    grid-template-columns: 1fr;
  }

  .live-watch-copy .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.drama-detail-copy {
  margin: 0 auto;
  padding: 40px 0 0;
}

.detail-labels {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.drama-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 192, 76, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.detail-tags {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
}

.drama-detail-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.drama-detail-copy p {
  margin: 0 0 32px;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1rem;
  line-height: 1.8;
}

.detail-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.detail-meta-icons span {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: 999px;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.episode-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
}

.episode-season-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 28, 0.96);
  color: rgba(246, 247, 251, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.episode-season-tab:hover {
  border-color: rgba(255, 179, 89, 0.6);
}

.episode-season-tab.is-active {
  background: linear-gradient(135deg, #ffcc71 0%, #ff9d35 100%);
  color: #17100a;
  border-color: transparent;
}


.episode-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 12, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.episode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 192, 76, 0.4);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.episode-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 0;
  background-color: #07090b;
}

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

.episode-card:hover .episode-thumb img {
  transform: scale(1.06);
}

.episode-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.episode-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  color: #fff;
  font-size: 28px;
}

.episode-card:hover .episode-play-overlay {
  opacity: 1;
}

.episode-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 192, 76, 0.16);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.episode-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 auto;
}

.episode-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
}

.episode-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.episode-synopsis {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-meta {
  margin-top: auto;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.cast-grid,
.more-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.cast-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.cast-card {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
  padding: 10px;
}

.cast-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.cast-avatar {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 200, 128, 0.3);
  background: linear-gradient(135deg, rgba(255, 200, 128, 0.16), rgba(255, 155, 42, 0.08));
  color: #ffcf7a;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.cast-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cast-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.soundtrack-hero-wrap {
  position: relative;
  margin-top: 40px;
}

.soundtrack-glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 80%;
  background: radial-gradient(closest-side, rgba(246, 196, 83, 0.16), rgba(246, 196, 83, 0.05) 45%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.soundtrack-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 1200px) {
  .soundtrack-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.soundtrack-card {
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  justify-items: stretch;
  text-align: left;
  padding: clamp(12px, 1.6vw, 22px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(18, 22, 38, 0.75) 0%, rgba(8, 11, 21, 0.82) 100%);
  border: 1px solid rgba(255, 215, 120, 0.25);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    0 0 70px rgba(246, 196, 83, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.soundtrack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.045), transparent 32%);
  pointer-events: none;
}

.soundtrack-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
}

.soundtrack-card:hover {
  border-color: rgba(255, 215, 120, 0.45);
  box-shadow:
    0 46px 100px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(246, 196, 83, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.soundtrack-card-media {
  position: relative;
  width: 180px;
  height: 240px;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 215, 120, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(246, 196, 83, 0.12);
}

.soundtrack-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(246, 196, 83, 0.08) 0%, transparent 35%, rgba(6, 8, 18, 0.35) 100%);
  pointer-events: none;
}

.soundtrack-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.soundtrack-card:hover .soundtrack-card-media img {
  transform: scale(1.05);
}

.soundtrack-play {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 11, 21, 0.55);
  border: 1px solid rgba(255, 215, 120, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.75rem;
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.soundtrack-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 120, 0.22);
  animation: soundtrackPulse 2.6s ease-out infinite;
}

.soundtrack-play i {
  margin-left: 4px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.soundtrack-play:hover {
  background: linear-gradient(135deg, #ffd97a 0%, #f6c453 100%);
  color: #17100a;
  transform: scale(1.07);
  box-shadow: 0 22px 55px rgba(246, 196, 83, 0.35);
}

.soundtrack-play:hover::after {
  animation: none;
  opacity: 0;
}

@keyframes soundtrackPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.soundtrack-card-content {
  display: grid;
  gap: 12px;
  position: relative;
  justify-items: start;
  align-content: center;
  width: 100%;
  min-width: 0;
}

.soundtrack-title {
  margin: 0;
  justify-self: start;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 40%, #ffe9b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.soundtrack-artists {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.soundtrack-desc {
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.soundtrack-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.soundtrack-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 120, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.soundtrack-chip i {
  color: #f6c453;
  font-size: 0.75rem;
}

.soundtrack-credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  justify-items: start;
}

.soundtrack-credit {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.soundtrack-credit-key {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.soundtrack-credit-value {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soundtrack-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 215, 120, 0.35), rgba(255, 215, 120, 0.06) 70%, transparent);
}

.soundtrack-quote {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}

.soundtrack-quote i {
  color: #f6c453;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.soundtrack-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px 0;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

.soundtrack-info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 0 clamp(18px, 2.5vw, 30px);
  min-width: 0;
}

.soundtrack-info-item:first-child {
  padding-left: 0;
}

.soundtrack-info-item > i {
  grid-row: span 2;
  align-self: center;
  color: #f6c453;
  font-size: 1.1rem;
}

.soundtrack-info-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.soundtrack-info-value {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soundtrack-info-logo {
  grid-row: span 2;
  height: 26px;
  width: auto;
  align-self: center;
}

.soundtrack-info-sep {
  flex: 0 0 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .soundtrack-hero {
    grid-template-columns: 1fr;
  }

  .soundtrack-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .soundtrack-card-media {
    width: 190px;
    height: 250px;
  }

  .soundtrack-card-content {
    justify-items: center;
  }

  .soundtrack-title {
    justify-self: center;
  }

  .soundtrack-chips,
  .soundtrack-credits {
    justify-content: center;
    justify-items: start;
  }

  .soundtrack-quote {
    justify-content: center;
  }

  .soundtrack-credits {
    text-align: left;
  }

  .soundtrack-info {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 0;
  }

  .soundtrack-info-sep {
    height: 34px;
  }
}

@media (max-width: 560px) {
  .soundtrack-card-media {
    width: 160px;
    height: 210px;
  }

  .soundtrack-credits {
    grid-template-columns: 1fr;
  }

  .soundtrack-info {
    flex-direction: column;
    gap: 14px;
  }

  .soundtrack-info-sep {
    width: 100%;
    height: 1px;
    flex: none;
  }

  .soundtrack-info-item {
    padding: 0;
    justify-items: center;
    grid-template-columns: auto 1fr;
    text-align: left;
  }
}

.play-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ffcc71 0%, #ff9d35 100%);
  color: #17100a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(255, 156, 36, 0.24);
}

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

.more-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 12, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.more-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.more-card h3 {
  margin: 16px 16px 8px;
  font-size: 1rem;
}

.more-card span {
  display: block;
  margin: 0 16px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .drama-detail-grid {
    grid-template-columns: 1fr;
  }

  .drama-detail-media img {
    min-height: 420px;
  }
}

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

@media (max-width: 840px) {
  .episode-grid,
  .cast-grid,
  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  .section.drama-detail-hero {
    padding-top: 96px;
  }

  .promo-video {
    min-height: 0;
  }

  .promo-play-trigger .promo-play-button {
    width: 64px;
    height: 64px;
  }

  .drama-detail-copy {
    padding: 28px 0 0;
  }

  .drama-detail-copy h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .drama-detail-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .detail-labels {
    gap: 12px;
    margin-bottom: 18px;
  }

  .detail-tags,
  .detail-meta-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .detail-tags span,
  .detail-meta-icons span {
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 999px;
  }

  .detail-meta-icons {
    margin-top: 20px;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .episode-grid,
  .cast-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-header div {
  display: grid;
  gap: 10px;
}

.section-label {
  display: inline-block;
  text-align: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgb(255 255 255 / 2%);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  max-width: fit-content;
}

.section-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #fdfbf8;
  max-width: min(100%, 600px);
  line-height: 1.2;
  width: auto;
}

.section-onair .section-header,
.genre-section .section-header,
.drama-ost-section .section-header,
.highlights .section-header,
.recent-uploads .section-header,
.editorial .section-header,
.must-watch .section-header,
.onair-grid-section .section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'label btn'
    'head head';
  align-items: center;
  gap: 10px;
}

.section-onair .section-header > div,
.genre-section .section-header > div,
.drama-ost-section .section-header > div,
.highlights .section-header > div,
.recent-uploads .section-header > div,
.editorial .section-header > div,
.must-watch .section-header > div,
.onair-grid-section .section-header > div {
  display: contents;
}

.section-onair .section-label,
.genre-section .section-label,
.drama-ost-section .section-label,
.highlights .section-label,
.recent-uploads .section-label,
.editorial .section-label,
.must-watch .section-label,
.onair-grid-section .section-label {
  grid-area: label;
  align-self: center;
}

.section-onair .section-header h2,
.genre-section .section-header h2,
.drama-ost-section .section-header h2,
.highlights .section-header h2,
.recent-uploads .section-header h2,
.editorial .section-header h2,
.must-watch .section-header h2,
.onair-grid-section .section-header h2 {
  grid-area: head;
  margin: 0;
}

.section-onair .section-header .btn,
.genre-section .section-header .btn,
.drama-ost-section .section-header .btn,
.highlights .section-header .btn,
.recent-uploads .section-header .btn,
.editorial .section-header .btn,
.must-watch .section-header .btn,
.onair-grid-section .section-header .btn {
  grid-area: btn;
  justify-self: end;
}

.link-button,
.btn-secondary.small,
.btn-ghost.small,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.link-button,
.btn-secondary.small {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.link-button:hover,
.btn-secondary.small:hover,
.btn-ghost.small:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost.small {
  background: linear-gradient(135deg, #ffc880 0%, #ffb359 38%, #ff9b2a 100%);
  color: #17100a;
}

.btn-secondary.small {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.section {
  padding: 40px 0;
}

.breadcrumb-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 220px 0 80px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.25);
}

.breadcrumb-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 192, 76, 0.18), transparent 24%),
              radial-gradient(circle at bottom right, rgba(82, 131, 255, 0.2), transparent 30%);
  pointer-events: none;
}

.breadcrumb-page-hero .container {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.page-breadcrumb a {
  color: var(--accent);
}

.page-breadcrumb span:last-child {
  color: #ffffff;
}

.editorial-page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.editorial-page-hero p {
  max-width: 620px;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-section {
  position: relative;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 60px 0 40px;
}

.HeroSlider {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-height: 100svh;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.HeroSlider .item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  outline: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.HeroSlider .item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.7s ease;
}

.HeroSlider .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.5) 0%, rgba(4, 6, 14, 0.3) 42%, rgba(4, 6, 14, 0.1) 70%, rgba(4, 6, 14, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4));
  pointer-events: none;
  z-index: 1;
}

.HeroSlider .item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 192, 76, 0.18), transparent 18%), radial-gradient(circle at bottom right, rgba(82, 131, 255, 0.26), transparent 20%);
  pointer-events: none;
  z-index: 1;
}

.ad-placeholder {
  width: 100%;
  padding: 16px 0;
  display: flex;
  justify-content: center;
}

.ad-placeholder img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
  }

  .HeroSlider .hero-card {
    width: min(100%, 560px);
    margin-left: 0;
    padding: 32px 28px;
  }

  .HeroSlider {
    min-height: clamp(320px, 55svh, 480px);
  }

  .HeroSlider .item {
    background-position: top center;
  }
}

@media (max-width: 700px) {
  .hero-section {
    min-height: auto;
  }

  .HeroSlider .hero-card {
    padding: 24px 20px;
  }

  .HeroSlider {
    min-height: clamp(480px, 90svh, 640px);
  }
}

.HeroSlider .hero-card {
  position: relative;
  z-index: 2;
  width: clamp(380px, 48%, 560px);
  margin-left: 80px;
  padding: 34px 34px 30px;
}

.HeroSlider .hero-prev,
.HeroSlider .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 3;
  font-size: 20px;
  opacity: .6;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.HeroSlider:hover .hero-prev, .HeroSlider:hover .hero-next {
    opacity: 1;
}

.HeroSlider .hero-prev:hover,
.HeroSlider .hero-next:hover {
  background: rgba(255, 255, 255, 0.32);
}

.HeroSlider .hero-prev {
  left: 18px;
}

.HeroSlider .hero-next {
  right: 18px;
}

.HeroSliderMeta {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-progress {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.2);
    overflow: hidden;
}

.hero-progress-bar {
    width: 100%;
    height: 100%;
    /* margin-top: 20px; */
}

.hero-progress-bar span{
    display:block;
    width:0;
    height:100%;
    background: #ffb359;
}

.hero-progress-bar span.is-running{
    animation: heroProgress 4s linear forwards;
}

@keyframes heroProgress{
    from{width:0;}
    to{width:100%;}
}

.HeroSlider .hero-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #fffaf2;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.48);
}

.hero-labels {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill {
  background: rgba(255, 192, 76, 0.16);
  color: #ffd47b;
  border: 1px solid rgba(255, 204, 128, 0.2);
}

.hero-labels {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}


.hero-content h1 {
  font-size: 83px;
  margin: 0;
  line-height: 0.95;
  letter-spacing: -1px;
}

.HeroSlider .hero-card p {
  max-width: 100%;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.HeroSlider .hero-card .hero-actions {
  position: relative;
  z-index: 1;
}

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

.section-onair {
  padding: 30px 0;
}

.onair-card {
  display: grid;
  grid-template-columns: 1.6fr 0.65fr;
  align-items: center;
  gap: 20px;
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
}

.onair-card::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffca72;
  box-shadow: 0 0 0 6px rgba(255, 182, 99, 0.20), 0 0 30px rgba(255, 182, 99, 0.30);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

.onair-center,
.onair-right {
  position: relative;
  z-index: 1;
}

.onair-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.status-dot {width: 30px;}

.status-dot::after {
  width: 18px;
  background: #fff;
}

.status-copy {
  display: grid;
  gap: 10px;
}

.status-copy span:first-child {
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.status-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-badges span.live-badge {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 10px;
  background: rgb(235 16 0);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  line-height: 14px;
}

.status-badges span:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.onair-center {
  display: grid;
  justify-items: start;
  gap: 22px;
  border-right: solid 2px #eeeeee38;
  padding: 0px 55px;
  text-align: left;
}

.onair-time {
  color: #ffca72;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.onair-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  padding-bottom: 4px;
  color: #fff;
}

.onair-progress {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.onair-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.onair-progress-bar span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, #ffcd73, #ff9e5c);
  border-radius: 999px;
}

.onair-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-outline {
  padding: 14px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

.onair-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.onair-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 6px rgba(255, 182, 99, 0.20), 0 0 30px rgba(255, 182, 99, 0.30);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 0 12px rgba(255, 182, 99, 0.14), 0 0 40px rgba(255, 182, 99, 0.22);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 6px rgba(255, 184, 75, 0.18), 0 0 22px rgba(255, 184, 75, 0.35);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 0 12px rgba(255, 184, 75, 0.14), 0 0 32px rgba(255, 184, 75, 0.22);
  }
}

.genre-grid,
.highlight-grid,
.upload-grid,
.editorial-grid {
  gap: 22px;
}

.genre-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 22px;
  align-items: stretch;
}

.genre-layout .genre-carousel {
  min-width: 0;
  position: relative;
}

.genre-ad {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 340px;
}

.genre-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1199px) {
  .genre-layout {
    grid-template-columns: 1fr 160px;
  }
}

@media (max-width: 991px) {
  .genre-layout {
    grid-template-columns: 1fr;
  }
  .genre-ad {
    display: none;
  }
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 15, 30, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 10;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.carousel-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.genre-carousel .carousel-track {
  padding: 10px 0;
  gap: 14px;
}

.genre-carousel .genre-card {
  flex: 0 0 230px;
  height: 340px;
  min-height: 0;
}

@media (max-width: 1199px) {
  .genre-carousel .genre-card {
    flex-basis: 235px;
  }
}

@media (max-width: 991px) {
  .genre-carousel .genre-card {
    flex-basis: 225px;
    height: 330px;
  }
}

@media (max-width: 700px) {
  .genre-carousel .genre-card {
    flex-basis: 210px;
    height: 280px;
  }
}

.ost-carousel {
  position: relative;
}

.ost-carousel .carousel-track {
  padding: 10px 16px;
  gap: 10px;
}

.ost-carousel .ost-card {
  flex: 0 0 200px;
  width: 200px;
  min-width: 0;
}

.ost-carousel .ost-cover {
  aspect-ratio: 7 / 10;
}

.ost-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.ost-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.ost-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.ost-cover {
  position: relative;
  overflow: hidden;
}

.ost-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ost-card:hover .ost-cover img {
  transform: scale(1.06);
}

.ost-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  min-height: 100px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ost-card:hover .ost-overlay,
.ost-card:focus-within .ost-overlay {
  opacity: 1;
  transform: translateY(0);
}

.ost-title {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-transform: none;
  text-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.ost-subtitle {
  display: none;
}

@media (max-width: 1400px) {
  .ost-carousel .ost-card {
    flex-basis: 172px;
    width: 172px;
  }
}

@media (max-width: 992px) {
  .ost-carousel .ost-card {
    flex-basis: 180px;
    width: 180px;
  }
}

@media (max-width: 768px) {
  .ost-carousel .ost-card {
    flex-basis: 170px;
    width: 170px;
  }
}

@media (max-width: 576px) {
  .ost-card {
    border-radius: 22px;
  }

  .ost-overlay {
    padding: 16px;
  }

  .ost-carousel .ost-card {
    flex: 0 0 62vw;
    width: 62vw;
  }

  .ost-carousel .carousel-nav {
    width: 36px;
    height: 36px;
  }
}

.genre-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: stretch;
  justify-items: stretch;
}

.genre-page-grid {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
}

.genre-page-grid .genre-card {
  min-height: 440px;
}

.genre-page-grid .genre-body h3 {
  font-size: 26px;
}

.genre-card {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(8, 12, 28, 0.98);
  border: 1px solid rgb(88 88 88 / 35%);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  cursor: pointer;
}

.genre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgb(0 0 0));
  pointer-events: none;
  z-index: 1;
}

.genre-image {
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
  background-repeat: no-repeat;
  width: 100%;
  display: block;
}

.genre-body,
.movie-info,
.upload-info,
.story-body {
  padding: 24px;
}

.genre-body {
  position: absolute;
  bottom: 15px;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 0px 10px;
  left: 0;
  right: 0;
  transition: .3s all;
}

.genre-card:hover .genre-body {
    bottom: 25px;
}

.genre-card .genre-body span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.genre-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.genre-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 192, 76, 0.55);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.32);
}

.genre-card:hover .genre-image {
  transform: scale(1.08);
}

.movie-card,
.highlight-card,
.upload-card,
.story-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(8, 12, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.highlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  min-height: 260px;
  background: rgba(8, 12, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.highlight-content,
.highlight-media {
  position: relative;
  overflow: hidden;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 10px;
  gap: 10px;
}

.highlight-media {
  min-height: auto;
}

.highlight-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.highlight-card:hover .highlight-media img {
  transform: scale(1.08);
}

.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 192, 76, 0.15), transparent 25%),
              radial-gradient(circle at bottom right, rgba(79, 135, 255, 0.12), transparent 25%);
  pointer-events: none;
}

.highlight-card::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.highlight-card > * {
  position: relative;
  z-index: 1;
}

.highlight-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 192, 76, 0.14);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.highlight-card h3 {
  font-size: 26px;
  line-height: 1.12;
  color: #fff;
  margin: 0;
}

.highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
  max-width: 460px;
}

.highlight-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #17100a;
  background: linear-gradient(135deg, #ffc880 0%, #ffb359 38%, #ff9b2a 100%);
}

.highlight-play i {
  font-size: 0.95rem;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 192, 76, 0.35);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, rgba(18, 24, 45, 0.99), rgba(7, 10, 20, 0.95));
}

@media (max-width: 1000px) {
  .highlight-card {
    grid-template-columns: 1fr;
  }
}

.highlight-card > * {
  position: relative;
  z-index: 1;
}

.highlight-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 192, 76, 0.14);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.highlight-card h3 {
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.highlight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
}

.highlight-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 192, 76, 0.35);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(18, 24, 45, 0.99), rgba(7, 10, 20, 0.95));
}

.genre-body span,
.movie-meta,
.upload-info span,
.story-body p {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 14px;
}

.genre-body h3,
.movie-info h3,
.upload-info h3,
.story-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

.scroll-row-wrap {
  position: relative;
}

.scroll-row-wrap .scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 15, 30, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease;
}

.scroll-row-wrap .scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}

.scroll-row-wrap .scroll-arrow--prev {
  left: -24px;
}

.scroll-row-wrap .scroll-arrow-next {
  right: -24px;
}

.scroll-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0px;
  scroll-snap-type: x proximity;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  user-select: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-row::-webkit-scrollbar {
  height: 0;
  width: 0;
  display: none;
}

.scroll-row.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.scroll-row > .movie-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
  scroll-snap-align: start;
}

.must-watch .carousel-track {
  padding: 10px 0;
  gap: 16px;
}

.must-watch .carousel-track > * {
  flex: 0 0 calc(25% - 12px);
}

.must-watch .movie-card {
  min-width: 0;
}

@media (max-width: 1199px) {
  .must-watch .carousel-track > * {
    flex-basis: calc(33.333% - 11px);
  }
}

@media (max-width: 991px) {
  .must-watch .carousel-track > * {
    flex-basis: calc(50% - 8px);
  }
}

@media (max-width: 700px) {
  .must-watch .carousel-track > * {
    flex-basis: 42%;
  }
}

@media (max-width: 480px) {
  .must-watch .carousel-track > * {
    flex-basis: 38%;
  }
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.movie-card {
  position: relative;
  min-width: 320px;
  background: rgba(7, 11, 25, 0.96);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.movie-cover {
  position: relative;
  height: auto;
  overflow: hidden;
  background: #111;
}

.movie-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.movie-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.08);
}

.movie-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 24px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.movie-card:hover .movie-info {
  opacity: 1;
  transform: translateY(0);
}

.movie-meta {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.movie-info h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}

.movie-stats {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.movie-info {
  padding: 20px;
}

.movie-meta {
  margin-bottom: 12px;
  color: var(--muted);
}

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

.highlight-card {
  padding: 20px;
  min-height: 240px;
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-card span {
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

.highlight-card h3 {
  margin: 0;
  font-size: 21px;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.upload-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 15px;
  display: grid;
}

.upload-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.98), rgba(5, 6, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.upload-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255, 192, 76, 0.06), transparent 28%);
  opacity: 0.6;
  z-index: 0;
}

.upload-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.upload-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 192, 76, 0.4);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
}

.upload-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #0a0e1c;
}

.upload-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.upload-card:hover .upload-cover img {
  transform: scale(1.07);
}

.upload-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.62) 100%);
  z-index: 1;
}

.upload-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffcc71 0%, #ff9d35 100%);
  color: #17100a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.upload-play i {
  font-size: 0.95rem;
  margin-left: 2px;
}

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

.upload-info {
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.upload-info h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
}

.upload-grid .upload-info span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.upload-grid .upload-info span i {
  font-size: 0.9rem;
  color: var(--accent);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 28px;
}

.story-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10, 14, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.story-card-link {
  display: block;
  height: 100%;
  grid-row: 1 / -1;
  color: inherit;
  text-decoration: none;
}

.story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%);
}

.editorial-grid .story-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-card:hover .story-body {
  opacity: 1;
  transform: translateY(0);
}

.story-card .story-cover {
    overflow: hidden;
    height: auto;
    position: relative;
}

.story-card .story-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.5));
}

.story-card .story-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.story-card:hover .story-cover img {
    transform: scale(1.08);
}

.story-card:hover .story-cover::after {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85));
}

.story-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.story-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 15px;
}

.story-link-text {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.story-card-link:hover .story-link-text {
  color: #ffd36b;
}

.story-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 192, 76, 0.35);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
}

.footer {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 46px;
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 192, 76, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(8, 10, 20, 0.96), rgba(4, 6, 12, 0.98));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 26px 0;
}

.footer-brand,
.footer-about,
.footer-links > div {
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  width: 70px;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  line-height: 1.9;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: rgba(255, 192, 76, 0.5);
}

.footer-about {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about h4,
.footer-links h4 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.footer-about p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links > div {
  min-height: 100%;
}

.footer-links > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.2s ease, transform 0.2s ease;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-links img {
  width: 130px;
  max-width: 100%;
  margin-bottom: 10px;
}

.footer-links a:last-child img {
  margin: 0;
}

.footer-bottom {
  position: relative;
  margin-top: 30px;
  color: var(--text);
  font-size: 15px;
  padding: 20px 18px;
  border-radius: 18px 18px 0 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(13, 17, 29, 0.62));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.25), inset 0 -1px 1px rgba(255,255,255,.05);
  overflow: hidden;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgb(102 102 102 / 30%), rgb(56 56 56 / 8%), transparent);
  pointer-events: none;
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 700;
}

.link-button {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    grid-column: 1 / -1;
  }
  .main-nav {
    gap: 14px;
    justify-content: center;
  }
  .topbar {
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(8px, 1.15vw, 15px) clamp(12px, 1.4vw, 18px);
  }
  .hero-section {
    min-height: auto;
  }
  .hero-section .container {
    padding: 20px 0 30px;
  }
  .HeroSlider {
    min-height: calc(100svh - var(--header-height));
  }
  .onair-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .onair-card::before {
    left: 18px;
    top: 20px;
  }
  .onair-left,
  .onair-center,
  .onair-right {
    justify-self: stretch;
  }
  .onair-right {
    justify-content: space-between;
  }
  .onair-title {
    font-size: 32px;
  }
  .onair-progress {
    max-width: 100%;
  }
  .genre-grid {
    grid-template-columns: repeat(2, 220px);
  }
  .highlight-grid {
    grid-template-columns: repeat(2, 220px);
  }
  .upload-grid {
    grid-template-columns: 1fr;
  }
  .editorial-grid {
    grid-template-columns: repeat(2, 220px);
  }
}

@media (max-width: 700px) {
  .topbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    overflow: visible;
    background: #0b0d19;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    padding: 10px clamp(12px, 1.15vw, 15px);
  }
  .HeaderContent {
    flex-wrap: nowrap;
  }
  .section-onair {
    padding: 20px 0;
  }
  .onair-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .onair-card::before {
    left: 18px;
    top: 18px;
    transform: none;
  }
  .onair-center {
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    justify-items: start;
  }
  .onair-status {
    justify-content: flex-start;
  }
  .onair-right {
    justify-content: flex-start;
    width: 100%;
  }
  .onair-title {
    font-size: 24px;
  }
  .onair-progress {
    margin: 0;
    max-width: 100%;
  }
  .btn-outline {
    width: 100%;
    justify-content: center;
    width: 100%;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-overlay.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .desktop-watch-live {
    display: none;
  }
  .nav-watch-live {
    display: flex;
  }
  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    top: calc(var(--header-height) + 16px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-height) - 40px);
    overflow-y: auto;
    padding: 16px 0;
    border-radius: 0;
    background: rgba(11, 13, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
  }
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: none;
  }
  .main-nav .nav-watch-live {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    margin-top: 6px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--primary, #e50914);
    color: #fff;
    border: none;
  }
  .main-nav .nav-watch-live:hover {
    background: var(--primary-hover, #c50812);
    transform: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .hero-section {
    min-height: auto;
  }
  .hero-content {
    padding: 28px 0 16px;
  }
  .HeroSlider .hero-card {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 24px 22px;
  }
  .HeroSlider {
    min-height: clamp(500px, 90svh, 680px);
  }
  .HeroSlider .item {
    background-position: top center;
  }
  .section {
    padding: 24px 0;
  }
  .ad-placeholder {
    padding: 8px 0;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .topbar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
  }
  .brand {
    width: clamp(34px, 4.5vw, 56px);
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-header h2 {
    width: 100%;
    max-width: 100%;
  }
  .onair-card {
    padding: 22px;
  }
  .onair-card::before {
    left: 16px;
    top: 16px;
  }
  .onair-title {
    font-size: 28px;
  }
  .onair-right {
    justify-content: space-between;
  }
  .btn-outline,
  .onair-icon {
    width: 48px;
    min-width: auto;
    height: 48px;
  }

  .onair-right .btn-outline {
    width: 100%;
}
}

@media (max-width: 480px) {
  .section-onair {
    padding: 18px 0;
  }
  .onair-card {
    padding: 18px;
    gap: 14px;
  }
  .onair-card::before {
    left: 16px;
    top: 50px;
  }
  .onair-title {
    font-size: 22px;
  }
  .status-badges {
    gap: 8px;
  }
  .status-badges span:last-child {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .topbar {
    padding: 10px 14px;
    border-radius: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  .container {
    padding: 0 14px;
  }
  .brand {
    width: clamp(34px, 4.5vw, 56px);
  }
  .menu-toggle {
    width: clamp(36px, 3.8vw, 48px);
    height: clamp(36px, 3.8vw, 48px);
    gap: 4px;
  }
  .main-nav {
    left: 8px;
    right: 8px;
    top: calc(var(--header-height) + 12px);
    max-height: calc(100dvh - var(--header-height) - 28px);
    padding: 12px;
  }
  .top-actions {
    gap: clamp(10px, 1.3vw, 16px);
  }
  .icon-btn {
    width: clamp(34px, 3.5vw, 44px);
    height: clamp(34px, 3.5vw, 44px);
  }
  .btn-ghost {
    padding: 0 clamp(14px, 1.7vw, 21px);
    font-size: 12px;
    height: clamp(34px, 3.5vw, 44px);
  }
  .hero-content {
    padding: 28px 0 18px;
  }
  .HeroSlider .hero-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }
  .HeroSlider {
    min-height: 90svh;
  }
  .HeroSliderMeta {
    gap: 12px;
  }
  .hero-slider-counter {
    min-width: 72px;
    font-size: 12px;
  }
  .hero-content h1 {
    font-size: 30px;
    line-height: 1;
  }
  .hero-content p {
    font-size: 14px;
    margin: 18px 0 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .section-header h2 {
    width: 100%;
    max-width: 100%;
    font-size: 24px;
  }
  .onair-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 16px;
  }
  .onair-center {
    border: none;
    padding: 0;
  }
  .onair-title {
    font-size: 24px;
  }
  .genre-carousel .carousel-track {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 16px;
    scroll-snap-type: none;
  }
  .genre-carousel .carousel-track > *:nth-child(n + 7) {
    display: none;
  }
  .genre-carousel .genre-card {
    flex: none;
    height: 250px;
  }
  .genre-carousel .carousel-nav {
    display: grid;
  }
  .scroll-row > .movie-card {
    flex-basis: 220px;
    min-width: 220px;
  }
  .highlight-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-brand,
  .footer-about,
  .footer-links > div {
    padding: 0;
  }
  .footer-about,
  .footer-links {
    border-left: none;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-links > div + div {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
  }
  .footer-bottom {
    padding: 16px 14px;
  }
}

@media (max-width: 1200px) {
  .episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 700px) {
  .episode-grid,
  .more-grid,
  .genre-grid,
  .editorial-grid,
  .upload-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cast-card {
    padding: 6px;
  }

  .cast-card img,
  .cast-avatar {
    width: 72px;
    height: 72px;
    font-size: 20px;
  }

  .cast-card h4 {
    font-size: 0.85rem;
  }

  .cast-card span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .episode-grid,
  .more-grid,
  .genre-grid,
  .editorial-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

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

  .cast-card img,
  .cast-avatar {
    width: 60px;
    height: 60px;
    font-size: 17px;
  }

  .cast-card h4 {
    font-size: 0.75rem;
  }

  .cast-card span {
    font-size: 0.7rem;
  }
}

/*************************************************************/
/* Schedule CSS */
/*************************************************************/

.CurrentSchedule {
  margin-top: calc(var(--header-height) + 20px);
  padding: 20px 0 12px;
}

.CurrentSchedule .container,
.WeeklySchedule .container {
  width: min(1280px, calc(100% - 24px));
  max-width: 1280px;
}

.CurrentSchedule .ItemBox {
  padding: 40px 40px 40px 56px;
  position: relative;
  border-radius: 30px;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
  box-shadow: 0 11px 20px rgb(255 191 111 / 4%);
  min-height: clamp(460px, 55vh, 560px);
  display: flex;
  align-items: center;
}

.CurrentSchedule .ItemBox::before {
  content: '';
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.88) 0%, rgba(4, 6, 14, 0.67) 40%, rgba(4, 6, 14, 0.18) 72%, rgba(4, 6, 14, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.CurrentSchedule .ItemBox::after {
  content: '';
  position: absolute;
  inset: auto 18px 18px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 76, 0.28), rgba(255, 192, 76, 0));
  filter: blur(10px);
}

.CurrentSchedule .ItemBoxContent {
  position: relative;
  z-index: 1;
}

.schedule-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.schedule-hero-date,
.schedule-hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-hero-live {
  color: #ffcf7a;
}

.schedule-hero-title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}

.schedule-hero-title span {
  background: linear-gradient(120deg, #ffc880, #ff9b2a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.schedule-hero-desc {
  margin: 0 0 26px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
}

.schedule-hero-featured {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.schedule-hero-featured:hover {
  background: rgba(255, 200, 128, 0.1);
  border-color: rgba(255, 200, 128, 0.4);
  transform: translateY(-2px);
}

.schedule-hero-featured-img {
  width: 100px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
}

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

.schedule-hero-featured-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.schedule-hero-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffcf7a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-hero-featured-title {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-hero-featured-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 600;
}

.CurrentSchedule .ItemBox .hero-card {
  max-width: 560px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.CurrentSchedule .ItemBox .hero-card h1 {
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.schedule-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.schedule-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
}

.CurrentSchedule .container,
.WeeklySchedule .container {
  width: min(1280px, calc(100% - 24px));
  padding: 0;
}

.WeeklySchedule {
  padding: 50px 0px;
}

.schedule-shell {
  position: relative;
}

.schedule-heading {
  margin-bottom: 20px;
}

.schedule-heading h2 {
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.schedule-subtitle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.schedule-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.schedule-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.schedule-tab:hover,
.schedule-tab.active {
  background: linear-gradient(135deg, #ffc880, #ff9b2a);
  color: #16110b;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255, 185, 90, 0.28);
  transform: translateY(-1px);
}

.schedule-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.schedule-tab.active .schedule-tab-dot {
  background: #16110b;
  box-shadow: none;
}

.schedule-tab.is-today:not(.active) {
  border-color: rgba(34, 197, 94, 0.5);
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

.schedule-day.in-all + .schedule-day.in-all {
  margin-top: 38px;
}

.schedule-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-day-label {
  font-size: 18px;
  font-weight: 800;
  color: #ffcf7a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.schedule-day-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc880, #ff9b2a);
  box-shadow: 0 0 12px rgba(255, 200, 128, 0.6);
}

.schedule-day-today {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-day-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

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

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 84px 128px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-item.is-today {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(255, 255, 255, 0.02));
}

.schedule-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ffc880, #ff9b2a);
  opacity: 0.65;
}

.schedule-item.is-today::before {
  background: linear-gradient(180deg, #4ade80, #16a34a);
  opacity: 1;
}

a.schedule-item {
  cursor: pointer;
}

.schedule-item.is-link:hover {
  background: rgba(255, 200, 128, 0.08);
  border-color: rgba(255, 200, 128, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.schedule-item.is-link.is-today:hover {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.schedule-timeblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-timeblock-time {
  color: #ffcf7a;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
}

.schedule-timeblock-end {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
}

.schedule-media {
  width: auto;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}

.schedule-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.schedule-item.is-link:hover .schedule-media img {
  transform: scale(1.06);
}

.schedule-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 22px;
}

.schedule-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.schedule-title {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-duration {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
}

.schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, gap 0.2s ease;
}

.schedule-item.is-link:hover .schedule-link {
  color: #ffc880;
  gap: 12px;
}

.schedule-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.schedule-empty i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.25);
}

.schedule-empty p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 700px) {
  .CurrentSchedule .ItemBox {
    padding: 24px 20px;
    min-height: 420px;
  }

  .CurrentSchedule .container {
    width: 100%;
    padding: 0;
  }

  .CurrentSchedule .ItemBox {
    border-radius: 0;
  }

  .schedule-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .schedule-tab {
    padding: 9px 6px;
    font-size: 12px;
    gap: 5px;
  }

  .schedule-tab-dot {
    width: 6px;
    height: 6px;
  }

  .CurrentSchedule .ItemBox .hero-card {
    padding: 22px;
  }

  .schedule-shell {
    padding: 20px;
  }

  .schedule-item {
    grid-template-columns: 64px 64px 1fr;
    gap: 14px;
  }

  .schedule-timeblock {
    padding: 6px 4px;
  }

  .schedule-media {
    width: 64px;
    height: 64px;
  }

  .schedule-media img {
    object-fit: contain;
  }

  .schedule-link {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 2px;
  }

  .topbar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
  }

  .HeaderContent {
    gap: 12px;
  }

  .hero-section {
    min-height: auto;
  }

  .HeroSlider {
    min-height: clamp(340px, 80svh, 500px);
  }

  .HeroSlider .hero-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-top: auto;
    padding: 22px 18px 0;
  }

  .HeroSlider .hero-card h1 {
    width: 50%;
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    line-height: 1.04;
  }

  .HeroSlider .hero-card p {
    display: none;
  }

  .HeroSlider .hero-card .hero-labels {
    display: none;
  }

  .HeroSlider .hero-card .hero-actions {
    display: none;
  }

  .HeroSlider .item {
    align-items: flex-end;
  }

  /* .onair-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  } */
.onair-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;   /* was: 220px 1fr */
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10, 14, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

  .onair-center {
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    justify-items: start;
  }

  .onair-status {
    justify-content: flex-start;
  }

  .onair-right {
    justify-content: flex-start;
    width: 100%;
  }

  .section-header {
    gap: 16px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .highlight-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .scroll-row > .movie-card {
    flex-basis: 60%;
    min-width: 60%;
  }
}

@media (max-width: 480px) {
  .CurrentSchedule {
    margin-top: 84px;
  }

  .schedule-heading h2 {
    font-size: 24px;
  }

  .schedule-item {
    grid-template-columns: 56px 56px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .schedule-timeblock {
    padding: 5px 3px;
  }

  .schedule-media {
    width: 56px;
    height: 56px;
  }

  .schedule-media img {
    object-fit: contain;
  }

  .schedule-title {
    font-size: 15px;
  }

  .schedule-link {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 2px;
  }

  .topbar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    padding: 10px 14px;
  }

  .HeroSlider {
    min-height: auto;
  }

  .HeroSlider .hero-card {
    padding: 20px 16px;
  }

  .onair-title {
    font-size: 24px;
  }

  .highlight-grid,
  .editorial-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card,
  .upload-card,
  .story-card {
    width: 100%;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-brand,
  .footer-about,
  .footer-links > div {
    padding: 0;
  }
}

.blog-detail {
  padding-top: 140px;
  padding-bottom: 60px;
}

.blog-detail .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-featured-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}

.blog-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.blog-date {
  font-size: 14px;
  color: #999;
}

.blog-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #333;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  font-size: 17px;
  line-height: 1.8;
  color: #ddd;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px auto;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
}

.blog-content a:hover {
  color: #ffd97a;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #fff;
  margin-top: 32px;
  margin-bottom: 16px;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-content blockquote {
  border-left: 4px solid #e50914;
  padding: 16px 24px;
  margin: 24px 0;
  background: #1a1a1a;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #bbb;
}

.blog-content ul,
.blog-content ol {
  margin: 16px 0 16px 24px;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content strong {
  color: #fff;
}

.blog-content em {
  color: #ccc;
}

.blog-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.blog-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .blog-detail {
    padding-top: 100px;
  }
  .blog-title {
    font-size: 26px;
  }
  .blog-content {
    font-size: 15px;
  }
}

/* ============ On Air Page ============ */

.onair-featured {
  position: relative;
  padding: 90px 0 96px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.onair-featured-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.96) 0%, rgba(4, 6, 14, 0.82) 42%, rgba(4, 6, 14, 0.45) 72%, rgba(4, 6, 14, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at top right, rgba(255, 192, 76, 0.2), transparent 34%);
  pointer-events: none;
}

.onair-featured .container {
  position: relative;
  z-index: 1;
}

.onair-featured-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.onair-featured-poster {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  align-self: start;
}

.onair-featured-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.onair-featured-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 400;
  object-fit: cover;
  display: block;
}

.onair-featured-content {
  display: grid;
  gap: 20px;
}

.onair-featured-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.onair-genre-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 76, 0.4);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.onair-featured-content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.onair-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.onair-genre-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}

.onair-featured-desc {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.onair-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.onair-featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onair-featured-meta i {
  color: var(--accent);
}

.onair-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.onair-live-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.78);
  border: 1px solid rgba(255, 192, 76, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.onair-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
  animation: onairPulse 1.6s infinite;
}

@keyframes onairPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 77, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

.story-card .onair-live-chip {
  top: 14px;
  right: 14px;
  left: auto;
}

.story-card .story-cover {
  position: relative;
}

@media (max-width: 1024px) {
  .onair-featured-inner {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }

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

@media (max-width: 700px) {
  .onair-featured {
    padding: 56px 0 64px;
  }

  .onair-featured-inner {
    grid-template-columns: 1fr;
  }

  .onair-featured-poster {
    max-width: 220px;
  }

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

.pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.pagination-info {
  color: var(--muted);
  font-size: 14px;
}

.pagination-info strong {
  color: var(--accent);
  font-weight: 700;
}

.pagination-total {
  color: rgba(255, 255, 255, 0.55);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-link:hover:not(.disabled) {
  background: rgba(255, 192, 76, 0.12);
  border-color: rgba(255, 192, 76, 0.45);
  color: var(--accent);
  transform: translateY(-2px);
}

.page-link.active {
  background: linear-gradient(135deg, #ffc04c, #ffb327);
  border-color: transparent;
  color: #17100a;
  box-shadow: 0 10px 26px rgba(255, 192, 76, 0.28);
}

.page-link.prev,
.page-link.next {
  font-size: 16px;
  padding: 0;
}

.page-link.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.page-ellipsis {
  color: rgba(255, 255, 255, 0.4);
  padding: 0 4px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .pagination {
    gap: 6px;
  }

  .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 10px;
  }
}

.program-detail-hero {
  position: relative;
  padding: calc(var(--header-height) + 24px) 0 96px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.program-detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.97) 0%, rgba(4, 6, 14, 0.85) 45%, rgba(4, 6, 14, 0.5) 74%, rgba(4, 6, 14, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
    radial-gradient(circle at top right, rgba(255, 192, 76, 0.22), transparent 36%);
  pointer-events: none;
}

.program-detail-hero .container {
  position: relative;
  z-index: 1;
}

.program-detail-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.program-detail-poster {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  align-self: start;
}

.program-detail-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.program-detail-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 400;
  object-fit: cover;
  display: block;
}

.program-detail-content {
  display: grid;
  gap: 20px;
}

.program-synopsis-section {
  padding: 8px 0 48px;
}

.program-synopsis {
  max-width: 820px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 15, 29, 0.96), rgba(7, 10, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
}

.program-synopsis p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .program-detail-inner {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .program-detail-hero {
    padding: calc(var(--header-height) + 16px) 0 64px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

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

  .program-detail-poster {
    max-width: 220px;
  }

  .program-synopsis {
    padding: 22px;
  }
}

/*************************************************************/
/* Mobile type & thumbnail tuning */
/*************************************************************/

@media (max-width: 700px) {
  .section-header h2 {
    font-size: 22px;
  }

  .genre-body h3,
  .movie-info h3,
  .upload-info h3,
  .story-body h3 {
    font-size: 17px;
  }

  .movie-info h3 {
    font-size: 18px;
  }

  .highlight-card h3 {
    font-size: 20px;
  }

  .episode-info h3 {
    font-size: 0.9rem;
  }

  .movie-cover {
    height: auto;
  }

  .story-card .story-cover {
    height: auto;
  }

  .highlight-media img {
    min-height: 160px;
  }

  .genre-card {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 20px;
  }

  .genre-body h3,
  .movie-info h3,
  .upload-info h3,
  .story-body h3 {
    font-size: 16px;
  }

  .movie-info h3 {
    font-size: 17px;
  }

  .highlight-card h3 {
    font-size: 19px;
  }

  .episode-info h3 {
    font-size: 0.85rem;
  }

  .movie-cover {
    height: auto;
  }

  .story-card .story-cover {
    height: auto;
  }

  .highlight-media img {
    min-height: 140px;
  }

  .genre-card {
    min-height: 250px;
  }
}

/* ============ On Air Home Section ============ */
.onair-static {
  padding: 10px 0;
}

.onair-static .onair-card {
  min-height: 240px;
  border-radius: 28px;
  background: rgba(8, 12, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.onair-static .onair-card .onair-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

@media (max-width: 576px) {
  .onair-static .onair-card {
    border-radius: 22px;
  }
}

.onair-card .onair-title {
  text-decoration: none;
  color: #fff;
}

.onair-static .onair-title:hover {
  color: #ffca72;
}

/* ============ On Air Showcase ============ */

.onair-showcase {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 180px 1px 280px;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 28px;
  background: transparent;
  border: 1px solid rgba(255, 202, 114, 0.45);
  box-shadow: 0 0 30px rgba(255, 202, 114, 0.08);
  position: relative;
  overflow: hidden;
}

.onair-showcase-poster {
  min-width: 0;
}

.poster-size-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.onair-showcase-poster img {
  width: 100%;
  aspect-ratio: 280 / 400;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.onair-showcase-info {
  min-width: 0;
}

.onair-showcase-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 12px;
}

.onair-showcase-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffca72;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.onair-showcase-starring {
  color: #ffca72;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

.onair-showcase-synopsis {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 0 16px;
}

.onair-showcase-release {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.onair-showcase-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.onair-showcase-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.onair-popular {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.onair-popular-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 190, 118, 0.14);
  border: 2px solid #2ebe76;
  color: #2ebe76;
  font-size: 22px;
  box-shadow: 0 0 24px rgba(46, 190, 118, 0.35);
}

.onair-popular-text {
  color: #2ebe76;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.onair-ott-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffca72;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 202, 114, 0.35);
  background: rgba(255, 202, 114, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.onair-ott-link:hover {
  background: rgba(255, 202, 114, 0.16);
  transform: translateY(-1px);
}

.onair-showcase-divider {
  width: 1px;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.onair-upcoming {
  min-width: 0;
}

.onair-upcoming-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.onair-upcoming-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.onair-upcoming-header i {
  color: #ffca72;
}

.onair-upcoming-btn {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.onair-upcoming-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.onair-upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0 4px 0 0;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 202, 114, 0.4) transparent;
}

.onair-upcoming-list::-webkit-scrollbar {
  width: 6px;
}

.onair-upcoming-list::-webkit-scrollbar-track {
  background: transparent;
}

.onair-upcoming-list::-webkit-scrollbar-thumb {
  background: rgba(255, 202, 114, 0.4);
  border-radius: 999px;
}

.onair-upcoming-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.onair-upcoming-list li:last-child {
  border-bottom: none;
}

.onair-upcoming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  text-decoration: none;
}

.onair-upcoming-item img {
  width: 58px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}

.onair-upcoming-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.onair-upcoming-item-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

.onair-upcoming-item-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 202, 114, 0.85);
  font-size: 12px;
  font-weight: 600;
}

.onair-upcoming-item:hover .onair-upcoming-item-title {
  color: #ffca72;
}

.onair-upcoming-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 14px;
}

.onair-upcoming-progress span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, #ffcd73, #ff9e5c);
  border-radius: 999px;
}

@media (max-width: 1199px) {
  .onair-showcase {
    grid-template-columns: 120px minmax(0, 1fr) 120px 1px 220px;
    gap: 16px;
    align-items: center;
    padding: 24px 22px;
  }

  .onair-showcase-title {
    font-size: 24px;
  }

  .onair-showcase-synopsis {
    font-size: 13px;
    max-width: 46ch;
    margin-bottom: 12px;
  }

  .onair-popular-badge {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .onair-ott-link {
    padding: 7px 12px;
    font-size: 12px;
  }

  .onair-showcase-divider {
    min-height: 170px;
  }

  .onair-upcoming-item img {
    width: 50px;
    height: 70px;
  }

  .onair-upcoming-item-title {
    font-size: 13px;
  }

  .onair-upcoming-progress {
    display: none;
  }
}

@media (max-width: 700px) {
  .onair-showcase {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .onair-showcase-poster img {
    border-radius: 10px;
  }

  .onair-showcase-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .onair-showcase-time {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .onair-showcase-synopsis {
    display: none;
  }

  .onair-showcase-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  .onair-showcase-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }

  .onair-popular {
    display: none;
  }

  .onair-ott-link {
    font-size: 12px;
    padding: 7px 12px;
  }

  .onair-showcase-divider {
    display: none;
  }

  .onair-upcoming {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }

  .onair-upcoming-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: none;
    overflow-y: visible;
  }

  .onair-upcoming-item img {
    width: 44px;
    height: 60px;
  }

  .onair-upcoming-item-title {
    font-size: 13px;
  }

  .onair-upcoming-item-time {
    font-size: 11px;
  }

  .onair-upcoming-progress {
    display: none;
  }
}

/* ============ OST Detail Page ============ */
.ost-detail-hero {
  min-height: 640px;
  border-top: none;
  border-bottom: none;
}

.ost-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc880 0%, #ff9b2a 100%);
  color: #17100a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ost-program {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.ost-program a {
  color: #ffca72;
  font-weight: 700;
  text-decoration: none;
}

.ost-program a:hover {
  text-decoration: underline;
}

.ost-synopsis {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 640px;
}

.ost-synopsis p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.ost-player-section {
  padding: 0 0 80px;
}

.ost-player {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 12, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9;
}

.ost-player .promo-play-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: url('/images/placeholder.png') center/cover no-repeat;
}

.ost-video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 576px) {
  .ost-detail-hero {
    min-height: auto;
  }

  .ost-synopsis p {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .hero-section {
    min-height: auto;
  }

  .HeroSlider {
    min-height: auto;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .HeroSlider .item {
    background-position: top center;
    background-size: cover;
  }

  .HeroSlider .hero-prev,
  .HeroSlider .hero-next {
    display: none;
  }

  .HeroSliderMeta {
    display: none;
  }

  .HeroSlider .item > .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
  }

  .HeroSlider .hero-card {
    padding: 18px 18px 6px;
  }

  .HeroSlider .hero-card h1 {
    width: 100%;
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    line-height: 1.05;
    margin-bottom: 12px;
  }

.HeroSlider .hero-card p {
    display: none;
  }

  .HeroSlider .hero-card .hero-actions {
    display: flex;
    justify-content: flex-start;
  }

  .HeroSlider .hero-card .hero-actions .btn {
    width: auto;
    align-self: flex-start;
    min-height: 28px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
  }

  .ad-placeholder img {
    max-width: 85%;
    margin: 0 auto;
  }

  .onair-static .onair-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 8px;
    padding: 34px 20px 22px;
    text-align: center;
  }

  .onair-static .onair-card::before {
    display: none;
  }

  .onair-static .onair-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .onair-static .onair-time::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5a3c;
    box-shadow: 0 0 10px rgba(255, 90, 60, 0.8);
    animation: dotPulse 1.4s ease-in-out infinite;
  }

  .onair-static .onair-left {
    display: none;
  }

  .onair-static .onair-center {
    border: none;
    padding: 0;
    gap: 16px;
  }

  .onair-static .onair-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
  }

  .onair-static .onair-right .btn-outline {
    flex: 1 1 auto;
    min-width: 0;
  }

  .onair-static .onair-time {
    font-size: 12px;
    letter-spacing: 0.22em;
    color: #ffca72;
  }

  .onair-static .onair-title {
    font-size: 26px;
    line-height: 1.12;
  }

  .section-onair .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .onair-grid-section .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .genre-section .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .genre-carousel .carousel-track {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
  }

  .genre-carousel .carousel-track > *:nth-child(n) {
    display: block;
  }

  .genre-carousel .genre-card {
    flex: 0 0 46%;
    height: 260px;
  }

  .genre-carousel,
  .ost-carousel,
  .movie-carousel {
    padding-bottom: 40px;
  }

  .genre-carousel .carousel-nav,
  .ost-carousel .carousel-nav,
  .movie-carousel .carousel-nav {
    display: grid;
    top: auto;
    bottom: 0;
    transform: none;
    width: 40px;
    height: 40px;
  }

  .genre-carousel .carousel-prev,
  .ost-carousel .carousel-prev,
  .movie-carousel .carousel-prev {
    left: auto;
    right: calc(50% + 13px);
  }

  .genre-carousel .carousel-next,
  .ost-carousel .carousel-next,
  .movie-carousel .carousel-next {
    right: calc(50% - 53px);
  }

  .drama-ost-section .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .ost-carousel .ost-card {
    flex: 0 0 42%;
    width: 42%;
  }

  .must-watch .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .highlights .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .highlight-card {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 12px;
    min-height: auto;
  }

  .highlight-media {
    order: 1;
    padding: 0;
  }

  .highlight-media img {
    min-height: 0;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
  }

  .highlight-content {
    order: 2;
    padding: 0;
    min-width: 0;
    gap: 6px;
  }

  .highlight-card h3 {
    font-size: 20px;
  }

  .highlight-card p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .highlight-card span {
    padding: 4px 9px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .highlight-card .highlight-play {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    min-height: 28px;
  }

  .recent-uploads .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .recent-uploads .upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .recent-uploads .upload-card {
    min-width: 0;
  }

  .recent-uploads .upload-cover img {
    object-fit: contain;
    object-position: center;
  }

  .recent-uploads .upload-info {
    padding: 12px 14px 16px;
  }

  .recent-uploads .upload-info h3 {
    font-size: 15px;
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.45);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 90, 60, 0);
  }
}

.editorial-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10, 14, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.editorial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 192, 76, 0.35);
}

.editorial-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.editorial-cover {
  overflow: hidden;
  height: 260px;
  position: relative;
}

.editorial-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.editorial-card:hover .editorial-cover img {
  transform: scale(1.06);
}

.editorial-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 18px 20px 22px;
}

.editorial-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.editorial-card-link:hover .editorial-link-text {
  color: var(--accent);
}

.editorial-cards .editorial-grid {
  gap: 18px;
}

@media (max-width: 700px) {
  .editorial .section-label {
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .editorial-cards .editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .editorial-card {
    grid-template-rows: 1fr;
    border-radius: 20px;
  }

  .editorial-card-link {
    flex-direction: row;
  }

  .editorial-cover {
    flex: 0 0 110px;
    height: auto;
    aspect-ratio: 16 / 10;
    align-self: center;
    margin: 12px;
    border-radius: 18px;
  }

  .editorial-cover img {
    object-fit: contain;
  }

  .editorial-card .editorial-body {
    flex: 1;
    padding: 14px 16px 14px 0;
    gap: 8px;
  }

  .editorial-body h3 {
    font-size: 18px;
  }

  .editorial-body p {
    display: none;
  }

  .editorial-link-text {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .footer {
    padding-top: 32px;
  }

  .footer-top {
    gap: 22px;
    padding: 16px 0;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-brand .footer-logo {
    width: 60px;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .footer-about h4,
  .footer-about p,
  .footer-links h4,
  .footer-links a {
    text-align: center;
  }

  .footer-about h4,
  .footer-about p {
    display: none;
  }

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

  .footer-links > div + div {
    padding-top: 0;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 16px;
  }

  .footer-links > div:first-child h4,
  .footer-links > div:first-child a {
    text-align: left;
  }

  .footer-links > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-links > div:last-child h4 {
    text-align: center;
  }

  .footer-links > div:last-child a {
    margin: 0;
  }

  .footer-links img {
    width: 130px;
    max-width: 100%;
    margin: 0;
  }

  .footer-bottom {
    margin-top: 16px;
    font-size: 13px;
    padding: 16px 14px;
    border-radius: 14px 14px 0 0;
  }
}

@media (max-width: 700px) {
  .section-onair .section-header,
  .genre-section .section-header,
  .drama-ost-section .section-header,
  .highlights .section-header,
  .recent-uploads .section-header,
  .editorial .section-header,
  .must-watch .section-header,
  .onair-grid-section .section-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'label btn'
      'head head';
    align-items: center;
    gap: 10px;
  }

  .section-onair .section-header > div,
  .genre-section .section-header > div,
  .drama-ost-section .section-header > div,
  .highlights .section-header > div,
  .recent-uploads .section-header > div,
  .editorial .section-header > div,
  .must-watch .section-header > div,
  .onair-grid-section .section-header > div {
    display: contents;
  }

  .section-onair .section-label,
  .genre-section .section-label,
  .drama-ost-section .section-label,
  .highlights .section-label,
  .recent-uploads .section-label,
  .editorial .section-label,
  .must-watch .section-label,
  .onair-grid-section .section-label {
    grid-area: label;
  }

  .section-onair .section-header h2,
  .genre-section .section-header h2,
  .drama-ost-section .section-header h2,
  .highlights .section-header h2,
  .recent-uploads .section-header h2,
  .editorial .section-header h2,
  .must-watch .section-header h2,
  .onair-grid-section .section-header h2 {
    grid-area: head;
    margin: 0;
  }

  .section-onair .section-header .btn,
  .genre-section .section-header .btn,
  .drama-ost-section .section-header .btn,
  .highlights .section-header .btn,
  .recent-uploads .section-header .btn,
  .editorial .section-header .btn,
  .must-watch .section-header .btn,
  .onair-grid-section .section-header .btn {
    grid-area: btn;
    justify-self: end;
    min-height: 30px;
    padding: 0 14px;
    font-size: 12px;
  }

  .section-onair .section-header,
  .genre-section .section-header,
  .drama-ost-section .section-header,
  .highlights .section-header,
  .recent-uploads .section-header,
  .editorial .section-header,
  .must-watch .section-header,
  .onair-grid-section .section-header {
    margin-bottom: 18px;
  }
}

@media (min-width: 1025px) {
  .HeroSlider {
    min-height: 85svh;
  }

  .HeroSlider .item {
    background-size: cover;
    background-position: top center;
    align-items: flex-end;
  }

  .HeroSlider .hero-card {
    margin-bottom: 56px;
  }
}

.ost-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0;
}

.ost-marquee-row {
  overflow: hidden;
}

.ost-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ost-marquee-set {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.ost-marquee .ost-card {
  flex: 0 0 90px;
  width: 90px;
  min-width: 0;
}

.ost-marquee .ost-cover {
  aspect-ratio: 3 / 4;
}

.ost-marquee .ost-cover img {
  object-fit: cover;
  object-position: center;
}

.row-left .ost-marquee-track {
  animation: marqueeLeft 42s linear infinite;
}

.row-right .ost-marquee-track {
  animation: marqueeRight 42s linear infinite;
}

.ost-marquee-row:hover .ost-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 1400px) {
  .ost-marquee .ost-card {
    flex-basis: 90px;
    width: 90px;
  }
}

@media (max-width: 992px) {
  .ost-marquee .ost-card {
    flex-basis: 88px;
    width: 88px;
  }
}

@media (max-width: 768px) {
  .ost-marquee .ost-card {
    flex-basis: 85px;
    width: 85px;
  }
}

@media (max-width: 576px) {
  .ost-marquee .ost-card {
    flex: 0 0 30vw;
    width: 30vw;
  }

  .ost-marquee {
    gap: 14px;
  }

  .ost-marquee-set {
    gap: 14px;
    padding-right: 14px;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .HeroSlider .hero-prev,
  .HeroSlider .hero-next {
    display: none;
  }

  .HeroSlider .item > .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    align-items: flex-start;
    padding: 0 24px;
  }

  .HeroSlider .hero-card {
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding-bottom: 12px;
  }

  .onair-static .onair-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 8px;
    padding: 34px 20px 22px;
    text-align: center;
  }

  .onair-static .onair-card::before {
    display: none;
  }

  .onair-static .onair-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .onair-static .onair-time::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5a3c;
    box-shadow: 0 0 10px rgba(255, 90, 60, 0.8);
    animation: dotPulse 1.4s ease-in-out infinite;
  }

  .onair-static .onair-left {
    display: none;
  }

  .onair-static .onair-center {
    border: none;
    padding: 0;
    gap: 16px;
  }

  .onair-static .onair-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
  }

  .onair-static .onair-right .btn-outline {
    flex: 1 1 auto;
    min-width: 0;
  }

  .onair-static .onair-time {
    font-size: 12px;
    letter-spacing: 0.22em;
    color: #ffca72;
  }

  .onair-static .onair-title {
    font-size: 26px;
    line-height: 1.12;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .highlight-card {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 12px;
    min-height: auto;
  }

  .highlight-media {
    order: 1;
    padding: 0;
  }

  .highlight-media img {
    min-height: 0;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
  }

  .highlight-content {
    order: 2;
    padding: 0;
    min-width: 0;
    gap: 6px;
  }

  .highlight-card h3 {
    font-size: 20px;
  }

  .highlight-card p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .highlight-card span {
    padding: 4px 9px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .highlight-card .highlight-play {
    margin-top: 4px;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    min-height: 24px;
  }

  .section-onair .section-header,
  .genre-section .section-header,
  .drama-ost-section .section-header,
  .highlights .section-header,
  .recent-uploads .section-header,
  .editorial .section-header,
  .must-watch .section-header,
  .onair-grid-section .section-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'label btn'
      'head head';
    align-items: center;
    gap: 10px;
  }

  .section-onair .section-header > div,
  .genre-section .section-header > div,
  .drama-ost-section .section-header > div,
  .highlights .section-header > div,
  .recent-uploads .section-header > div,
  .editorial .section-header > div,
  .must-watch .section-header > div,
  .onair-grid-section .section-header > div {
    display: contents;
  }

  .section-onair .section-label,
  .genre-section .section-label,
  .drama-ost-section .section-label,
  .highlights .section-label,
  .recent-uploads .section-label,
  .editorial .section-label,
  .must-watch .section-label,
  .onair-grid-section .section-label {
    grid-area: label;
  }

  .section-onair .section-header h2,
  .genre-section .section-header h2,
  .drama-ost-section .section-header h2,
  .highlights .section-header h2,
  .recent-uploads .section-header h2,
  .editorial .section-header h2,
  .must-watch .section-header h2,
  .onair-grid-section .section-header h2 {
    grid-area: head;
    margin: 0;
  }

  .section-onair .section-header .btn,
  .genre-section .section-header .btn,
  .drama-ost-section .section-header .btn,
  .highlights .section-header .btn,
  .recent-uploads .section-header .btn,
  .editorial .section-header .btn,
  .must-watch .section-header .btn,
  .onair-grid-section .section-header .btn {
    grid-area: btn;
    justify-self: end;
    min-height: 30px;
    padding: 0 14px;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .breadcrumb-page-hero {
    min-height: 230px;
    padding: 118px 0 36px;
  }

  .breadcrumb-page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    line-height: 1.15;
  }

  .breadcrumb-page-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .page-breadcrumb {
    margin-bottom: 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 700px) {
  .onair-grid-section .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .onair-grid-section .story-card {
    border-radius: 16px;
  }

  .onair-grid-section .story-card .onair-live-chip {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 9px;
    gap: 5px;
  }
}

@media (max-width: 700px) {
  .CurrentSchedule {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .section.drama-detail-hero {
    padding-top: 16px;
  }
}

@media (max-width: 1024px) {
  .program-detail-hero .onair-featured-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }

  .onair-grid-section .section-header .btn {
    display: none;
  }
}

@media (max-width: 700px) {
  .genre-section .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .program-detail-hero .onair-featured-desc {
    -webkit-line-clamp: 4;
  }
}

.drama-ost-section .editorial-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.drama-ost-section .editorial-grid .ost-card {
  width: 100%;
}

@media (max-width: 992px) {
  .drama-ost-section .editorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .drama-ost-section .editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

.drama-ost-section .editorial-grid .ost-cover {
  aspect-ratio: 7 / 10;
}

@media (max-width: 700px) {
  .drama-ost-section .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .drama-ost-section .editorial-grid .ost-card {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .program-detail-hero .onair-featured-actions {
    flex-direction: column;
    width: 100%;
  }

  .program-detail-hero .onair-featured-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

.ost-credits {
  margin-top: 18px;
}

.ost-synopsis-credit,
.ost-synopsis-promo {
  display: none;
}

.ost-credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ost-credit-item {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ost-credit-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffca72;
}

.ost-credit-value {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 700px) {
  .ost-credits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ost-credit-item {
    padding: 10px 12px;
  }

  .ost-credit-value {
    font-size: 13px;
  }
}

@media (min-width: 701px) {
  .genre-carousel,
  .ost-carousel,
  .movie-carousel {
    padding-bottom: 60px;
  }

  .genre-carousel .carousel-nav,
  .ost-carousel .carousel-nav,
  .movie-carousel .carousel-nav {
    top: auto;
    bottom: 0;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .genre-carousel .carousel-prev,
  .ost-carousel .carousel-prev,
  .movie-carousel .carousel-prev {
    left: auto;
    right: 56px;
  }

  .genre-carousel .carousel-next,
  .ost-carousel .carousel-next,
  .movie-carousel .carousel-next {
    right: 4px;
  }
}

.movie-card:hover .movie-cover::after {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85));
}

@media (min-width: 701px) {
  .recent-uploads .upload-grid,
  .episode-guide .upload-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
}

.ru-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0a0e1c;
}

.ru-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ru-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0e1c;
}

.ru-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: transform 0.2s ease;
}

.ru-card:hover .ru-card-thumb img {
  transform: scale(1.05);
}

.ru-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3) 55%, transparent);
  pointer-events: none;
}

.ru-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.ru-card-title {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.ru-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ru-card-play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd97a 0%, #f6c453 100%);
}

.ru-card-play i {
  color: #17100a;
  font-size: 9px;
  transform: translateX(1px);
}

.ru-card-duration {
  color: #e1e1e1;
  font-size: 13px;
}

@media (max-width: 900px) and (min-width: 701px) {
  .recent-uploads .upload-grid,
  .episode-guide .upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .recent-uploads .upload-grid,
  .episode-guide .upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ru-card-body {
    padding: 10px;
    gap: 6px;
  }

  .ru-card-title {
    font-size: 12px;
  }

  .ru-card-play {
    width: 17px;
    height: 17px;
  }

  .ru-card-play i {
    font-size: 7px;
  }

  .ru-card-duration {
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .section.live-watch-hero {
    padding: calc(var(--header-height) + 12px) 0 40px;
  }

  .live-watch-hero .ad-leaderboard {
    margin-bottom: 12px;
  }

  .live-watch-hero .ad-leaderboard img {
    max-height: 60px;
  }

  .live-watch-copy {
    padding-top: 26px;
  }
}

.contact-section {
  padding-top: 8px;
}

.contact-ad {
  width: 100%;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 120px;
}

.contact-ad img {
  display: block;
  max-width: 728px;
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  border-radius: 8px;
}

.contact-content {
  max-width: 820px;
}

.contact-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fdfbf8;
}

.contact-content p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.contact-content .contact-title {
  margin-top: 18px;
  margin-bottom: 6px;
}

.contact-content .contact-title strong {
  color: #ffffff;
}

.contact-content a {
  color: var(--accent);
  text-decoration: none;
}

.contact-content a:hover {
  text-decoration: underline;
}

/* ── Logo Loader ─────────────────────────────────────────── */

@keyframes aryFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes aryPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.ary-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 15, 0.82);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.ary-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ary-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: aryFloat 2.5s ease-in-out infinite;
}

.ary-loader-inner img {
  max-width: 150px;
  width: 100%;
  height: auto;
  animation: aryPulse 1.2s ease-in-out infinite;
}

.ary-loader-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.ary-loader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, #ff9b2a);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.ary-loader-dots span:nth-child(1) { animation-delay: 0s; }
.ary-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.ary-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@media (max-width: 700px) {
  .ary-loader-inner img {
    max-width: 105px;
  }

  .ary-loader-dots {
    gap: 6px;
    margin-top: 10px;
  }

  .ary-loader-dots span {
    width: 8px;
    height: 8px;
  }
}

/* ── Skeleton / Page loading ─────────────────────────────── */

@keyframes skShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.sk-line,
.sk-card,
.sk-card-img,
.sk-hero,
.sk-btn {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s infinite;
  border-radius: 10px;
}

.page-skeleton {
  min-height: 70vh;
}

.sk-hero {
  position: relative;
  min-height: clamp(320px, 55svh, 480px);
  border-radius: 0;
  display: flex;
  align-items: center;
}

.sk-hero .container {
  position: relative;
  z-index: 1;
}

.sk-hero-copy {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.sk-section {
  padding: 40px 0 0;
}

.sk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.sk-header > div {
  display: grid;
  gap: 12px;
}

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

.sk-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.sk-card-img {
  aspect-ratio: 7 / 10;
  border-radius: 0;
  border-radius: 22px 22px 0 0;
}

.sk-card-lines {
  display: grid;
  gap: 10px;
  padding: 14px;
}

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

@media (max-width: 640px) {
  .sk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sk-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
