/* ===== Bahas Olimpiade — Stylesheet ===== */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --success: #22c55e;

  --bg: #fafbff;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.10);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
}
.logo-icon { font-size: 1.4rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a, .nav-links button {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links button:hover { color: var(--text); }
.btn-nav {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

@media (max-width: 720px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-item { display: none; }
}

/* ===== Dropdown ===== */
.nav-item { position: relative; }
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.chevron {
  font-size: 0.68rem;
  opacity: 0.5;
  line-height: 1;
  transition: transform 0.2s ease;
}
.nav-item:hover .chevron { transform: rotate(180deg); }
.dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  min-width: 150px;
  z-index: 200;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: 0;
  right: 0;
  height: 0.7rem;
}
.nav-item:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 0.46rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-muted) !important;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--text) !important;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 220px;
  gap: 0.05rem;
}

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(800px 400px at 90% 30%, rgba(14, 165, 233, 0.12), transparent 60%),
    var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }

/* Floating books */
.hero-books {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hbook {
  position: absolute;
  line-height: 1;
  user-select: none;
  will-change: transform;
}
.hbook-1 { top: 10%; left: 4%;   font-size: 2.2rem; opacity: 0.18; animation: hbookA 9s  ease-in-out infinite; animation-delay: 0s;   }
.hbook-2 { top: 12%; right: 5%;  font-size: 1.7rem; opacity: 0.14; animation: hbookB 12s ease-in-out infinite; animation-delay: -4s;  }
.hbook-3 { top: 42%; left: 2%;   font-size: 2rem;   opacity: 0.12; animation: hbookC 10s ease-in-out infinite; animation-delay: -7s;  }
.hbook-4 { top: 48%; right: 3%;  font-size: 2.4rem; opacity: 0.16; animation: hbookA 11s ease-in-out infinite; animation-delay: -2s;  }
.hbook-5 { top: 75%; left: 7%;   font-size: 1.8rem; opacity: 0.13; animation: hbookB 8s  ease-in-out infinite; animation-delay: -5s;  }
.hbook-6 { top: 78%; right: 6%;  font-size: 2rem;   opacity: 0.15; animation: hbookC 13s ease-in-out infinite; animation-delay: -1s;  }
.hbook-7 { top: 28%; left: 9%;   font-size: 1.5rem; opacity: 0.10; animation: hbookA 14s ease-in-out infinite; animation-delay: -9s;  }
.hbook-8 { top: 32%; right: 9%;  font-size: 1.6rem; opacity: 0.11; animation: hbookC 10s ease-in-out infinite; animation-delay: -6s;  }

@keyframes hbookA {
  0%, 100% { transform: translateY(0px)   rotate(-6deg); }
  50%       { transform: translateY(-22px) rotate(5deg);  }
}
@keyframes hbookB {
  0%, 100% { transform: translateY(-8px)  translateX(0px)   rotate(8deg);  }
  35%      { transform: translateY(6px)   translateX(-12px) rotate(-5deg); }
  70%      { transform: translateY(-18px) translateX(7px)   rotate(3deg);  }
}
@keyframes hbookC {
  0%, 100% { transform: translateY(0px)   rotate(10deg);  }
  40%      { transform: translateY(-26px) rotate(-6deg);  }
  75%      { transform: translateY(-10px) rotate(7deg);   }
}

@media (max-width: 720px) {
  .hbook { display: none; }
}
.hero-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.2rem;
}
.hero-cta {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.18s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.42);
}
.btn-secondary {
  background: var(--text);
  color: white;
}
.btn-secondary:hover { background: #1e293b; transform: translateY(-1px); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Olympiad Cards ===== */
.olympiad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.8rem;
  max-width: 920px;
  margin: 0 auto;
}
.olympiad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.olympiad-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.25s;
}
.olympiad-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.olympiad-card:hover::before { opacity: 1; }
.onmipa-card::before {
  background: linear-gradient(90deg, var(--accent), #f97316);
}
.card-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.onmipa-card .card-tag {
  color: var(--accent);
  background: rgba(245, 158, 11, 0.12);
}
.card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.7rem 0 0.3rem;
}
.card-desc {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.card-info {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  transition: gap 0.2s;
}
.olympiad-card:hover .card-action { gap: 0.7rem; }
.onmipa-card .card-action { color: var(--accent); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  padding: 2.4rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pricing-tag {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
}
.pricing-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.3rem;
}
.pricing-list {
  list-style: none;
  margin-bottom: 1.8rem;
  flex: 1;
}
.pricing-list li {
  padding: 0.55rem 0;
  color: var(--text);
  font-size: 0.96rem;
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}
.footer .logo { color: white; margin-bottom: 0.8rem; }
.footer h4 {
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.footer a {
  display: block;
  color: #94a3b8;
  font-size: 0.93rem;
  padding: 0.25rem 0;
  transition: color 0.15s;
}
.footer a:hover { color: white; }
.footer-desc { font-size: 0.93rem; color: #94a3b8; max-width: 280px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(99, 102, 241, 0.13), transparent 60%),
    var(--bg);
}
.breadcrumb {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
}

/* ===== Bidang Grid ===== */
.bidang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.bidang-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.bidang-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}
.bidang-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.bidang-card:hover::before { opacity: 1; }
.bidang-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.bidang-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.bidang-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== Tahun Grid ===== */
.tahun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
.tahun-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.2s;
  position: relative;
  font-family: var(--font-display);
}
.tahun-card:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}
.tahun-year {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tahun-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 500;
}
.tahun-card:hover .tahun-label { color: rgba(255,255,255,0.9); }
.tahun-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem;
  background: var(--success);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tahun-card:has(.tahun-badge) {
  padding-bottom: 2.2rem;
}

/* ===== Material Page ===== */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.material-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
}
.material-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.material-badge-free {
  background: var(--success);
}
.material-icon { font-size: 2.6rem; margin-bottom: 1rem; }
.material-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.material-card p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.material-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.material-actions .btn { flex: 1; }
.locked-info {
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: 10px;
  text-align: center;
}
.locked-info p {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  color: var(--text);
}

/* ===== Auth ===== */
.auth-section {
  padding: 3.5rem 0;
  min-height: calc(100vh - 200px);
}
.auth-section .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.8rem;
  max-width: 920px;
}
@media (max-width: 720px) {
  .auth-section .container { grid-template-columns: 1fr; }
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.auth-card-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
}
.auth-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.auth-card-info p {
  opacity: 0.9;
  margin-bottom: 1.4rem;
}
.auth-card-info .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.auth-card-info .btn-outline:hover {
  background: white;
  color: var(--primary);
}
.auth-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
  background: var(--bg-alt);
  padding: 0.3rem;
  border-radius: 10px;
}
.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s;
}
.auth-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.auth-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.auth-desc {
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: inherit;
  background: var(--surface);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.auth-msg {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.92rem;
  min-height: 1.4em;
}
.auth-msg.success { color: var(--success); }
.auth-msg.error { color: #ef4444; }
.info-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* ===== Dashboard ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
@media (max-width: 820px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.dashboard-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.dashboard-desc {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.sub-list {
  list-style: none;
}
.sub-list li {
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.96rem;
}
.sub-list li.sub-empty {
  background: transparent;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  padding: 0.85rem 0;
}
.sub-active-tag {
  background: var(--success);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
