/* Nada Nusantara — Blog Musik & Industri Kreatif */
/* Color: #4a0080 primary, #e040fb accent, #1a0030 bg */

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

:root {
  --primary: #4a0080;
  --primary-light: #6a00b8;
  --accent: #e040fb;
  --accent-dim: #b820d0;
  --bg: #1a0030;
  --bg2: #220040;
  --bg3: #2d0055;
  --text: #f0e6ff;
  --text-muted: #b89ec8;
  --border: #4a0080;
  --card-bg: #200038;
  --glow: 0 0 20px rgba(224,64,251,0.3);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* DEMO BAR */
.demo-bar {
  background: var(--accent);
  color: #1a0030;
  text-align: center;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.demo-bar a {
  color: #1a0030;
  text-decoration: underline;
  font-weight: 700;
}
.demo-bar a:hover { opacity: 0.75; }

/* TYPOGRAPHY */
h1,h2,h3,h4 { line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
p { margin-bottom: 1rem; }
img { max-width: 100%; display: block; }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

/* NAV */
.site-header {
  background: linear-gradient(180deg, #0d001f 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 33px;
  z-index: 900;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow);
}
.logo-text { font-size: 1.2rem; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }

/* CHECKBOX MOBILE NAV */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: rgba(224,64,251,0.1);
}

@media (max-width: 680px) {
  .nav-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 97px;
    left: 0; right: 0;
    background: #0d001f;
    flex-direction: column;
    border-bottom: 2px solid var(--accent);
    padding: 8px 0;
  }
  .nav-links a { padding: 12px 24px; border-radius: 0; font-size: 1rem; }
  #nav-toggle:checked ~ .nav-label span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  #nav-toggle:checked ~ .nav-label span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-label span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
  #nav-toggle:checked ~ .nav-links { display: flex; }
}

/* HERO */
.hero {
  position: relative;
  padding: 5rem 1rem 4rem;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #0d001f 0%, var(--bg) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(224,64,251,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(74,0,128,0.4) 0%, transparent 60%);
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(224,64,251,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
}
.hero h1 {
  position: relative;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.hero p {
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: #1a0030;
  box-shadow: 0 4px 20px rgba(224,64,251,0.4);
}
.btn-primary:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: var(--accent); color: #1a0030; }

/* SECTION */
.section { padding: 4rem 0; }
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.section-title h2 { color: var(--text); }
.section-title .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* FEATURED POST (hero card) */
.featured-post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 3rem;
  box-shadow: var(--glow);
}
.featured-thumb {
  min-height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.featured-thumb svg { opacity: 0.9; }
.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body .cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(224,64,251,0.2);
  color: var(--accent);
  border: 1px solid rgba(224,64,251,0.4);
  margin-bottom: 1rem;
}
.featured-body h2 { color: var(--text); margin-bottom: 0.8rem; }
.featured-body p { color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; }
.post-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.post-meta span { margin-right: 1rem; }

@media (max-width: 720px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 180px; }
}

/* POST GRID */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(224,64,251,0.2);
  border-color: var(--accent);
}
.post-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-body { padding: 1.25rem; }
.post-body h3 { color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.4; }
.post-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.8rem; }
.read-more { color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.read-more:hover { color: #fff; }

.cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.cat-review { background: rgba(224,64,251,0.15); color: var(--accent); border: 1px solid rgba(224,64,251,0.3); }
.cat-profil { background: rgba(74,0,128,0.3); color: #c080ff; border: 1px solid rgba(160,80,255,0.3); }
.cat-tips { background: rgba(0,180,120,0.15); color: #40e0b0; border: 1px solid rgba(0,180,120,0.3); }
.cat-berita { background: rgba(255,160,0,0.12); color: #ffb020; border: 1px solid rgba(255,160,0,0.3); }

/* THUMB COLORS */
.thumb-1 { background: linear-gradient(135deg, #4a0080 0%, #e040fb 100%); }
.thumb-2 { background: linear-gradient(135deg, #1a0040 0%, #6a0090 100%); }
.thumb-3 { background: linear-gradient(135deg, #2d0050 0%, #c000e0 100%); }
.thumb-4 { background: linear-gradient(135deg, #0d0030 0%, #7000b0 100%); }
.thumb-5 { background: linear-gradient(135deg, #3a0070 0%, #ff40c0 100%); }
.thumb-6 { background: linear-gradient(135deg, #1a0060 0%, #9000d0 100%); }
.thumb-7 { background: linear-gradient(135deg, #220050 0%, #e060ff 100%); }
.thumb-8 { background: linear-gradient(135deg, #2a0055 0%, #b800e0 100%); }

/* CTA SUBSCRIBE */
.subscribe-section {
  background: linear-gradient(135deg, var(--bg3) 0%, #1a0040 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(224,64,251,0.1) 0%, transparent 60%);
}
.subscribe-section h2 { color: var(--text); margin-bottom: 0.5rem; position: relative; }
.subscribe-section p { color: var(--text-muted); margin-bottom: 1.5rem; position: relative; }
.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.subscribe-form input[type="email"]:focus { border-color: var(--accent); }
.subscribe-form button {
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  background: #0d001f;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.8rem; }
.footer-col h4 { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ARTICLE LIST PAGE */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(224,64,251,0.1);
}

.articles-list {
  display: grid;
  gap: 1.25rem;
}
.article-row {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.article-row:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(224,64,251,0.15); }
.article-thumb-sm {
  height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-info { padding: 1.25rem; }
.article-info h3 { color: var(--text); font-size: 1rem; margin-bottom: 0.4rem; }
.article-info p { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 0.6rem; }
.article-meta { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 500px) {
  .article-row { grid-template-columns: 80px 1fr; }
  .article-thumb-sm { min-height: 80px; }
}

/* DETAIL PAGE */
.article-hero {
  height: clamp(200px, 35vw, 360px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.article-header { padding: 2rem 0 1rem; }
.article-header h1 { color: var(--text); margin-bottom: 1rem; }
.article-header .post-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 12px; }
.article-content { line-height: 1.85; color: var(--text); }
.article-content p { margin-bottom: 1.4rem; color: #d8c8f0; }
.article-content h2 { color: var(--accent); margin: 2rem 0 0.8rem; font-size: 1.3rem; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(224,64,251,0.07);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-style: italic;
}
.article-divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

/* ABOUT PAGE */
.about-hero { padding: 4rem 0; text-align: center; }
.avatar-wrap {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(224,64,251,0.4);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.team-card h4 { color: var(--text); margin-bottom: 0.3rem; }
.team-card p { color: var(--text-muted); font-size: 0.84rem; margin: 0; }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info h3 { color: var(--accent); margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); font-size: 0.92rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.info-icon {
  width: 36px; height: 36px;
  background: rgba(224,64,251,0.15);
  border: 1px solid rgba(224,64,251,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.info-text strong { color: var(--text); display: block; font-size: 0.9rem; }
.info-text span { color: var(--text-muted); font-size: 0.85rem; }
.social-links { display: flex; gap: 10px; margin-top: 1.5rem; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(74,0,128,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(224,64,251,0.1); }
.collab-box {
  background: linear-gradient(135deg, var(--bg3), #1a0040);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.collab-box h4 { color: var(--accent); margin-bottom: 0.8rem; }
.collab-box ul { list-style: none; }
.collab-box ul li { color: var(--text-muted); font-size: 0.88rem; padding: 4px 0; padding-left: 1.2rem; position: relative; }
.collab-box ul li::before { content: '♪'; position: absolute; left: 0; color: var(--accent); }

/* PAGE HEADER */
.page-header {
  background: linear-gradient(180deg, #0d001f 0%, var(--bg) 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 { color: var(--text); margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); font-size: 1rem; }

/* UTIL */
.tag { display: inline-block; padding: 2px 10px; background: rgba(224,64,251,0.15); color: var(--accent); border-radius: 100px; font-size: 0.78rem; font-weight: 600; margin-right: 6px; margin-bottom: 4px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(224,64,251,0.1);
}

/* BREADCRUMB */
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
