/* Woop.id Digital Lifestyle & Social Tech Portal Styles */
:root {
  --bg: #fffdfd;
  --surface: #ffffff;
  --surface-alt: #fdf6f8;
  --text: #1c1b22;
  --muted: #5f5b6b;
  --primary: #d81b60;
  --primary-dark: #ad1457;
  --accent: #6a1b9a;
  --border: #ece6ec;
  --max-w: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand-logo {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none !important;
}
.brand-logo span { color: var(--primary); }
.brand-tag { font-size: 0.78rem; color: var(--muted); display: block; font-weight: 500; }
.main-nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; font-size: 0.94rem; }
.main-nav a { color: var(--text); padding: 4px 2px; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); border-bottom: 2px solid var(--primary); text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 28px 20px 56px; }
.hero {
  background: linear-gradient(135deg, #fff3f7 0%, #f6f0fc 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 32px;
}
.hero .badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 { font-size: 2rem; line-height: 1.28; margin-bottom: 12px; color: #16141c; }
.hero p { color: var(--muted); max-width: 760px; font-size: 1.04rem; }
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(24,16,32,0.03);
}
.card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 10px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.card-meta { font-size: 0.8rem; color: #878296; border-top: 1px solid var(--border); padding-top: 10px; }
.layout-article {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 32px;
}
@media (max-width: 860px) {
  .layout-article { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.55rem; }
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.article-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.article-box h1 { font-size: 1.85rem; line-height: 1.3; margin-bottom: 14px; }
.article-meta {
  font-size: 0.86rem;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.article-content h2 { font-size: 1.34rem; margin: 26px 0 12px; color: #191722; }
.article-content h3 { font-size: 1.12rem; margin: 20px 0 8px; color: #262333; }
.article-content p { margin-bottom: 16px; color: #2b2936; }
.article-content ul, .article-content ol { margin: 0 0 18px 22px; }
.article-content li { margin-bottom: 8px; }
.callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  border-radius: 8px;
  margin: 22px 0;
  font-size: 0.95rem;
}
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 12px; font-size: 0.92rem; line-height: 1.42; }
.site-footer {
  background: #181622;
  color: #d7d3e2;
  padding: 44px 20px 32px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer p, .site-footer li { font-size: 0.88rem; color: #b5b0c4; list-style: none; margin-bottom: 8px; }
.site-footer a { color: #f3d1df; }
.footer-copy {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: #8f8a9e;
  text-align: center;
}
