
:root {
  --bg: #0d0d1a;
  --surface: #16162a;
  --surface2: #1e1e36;
  --border: #2a2a4a;
  --text: #e0dff0;
  --text-dim: #9090b0;
  --accent: #a855f7;
  --accent2: #7c3aed;
  --radius: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #c084fc; text-decoration: underline; }

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
header .logo { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
header .logo:hover { text-decoration: none; opacity: 0.85; }
nav { display: flex; gap: 22px; }
nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--accent); text-decoration: none; }

/* ---- Main content ---- */
main { padding: 40px 0; min-height: 60vh; }

h1 { font-size: 2.1rem; margin-bottom: 20px; color: var(--accent); line-height: 1.3; }
h2 { font-size: 1.4rem; margin: 32px 0 16px; color: var(--accent2); }
h3 { font-size: 1.15rem; margin: 22px 0 10px; color: var(--text); }

p { margin-bottom: 12px; }
ul, ol { margin-bottom: 16px; padding-left: 20px; }
li { margin-bottom: 6px; }
strong { color: #fff; }

/* ---- Homepage Hero ---- */
.hero { text-align: center; padding: 30px 0 10px; }
.hero h1 { font-size: 2.4rem; margin-bottom: 8px; }
.tagline { color: var(--text-dim); font-size: 1.05rem; }

/* ---- Streamer directory on homepage ---- */
.streamer-directory {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.streamer-directory h2 { margin-top: 0; }

.streamer-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.streamer-list li {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  transition: border-color 0.15s;
}
.streamer-list li:hover { border-color: var(--accent); }
.streamer-list a { font-weight: 600; font-size: 1.05rem; }
.streamer-list .count { color: var(--text-dim); font-size: 0.85rem; margin-left: 4px; }

.streamer-list.large { flex-direction: column; gap: 8px; }
.streamer-list.large li {
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.streamer-directory .view-all { margin-top: 16px; margin-bottom: 0; }
.view-all a { font-weight: 600; }

/* ---- Latest drama section ---- */
.latest-drama h2 { margin-top: 8px; }

.drama-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.drama-summary p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.updated-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ---- Streamer pages ---- */
.timeline {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--border);
  margin-left: 8px;
}
.timeline-item {
  position: relative;
  padding: 8px 0 8px 20px;
  margin-bottom: 2px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent2);
  border-radius: 50%;
}
.timeline-item strong { color: var(--text); }
.text-dim { color: var(--text-dim); }

/* ---- General page ---- */
.general-summary, .general-highlights, .general-relationships {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.general-summary .summary-text {
  font-size: 1.05rem;
  line-height: 1.7;
}
.highlights-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.highlight-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.highlight-item:last-child { border-bottom: none; }
.relationships-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 60px;
}
.disclaimer {
  color: var(--text-dim); font-size: 0.85rem; line-height: 1.4;
}
.disclaimer a { color: var(--text-dim); text-decoration: underline; }
.updated { color: var(--text-dim); font-size: 0.8rem; margin-top: 12px; }
