/* POPOFLIX MEDIA CORP — dark cinematic short-drama studio site */

:root {
  --bg: #050505;
  --surface: #121214;
  --surface-2: #1a1a1d;
  --hair: #2a2a2e;
  --ink: #ffffff;
  --body: #b6b6bb;
  --muted: #7a7a82;
  --accent: #ff2d55;       /* warm drama red */
  --accent-2: #ff8a3d;     /* spotlight amber */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0; }

.section-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.section-lead  { color: var(--body); max-width: 640px; margin: 14px 0 0; }

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn-solid {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-solid:hover { background: #fff; color: #000; border-color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #3a3a3e;
}
.btn-outline:hover { border-color: #fff; transform: translateY(-1px); }

/* ---------- top nav ---------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 36px; height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--hair);
}
.brand-name { font-weight: 700; letter-spacing: .6px; font-size: 16px; }
.brand-sub { color: var(--muted); font-weight: 400; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 140px 24px 120px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,45,85,.18), transparent 55%),
    radial-gradient(80% 60% at 10% 100%, rgba(255,138,61,.10), transparent 60%),
    var(--bg);
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.hero-sub { color: var(--body); font-size: clamp(16px, 1.8vw, 19px); max-width: 620px; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-stripe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, #ffd166 100%);
  opacity: .6;
}

/* ---------- section frame ---------- */
.picks, .about { padding: 96px 24px; }
.section-head { max-width: 1240px; margin: 0 auto 48px; }
.section-head .section-lead { margin-top: 12px; }

/* ---------- drama grid ---------- */
.drama-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.drama-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.drama-card:hover {
  transform: translateY(-4px);
  border-color: #44444b;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
}
.poster { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.drama-card:hover .poster img { transform: scale(1.05); }
.rank {
  position: absolute; top: 10px; left: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  padding: 4px 9px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 17px; line-height: 1.25; }
.card-desc { color: var(--body); font-size: 14px; margin: 0; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--hair); background: linear-gradient(180deg, #070707, var(--bg)); }
.about-inner { max-width: 880px; margin: 0 auto; }
.about-body { color: var(--body); font-size: 17px; margin: 16px 0 36px; }
.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.meta-cell {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.meta-label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.meta-value { font-size: 16px; font-weight: 600; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hair); padding: 72px 24px 32px; background: #050505; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-mark { width: 48px; height: 48px; border-radius: 50%; }
.footer-name { font-weight: 700; font-size: 18px; letter-spacing: .4px; }
.footer-tag { color: var(--muted); font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-head { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--body); font-size: 14px; }
.footer-list a { color: var(--body); text-decoration: none; transition: color .15s ease; }
.footer-list a:hover { color: #fff; }
.footer-base {
  max-width: 1240px; margin: 56px auto 0; padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .picks, .about { padding: 64px 20px; }
  .drama-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-meta { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding: 100px 20px 92px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .footer-base { justify-content: flex-start; }
}