/* ============================================================
   DRAMIFY — Unified Stylesheet
   ============================================================ */

/* ─── DESIGN TOKENS ── */
:root {
  --gold:      #FDC830;
  --orange:    #F37335;
  --grad:      linear-gradient(135deg, #FDC830, #F37335);
  --grad-text: linear-gradient(90deg,  #FDC830, #F37335);
  --dark:      #0a0a0f;
  --surface:   #13131a;
  --surface2:  #1c1c26;
  --surface3:  #242433;
  --text:      #f0f0f0;
  --muted:     #888899;
  --border:    rgba(255,255,255,0.08);
  --nav-h:     68px;
}

/* ─── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body { background: var(--dark); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* ─── KEYFRAMES ── */
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
@keyframes blink  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
@keyframes phoneFloat { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-16px) rotate(1deg)} }


/* ════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 5%;
  background: linear-gradient(to bottom, rgba(10,10,15,0.98), rgba(10,10,15,0));
  backdrop-filter: blur(0px);
  transition: backdrop-filter .3s, background .3s;
}
nav.scrolled {
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; list-style: none; margin-left: 48px; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; color: var(--muted); align-items: center; }
.nav-links li a:hover { color: var(--text); transition: color .2s; }
.nav-links li a.active { color: var(--gold); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn-search { width: 36px; height: 36px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.btn-search:hover { background: var(--surface3); }
.btn-search svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-download {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 8px;
  background: var(--grad); color: #0a0a0f;
  font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; text-decoration: none;
}
.btn-download:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(243,115,53,0.35); }
.btn-download svg { width: 14px; height: 14px; stroke: #0a0a0f; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 8px 5% 20px; display: none; flex-direction: column; gap: 2px;
}
.mobile-link {
  padding: 13px 4px; font-size: 15px; color: var(--muted);
  border-bottom: 1px solid var(--border); font-weight: 500;
  display: flex; align-items: center; gap: 10px; transition: color .2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover, .mobile-link.active { color: var(--text); }
.mobile-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; flex-shrink: 0; }
.mobile-dl-btn {
  margin-top: 14px; padding: 13px; border-radius: 10px;
  background: var(--grad); color: #0a0a0f;
  font-weight: 700; font-size: 14px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.mobile-dl-btn svg { width: 16px; height: 16px; stroke: #0a0a0f; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }


/* ════════════════════════════════════════════════════════════
   SHARED BUTTONS
════════════════════════════════════════════════════════════ */
.btn-watch {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px;
  background: var(--grad); color: #0a0a0f;
  font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
  transition: transform .15s, box-shadow .2s;
}
.btn-watch:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,115,53,0.4); }
.btn-watch svg { width: 16px; height: 16px; fill: #0a0a0f; }

.btn-add {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.06);
  color: var(--text); font-weight: 500; font-size: 14px;
  backdrop-filter: blur(8px); transition: background .2s, border-color .2s;
}
.btn-add:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.btn-add svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }


/* ════════════════════════════════════════════════════════════
   HOME — HERO SLIDER
════════════════════════════════════════════════════════════ */
.hero-slider { position: relative; min-height: 100vh; overflow: hidden; }
.slides-track { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: var(--nav-h) 6% 100px; gap: 52px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.4,0,0.2,1); z-index: 0;
}
.slide.active { opacity: 1; pointer-events: all; z-index: 1; }
.slide.prev   { opacity: 0; z-index: 0; }
.slide::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 180px; z-index: 1; background: linear-gradient(to bottom, transparent, var(--dark)); pointer-events: none; }

.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-img-blur { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center top; filter: blur(32px) brightness(0.28) saturate(1.6); transform: scale(1.1); }
.slide-img-blur::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.1) 100%); }
.slide-noise { position: absolute; inset: 0; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); background-size: 200px; opacity: 0.35; }
.slide-glow, .slide-glow2 { display: none; }

.slide-cards { position: relative; z-index: 3; flex-shrink: 0; opacity: 0; transform: translateX(-32px); transition: opacity 0.85s ease 0.1s, transform 0.85s cubic-bezier(0.4,0,0.2,1) 0.1s; }
.slide.active .slide-cards { opacity: 1; transform: translateX(0); }

.hero-card { border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 32px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.08); cursor: pointer; animation: float1 5s ease-in-out infinite; }
.hero-card-main { width: 350px; height: 500px; }
.hcard-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcard-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 45%); }
.hcard-badge { position: absolute; top: 12px; left: 12px; background: var(--grad); color: #000; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 6px; }
.hcard-rank { display: none; }

.slide-content { position: relative; z-index: 3; flex: 1; min-width: 0; opacity: 0; transform: translateX(28px); transition: opacity 0.85s ease 0.2s, transform 0.85s cubic-bezier(0.4,0,0.2,1) 0.2s; }
.slide.active .slide-content { opacity: 1; transform: translateX(0); }

.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(253,200,48,0.12); border: 1px solid rgba(253,200,48,0.3); border-radius: 20px; padding: 5px 14px; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; }
.hero-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 1.5s ease-in-out infinite; }

.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(56px, 6vw, 88px); line-height: 0.92; letter-spacing: 2px; margin-bottom: 22px; }
.hero-title .grad,
.dl-title .grad,
.section-title span,
.nav-logo, .nav-logo *,
.footer-logo,
.slide-counter strong { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide-counter strong { -webkit-text-fill-color: var(--gold); color: var(--gold); }

.hero-genres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.genre-chip { padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; backdrop-filter: blur(6px); }
.hero-desc { color: rgba(240,240,240,0.6); font-size: 14px; line-height: 1.75; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; align-items: center; }
.hero-meta { margin-top: 28px; display: flex; gap: 24px; align-items: center; }

.hero-controls { position: absolute; bottom: 32px; left: 6%; right: 6%; display: flex; align-items: center; gap: 20px; z-index: 10; }
.hero-dots-wrap { display: flex; gap: 8px; align-items: center; }
.dot { width: 24px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.2); cursor: pointer; transition: width .3s; position: relative; overflow: hidden; }
.dot.active { width: 48px; }
.dot-fill { position: absolute; top: 0; left: 0; bottom: 0; background: var(--grad); border-radius: 2px; width: 0%; transition: width linear; }
.slider-arrow { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(10px); transition: background .2s, border-color .2s, transform .15s; flex-shrink: 0; }
.slider-arrow:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); transform: scale(1.08); }
.slider-arrow svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrows { display: flex; gap: 8px; margin-left: auto; }
.slide-counter { font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 1px; color: rgba(255,255,255,0.4); white-space: nowrap; }


/* ════════════════════════════════════════════════════════════
   HOME — SECTIONS
════════════════════════════════════════════════════════════ */
section { padding: 64px 5%; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1.5px; }
.section-link { font-size: 13px; color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 22px; border: 1px solid rgba(253,200,48,0.25); background: rgba(253,200,48,0.08); transition: background .2s, border-color .2s, gap .2s; }
.section-link:hover { background: rgba(253,200,48,0.14); border-color: rgba(253,200,48,0.45); gap: 10px; }

.filter-tabs { display: flex; gap: 10px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: 8px 20px; border-radius: 22px; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; transition: .2s; font-family: 'DM Sans', sans-serif; }
.tab-btn.active, .tab-btn:hover { background: var(--grad); color: #0a0a0f; border-color: transparent; font-weight: 600; }

.drama-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.drama-scroll::-webkit-scrollbar { display: none; }

/* drama card (trending) */
.drama-card { flex-shrink: 0; width: 160px; cursor: pointer; transition: transform .25s; }
.drama-card:hover { transform: translateY(-6px); }
.drama-card:hover .card-overlay { opacity: 1; }
.card-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 2/3; background: var(--surface2); margin-bottom: 10px; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); opacity: 0; transition: opacity .25s; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; }
.card-play { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.card-play svg { width: 14px; height: 14px; fill: #000; margin-left: 2px; }
.card-ep { font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; }
.card-rank-badge { position: absolute; top: 0; left: 0; font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; color: rgba(255,255,255,0.08); padding: 4px 8px; }
.card-badge { position: absolute; top: 8px; right: 8px; background: var(--grad); color: #000; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 4px; }
.card-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }

/* new releases grid */
.trending-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.trend-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: var(--surface2); }
.trend-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.trend-card:hover .trend-img { transform: scale(1.07); }
.trend-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, transparent 100%); }
.trend-bottom { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2; transition: opacity .25s; }
.trend-title-static { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.trend-hover { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(10,10,15,0.72); backdrop-filter: blur(6px); opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; padding: 20px; }
.trend-card:hover .trend-hover { opacity: 1; transform: translateY(0); }
.trend-card:hover .trend-bottom { opacity: 0; }
.trend-hover-play { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(253,200,48,0.15); flex-shrink: 0; }
.trend-hover-play svg { width: 20px; height: 20px; fill: #000; margin-left: 3px; }
.trend-hover-title { font-size: 15px; font-weight: 700; text-align: center; line-height: 1.3; }
.trend-hover-meta { display: flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.6); }

/* categories */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.cat-card { border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.cat-card:hover { border-color: rgba(253,200,48,0.4); background: rgba(253,200,48,0.06); transform: translateY(-2px); }
.cat-name  { font-size: 14px; font-weight: 600; color: var(--text); }
.cat-count { font-size: 11px; color: var(--muted); }

/* promo banner */
.promo-banner { margin: 0 5%; border-radius: 16px; padding: 48px 40px; background: linear-gradient(135deg, rgba(253,200,48,0.15) 0%, rgba(243,115,53,0.15) 100%); border: 1px solid rgba(253,200,48,0.2); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.promo-banner::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(253,200,48,0.25) 0%, transparent 70%); pointer-events: none; }
.promo-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.promo-title { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 1px; margin-bottom: 8px; }
.promo-desc  { font-size: 14px; color: rgba(240,240,240,0.65); max-width: 360px; }
.btn-promo { padding: 14px 32px; border-radius: 8px; background: var(--grad); color: #0a0a0f; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .15s, box-shadow .2s; flex-shrink: 0; }
.btn-promo:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(243,115,53,0.35); }

/* footer */
footer { padding: 48px 5% 32px; border-top: 1px solid var(--border); margin-top: 32px; }
.footer-top { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo  { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; margin-bottom: 12px; }
.footer-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 240px; }
.footer-col   { min-width: 120px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 14px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-socials { display: flex; gap: 12px; }
.social-btn { width: 32px; height: 32px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: .2s; font-size: 13px; color: var(--muted); }
.social-btn:hover { background: var(--surface3); color: var(--gold); border-color: rgba(253,200,48,0.3); }


/* ════════════════════════════════════════════════════════════
   DETAIL PAGE
════════════════════════════════════════════════════════════ */
.dp-container { max-width: 1400px; margin: 0 auto; }
.dp-wrap { display: flex; align-items: stretch; min-height: calc(100vh - var(--nav-h)); margin-top: var(--nav-h); }

/* LEFT — sticky vertical player */
.dp-player { position: sticky; top: var(--nav-h); flex-shrink: 0; width: 540px; height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; background: #05050a; padding: 16px 20px; gap: 14px; border-right: 1px solid var(--border); }
.vp-shell { position: relative; width: 100%; max-width: 420px; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 32px 96px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06); }
.vp-bg { position: absolute; inset: -10px; background-size: cover; background-position: center; filter: blur(18px) brightness(0.35) saturate(1.4); z-index: 0; }
.vp-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.9; }
.vp-dim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.82) 100%); }
.vp-ep-tag { position: absolute; top: 14px; left: 14px; z-index: 4; background: rgba(10,10,15,0.72); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 7px; padding: 5px 11px; font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: 0.4px; }
.vp-badge { position: absolute; top: 14px; right: 14px; z-index: 4; background: var(--grad); color: #000; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; }
.vp-play { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vp-play-btn { width: 68px; height: 68px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(253,200,48,0.14), 0 0 0 26px rgba(253,200,48,0.06); transition: transform .2s, box-shadow .2s; }
.vp-play-btn:hover { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(253,200,48,0.2), 0 0 0 30px rgba(253,200,48,0.08); }
.vp-play-btn svg { width: 26px; height: 26px; fill: #000; margin-left: 4px; }
.vp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 5; display: none; background: #000; }
.vp-bottom { position: absolute; bottom: 16px; left: 14px; right: 14px; z-index: 4; }
.vp-title-sm { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.vp-sub-sm { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 3px; }
.vp-controls { display: flex; align-items: center; gap: 14px; }
.vp-ctrl-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s; }
.vp-ctrl-btn:hover { background: var(--surface3); border-color: rgba(255,255,255,0.2); }
.vp-ctrl-btn svg { width: 15px; height: 15px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-ctrl-label { font-size: 13px; color: var(--muted); font-weight: 500; min-width: 48px; text-align: center; }

/* RIGHT — scrollable info */
.dp-info { flex: 1; overflow-y: auto; padding: 24px 4% 40px; scrollbar-width: thin; scrollbar-color: var(--orange) var(--surface); }
.dpi-status-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.dpi-badge { padding: 3px 11px; border-radius: 20px; background: rgba(253,200,48,0.12); border: 1px solid rgba(253,200,48,0.3); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.dpi-meta-sm { font-size: 12px; color: var(--muted); }
.dpi-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 4vw, 52px); line-height: 0.9; letter-spacing: 2px; margin-bottom: 14px; }
.dpi-title span { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dpi-stats { display: flex; gap: 0; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dpi-stat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 11px 8px; gap: 3px; border-right: 1px solid var(--border); font-size: 11px; color: var(--muted); text-align: center; }
.dpi-stat:last-child { border-right: none; }
.dpi-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.5px; color: var(--text); line-height: 1; }
.dpi-genres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.dpi-genre { padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface2); font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; }
.dpi-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.dpi-divider { height: 1px; background: var(--border); margin: 24px 0; }
.dpi-sec-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.dpi-synopsis { font-size: 13px; color: rgba(240,240,240,0.62); line-height: 1.85; margin-bottom: 0; }
.rmb { color: var(--gold); font-weight: 600; cursor: pointer; font-size: 12px; margin-left: 4px; }

/* episodes */
.ep-range-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ep-range-btn { padding: 6px 14px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; font-weight: 500; color: var(--muted); cursor: pointer; transition: .2s; font-family: 'DM Sans', sans-serif; }
.ep-range-btn.active { background: var(--grad); color: #000; border-color: transparent; font-weight: 700; }
.ep-range-btn:hover:not(.active) { border-color: rgba(255,255,255,0.2); color: var(--text); }
.ep-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 20px; }
.ep-btn { aspect-ratio: 1; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; color: var(--text); cursor: pointer; position: relative; transition: .2s; font-family: 'DM Sans', sans-serif; }
.ep-btn:hover { background: var(--surface3); border-color: rgba(255,255,255,0.18); }
.ep-btn.playing { background: linear-gradient(135deg, rgba(253,200,48,0.22), rgba(243,115,53,0.22)); border-color: rgba(253,200,48,0.55); color: var(--gold); }
.ep-btn.playing::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 2px; border-radius: 2px; background: var(--grad); }
.ep-btn.locked { color: var(--muted); cursor: default; }
.ep-btn.locked:hover { background: var(--surface2); border-color: var(--border); }
.lock-icon { position: absolute; top: 3px; right: 4px; font-size: 12px; opacity: 0.45; }

/* premium card */
.prem-card { border-radius: 14px; padding: 22px; background: linear-gradient(135deg, rgba(253,200,48,0.1) 0%, rgba(243,115,53,0.12) 100%); border: 1px solid rgba(253,200,48,0.2); position: relative; overflow: hidden; }
.prem-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(253,200,48,0.22) 0%, transparent 70%); pointer-events: none; }
.prem-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.prem-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; margin-bottom: 6px; }
.prem-desc  { font-size: 12px; color: rgba(240,240,240,0.6); line-height: 1.55; margin-bottom: 14px; }
.prem-btn { display: inline-block; width: 100%; padding: 11px; border-radius: 8px; background: var(--grad); color: #0a0a0f; font-weight: 700; font-size: 13px; text-align: center; cursor: pointer; border: none; transition: opacity .2s, transform .15s; }
.prem-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* more like this */
.more-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.more-row::-webkit-scrollbar { display: none; }
.more-card { flex-shrink: 0; width: 120px; cursor: pointer; transition: transform .25s; }
.more-card:hover { transform: translateY(-5px); }
.more-card-thumb { width: 100%; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; background: var(--surface2); margin-bottom: 8px; position: relative; }
.more-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.more-card-ov { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.more-card:hover .more-card-ov { opacity: 1; }
.more-play-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.more-play-ic svg { width: 12px; height: 12px; fill: #000; margin-left: 2px; }
.more-card-title { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.more-card-genre { font-size: 10px; color: var(--muted); }


/* ════════════════════════════════════════════════════════════
   DOWNLOAD PAGE
════════════════════════════════════════════════════════════ */
.mosaic-bg { position: fixed; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); gap: 4px; overflow: hidden; filter: blur(3px) brightness(0.38) saturate(1.2); transform: scale(1.05); }
.mosaic-cell { border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: clamp(28px, 3.5vw, 48px); }
.mosaic-overlay { position: fixed; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.4) 50%, rgba(10,10,15,0.65) 100%); }
.dl-page { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; }
.dl-hero { flex: 1; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 5% 64px; gap: 60px; }
.dl-hero-left  { flex: 1; max-width: 500px; }
.dl-hero-right { flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(253,200,48,0.12); border: 1px solid rgba(253,200,48,0.3); border-radius: 20px; padding: 5px 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.hero-eyebrow .blink-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.5s ease-in-out infinite; }
.dl-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 6vw, 78px); line-height: 0.95; letter-spacing: 2px; margin-bottom: 20px; }
.dl-sub { font-size: 16px; font-weight: 300; color: rgba(240,240,240,0.65); line-height: 1.7; margin-bottom: 36px; max-width: 400px; }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.store-btn { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); color: var(--text); transition: background .2s, border-color .2s, transform .15s; cursor: pointer; }
.store-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.store-btn-icon  { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn-text  { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn-label { font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; }
.store-btn-name  { font-size: 16px; font-weight: 700; }
.stats-row  { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item  { display: flex; flex-direction: column; gap: 2px; }
.stat-num   { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }
.phone-wrap { position: relative; width: 260px; animation: phoneFloat 5s ease-in-out infinite; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 60px rgba(253,200,48,0.08)); }
.phone-shell { width: 100%; aspect-ratio: 390/844; border-radius: 40px; background: #111118; border: 2px solid rgba(255,255,255,0.15); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 2px 0 2px rgba(255,255,255,0.04); }
.dynamic-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: #000; border-radius: 20px; z-index: 10; }
.status-bar { position: absolute; top: 0; left: 0; right: 0; height: 48px; padding: 8px 20px 0; display: flex; align-items: flex-start; justify-content: space-between; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); z-index: 9; }
.status-time { padding-top: 2px; }
.status-icons { display: flex; gap: 4px; align-items: center; padding-top: 2px; }
.status-icons svg { width: 12px; height: 12px; fill: rgba(255,255,255,0.8); }
.phone-content { position: absolute; inset: 0; padding-top: 48px; overflow: hidden; background: #0a0a0f; display: flex; flex-direction: column; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 10px; }
.ph-logo { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1.5px; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ph-search-icon { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.ph-search-icon svg { width: 11px; height: 11px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-hero-card { margin: 0 10px 10px; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; flex-shrink: 0; }
.ph-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%); }
.ph-hero-bottom  { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 10px; }
.ph-hero-title   { font-size: 10px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ph-hero-dots    { display: flex; gap: 3px; }
.ph-dot          { width: 14px; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.3); }
.ph-dot.active   { background: var(--grad); width: 20px; }
.ph-section-label { padding: 4px 14px 6px; font-size: 10px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ph-drama-row  { display: flex; gap: 7px; padding: 0 10px 6px; overflow-x: hidden; flex-shrink: 0; }
.ph-drama-card { flex-shrink: 0; width: 68px; border-radius: 8px; overflow: hidden; position: relative; }
.ph-drama-thumb { width: 100%; aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 8px; }
.ph-drama-num  { position: absolute; bottom: 2px; left: 2px; font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: rgba(255,255,255,0.12); line-height: 1; }
.ph-ep-badge   { position: absolute; bottom: 4px; right: 4px; background: rgba(0,0,0,0.7); border-radius: 3px; padding: 1px 5px; font-size: 7px; font-weight: 700; color: rgba(255,255,255,0.7); }
.ph-bottom-nav { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 8px 0 12px; background: rgba(20,20,30,0.95); border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.ph-nav-item   { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0.4; }
.ph-nav-item.active { opacity: 1; }
.ph-nav-item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-nav-item.active svg { stroke: var(--gold); }
.ph-nav-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.phone-glow   { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(253,200,48,0.14) 0%, rgba(243,115,53,0.08) 50%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; }
.phone-glow-l { position: absolute; left: -80px; top: 30%; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(253,200,48,0.1) 0%, transparent 70%); pointer-events: none; }
.phone-glow-r { position: absolute; right: -80px; bottom: 30%; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(243,115,53,0.1) 0%, transparent 70%); pointer-events: none; }
.footer-bar { position: relative; z-index: 2; padding: 20px 5%; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: rgba(10,10,15,0.5); backdrop-filter: blur(10px); }
.f-logo  { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.f-copy  { font-size: 12px; color: var(--muted); }
.f-links { display: flex; gap: 20px; }
.f-links a { font-size: 12px; color: var(--muted); transition: color .2s; }
.f-links a:hover { color: var(--gold); }


/* ════════════════════════════════════════════════════════════
   SIMPLE FOOTER
════════════════════════════════════════════════════════════ */
.simple-footer {
  border-top: 1px solid var(--border);
  padding: 24px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-top: auto;
}
.simple-footer-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 2px;
  background: var(--grad-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.simple-footer-copy { font-size: 12px; color: var(--muted); }
.simple-footer-links { display: flex; gap: 20px; }
.simple-footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.simple-footer-links a:hover { color: var(--gold); }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* home slider */
  .slide { flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 24px) 5% 100px; gap: 32px; }
  .slide-cards { align-self: center; }
  .hero-card-main { width: 200px; height: 300px; }
  .slide-content { max-width: 100%; }
  .hero-slider { min-height: 85vh; }
  .hero-title { font-size: clamp(42px, 8vw, 60px); }
  .promo-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .promo-desc { max-width: 100%; }
  /* detail */
  .dp-wrap { flex-direction: column; }
  .dp-player { position: static; width: 100%; height: auto; padding: 20px 5% 16px; border-right: none; border-bottom: 1px solid var(--border); }
  .vp-shell { max-width: 280px; }
  .dp-info { padding: 24px 5% 48px; }
  /* download */
  .dl-hero { flex-direction: column; align-items: flex-start; gap: 48px; padding-bottom: 48px; }
  .dl-hero-left  { max-width: 100%; }
  .dl-hero-right { width: 100%; justify-content: center; }
  .phone-wrap { width: 220px; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .btn-download { display: none; }
  .hero-slider { min-height: 80vh; }
  .slide { padding: 0 4% 4.5rem; }
  .hero-title { font-size: 44px; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .drama-card { width: 136px; }
  section { padding: 48px 4%; }
  .footer-top { flex-direction: column; gap: 32px; }
  .promo-banner { margin: 0 4%; padding: 28px 20px; }
  .promo-title  { font-size: 26px; }
  .hero-controls { bottom: 20px; }
  .slide-counter { display: none; }
  .dl-title { font-size: 46px; }
  .phone-wrap { width: 190px; }
  .stats-row { gap: 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .vp-shell { max-width: 220px; }
  .ep-grid { grid-template-columns: repeat(8, 1fr); }
  .dpi-stats { flex-wrap: wrap; }
  .dpi-stat { min-width: 45%; border-bottom: 1px solid var(--border); }
}


/* ════════════════════════════════════════════════════════════
   DETAIL — LOCKED EPISODE SCREEN
════════════════════════════════════════════════════════════ */
.vp-locked {
  position: absolute; inset: 0; z-index: 6;
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
}
.vp-locked-bg {
  position: absolute; inset: -10px;
  background-size: cover; background-position: center;
  filter: blur(22px) brightness(0.22) saturate(1.3);
}
.vp-locked-dim { position: absolute; inset: 0; background: rgba(10,10,15,0.5); }
.vp-locked-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 18px; gap: 10px; text-align: center; width: 100%;
}
.vp-locked-icon { font-size: 30px; }
.vp-locked-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 1.5px; color: #fff; line-height: 1;
}
.vp-locked-sub {
  font-size: 11px; color: rgba(255,255,255,0.55);
  line-height: 1.6; max-width: 210px;
}
.vp-locked-poster {
  width: 72px; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.vp-locked-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.vp-store-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 9px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
  transition: opacity .2s, transform .15s;
}
.vp-store-btn:first-child { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.vp-store-btn:last-child  { background: var(--grad); color: #000; }
.vp-store-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.vp-store-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
