/* 李子短剧平台 — site styles */
:root {
  --bg: #0b0b0f;
  --bg-soft: #121218;
  --card: #17171f;
  --line: #26262f;
  --text: #f4f4f6;
  --muted: #9a9aa5;
  --accent: #e5484d;
  --accent-soft: #ff6b6f;
  --gold: #f5c518;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans Thai", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8b1e22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #fff; font-weight: 900;
}
.nav { display: flex; gap: 26px; font-size: .92rem; color: var(--muted); }
.nav a { transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav .btn-cta {
  color: #fff; background: var(--accent); padding: 8px 18px; border-radius: 999px; font-weight: 700;
}
.nav .btn-cta:hover { background: var(--accent-soft); }

/* hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(600px 400px at 20% 20%, rgba(229, 72, 77, .22), transparent 60%),
              radial-gradient(500px 380px at 85% 10%, rgba(120, 60, 220, .14), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--muted); font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge b { color: var(--accent-soft); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
h1 .hl { color: var(--accent-soft); }
.hero .sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 18px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #3a3a46; }
.hero-stats { display: flex; gap: 48px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 1.6rem; font-weight: 800; }
.hero-stats div span { color: var(--muted); font-size: .88rem; }

/* sections */
section { padding: 72px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 560px; }

/* drama grid */
.drama-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.drama-card {
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); transition: transform .15s, border-color .15s;
}
.drama-card:hover { transform: translateY(-3px); border-color: #3c3c48; }
.poster {
  height: 240px; position: relative; display: flex; align-items: flex-end; padding: 16px;
}
.poster h3 { font-size: 1.05rem; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.p1 { background: linear-gradient(160deg, #3b1d3f 0%, #8e2d52 60%, #d8536b 100%); }
.p2 { background: linear-gradient(160deg, #14213d 0%, #1d3a6e 60%, #3d6fb4 100%); }
.p3 { background: linear-gradient(160deg, #1f1a2e 0%, #4b2e6e 60%, #7e5bb0 100%); }
.p4 { background: linear-gradient(160deg, #2b1a12 0%, #7a3b1d 60%, #c96a2b 100%); }
.p5 { background: linear-gradient(160deg, #10241f 0%, #1f5c4d 60%, #3d9b82 100%); }
.p6 { background: linear-gradient(160deg, #2a2113 0%, #6e5a1f 60%, #b09345 100%); }
.poster .tag-new {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
}
.poster .ep {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff; font-size: .75rem;
  padding: 3px 10px; border-radius: 999px;
}
.drama-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: .85rem; color: var(--muted); }
.drama-meta .genre { color: var(--accent-soft); font-weight: 600; }

/* genres */
.genre-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.genre-chips span {
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  padding: 10px 22px; border-radius: 999px; font-size: .95rem; font-weight: 600;
}

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.feature .ico { font-size: 1.7rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .9rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; position: relative; }
.price-card.vip { border-color: var(--accent); }
.price-card .plan { font-size: .9rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.price-card .amt { font-size: 2.2rem; font-weight: 800; margin: 10px 0 4px; }
.price-card .amt small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 20px 0 26px; color: var(--muted); font-size: .94rem; }
.price-card li { padding: 6px 0 6px 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-soft); font-weight: 800; }
.price-card .note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.ribbon {
  position: absolute; top: -12px; right: 22px; background: var(--gold); color: #201a02;
  font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}

/* faq */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: .98rem; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: .93rem; }

/* cta band */
.band { background: linear-gradient(120deg, #2a1012, #17121f); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { padding: 64px 24px; text-align: center; }
.band h2 { font-size: 1.8rem; font-weight: 800; }
.band p { color: var(--muted); margin: 12px 0 26px; }

/* legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.18rem; font-weight: 700; margin: 30px 0 10px; }
.legal p, .legal li { color: #c9c9d2; font-size: .96rem; max-width: 760px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-bottom: 6px; }
.legal .en { border-left: 3px solid var(--line); padding: 6px 0 6px 18px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px; max-width: 640px;
}
.contact-card .ico { font-size: 1.5rem; }
.contact-card b { display: block; margin-bottom: 4px; }
.contact-card a { color: var(--accent-soft); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .f-brand { font-weight: 800; color: var(--text); margin-bottom: 8px; font-size: 1rem; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .links a:hover { color: var(--text); }
.site-footer .copy { width: 100%; color: #5c5c66; font-size: .82rem; margin-top: 18px; }

@media (max-width: 860px) {
  .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
}
@media (max-width: 540px) {
  .drama-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
