:root {
  /* ===== NEUBRUTALISM LIGHT ===== */
  --bg-main: #fef3c7;
  --card-bg: #ffffff;
  --box-bg: #fef9e7;

  --border-color: #000000;
  --border-width: 3px;

  --shadow-solid: 6px 6px 0 #000000;
  --shadow-solid-sm: 4px 4px 0 #000000;
  --shadow-solid-lg: 8px 8px 0 #000000;

  --text-dark: #000000;
  --text-muted: #4a4a4a;

  --primary-blue: #3b82f6;
  --primary-blue-hover: #2563eb;

  --accent-yellow: #fde047;
  --accent-green: #86efac;
  --accent-pink: #f9a8d4;
  --accent-purple: #c4b5fd;
  --accent-orange: #fdba74;

  --badge-blue-bg: #93c5fd;
  --badge-blue-text: #000000;
  --badge-green-bg: #86efac;
  --badge-green-text: #000000;
  --badge-purple-bg: #c4b5fd;
  --badge-purple-text: #000000;

  --btn-social-bg: #ffffff;
}

body.dark-mode {
  /* ===== NEUBRUTALISM DARK ===== */
  --bg-main: #1a1a1a;
  --card-bg: #2a2a2a;
  --box-bg: #222222;

  --border-color: #ffffff;
  --shadow-solid: 6px 6px 0 #ffffff;
  --shadow-solid-sm: 4px 4px 0 #ffffff;
  --shadow-solid-lg: 8px 8px 0 #ffffff;

  --text-dark: #ffffff;
  --text-muted: #b0b0b0;

  --primary-blue: #60a5fa;
  --primary-blue-hover: #93c5fd;

  --accent-yellow: #fde047;
  --accent-green: #4ade80;
  --accent-pink: #f472b6;
  --accent-purple: #a78bfa;
  --accent-orange: #fb923c;

  --badge-blue-bg: #3b82f6;
  --badge-blue-text: #ffffff;
  --badge-green-bg: #22c55e;
  --badge-green-text: #ffffff;
  --badge-purple-bg: #8b5cf6;
  --badge-purple-text: #ffffff;

  --btn-social-bg: #2a2a2a;
}

/* ====== GLOBAL RESET ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.15s, transform 0.15s;

  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

a, button, .btn-social, .btn-action,
.stat-card, .brand-avatar, .theme-btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

a:focus, button:focus,
a:active, button:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible {
  outline: 3px dashed var(--primary-blue);
  outline-offset: 3px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  display: flex;
  justify-content: center;
  padding: 16px;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

.wrapper {
  width: 100%;
  max-width: 800px;
}

/* ====== NAVBAR ====== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 14px 20px;
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  box-shadow: var(--shadow-solid);
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: var(--border-width) solid var(--border-color);
  cursor: pointer;
  background: var(--card-bg);
  transition: transform 0.15s;
}

.brand-avatar:hover {
  transform: translate(-2px, -2px);
}

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--primary-blue);
}

.theme-btn {
  background: var(--accent-yellow);
  border: var(--border-width) solid var(--border-color);
  color: #000000;
  width: 42px;
  height: 42px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-solid-sm);
  transition: transform 0.1s, box-shadow 0.1s;
}

body.dark-mode .theme-btn {
  background: var(--accent-yellow);
  color: #000000;
}

.theme-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--border-color);
}

/* ====== HERO BANNER ====== */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 150px;
  max-height: 190px;
  background-image: url('../images/p_39202hqlv1.jpg');
  background-size: cover;
  background-position: center;
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  box-shadow: var(--shadow-solid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 22px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

body.dark-mode .hero-overlay {
  background: rgba(26, 26, 26, 0.88);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
}

.hero-banner h1 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 10px 0 6px 0;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ====== BADGE ====== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 2px solid var(--border-color);
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--border-color);
}

.badge-pill.blue {
  background-color: var(--badge-blue-bg);
  color: var(--badge-blue-text);
}

.badge-pill.green {
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
}

/* ====== STATS ROW (FIXED — SAMA TINGGI) ====== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  /* 🔥 Paksa semua kartu sama tinggi */
  align-items: stretch;
}

.stat-card {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-solid-sm);

  /* 🔥 Kunci tinggi & layout flex kolom biar konsisten */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 92px;
  overflow: hidden;
}

.stat-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 4px 8px;
  border: 2px solid var(--border-color);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-badge.blue {
  background: var(--badge-blue-bg);
  color: var(--badge-blue-text);
}

.stat-badge.green {
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
}

.stat-badge.purple {
  background: var(--badge-purple-bg);
  color: var(--badge-purple-text);
}

.stat-value {
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  /* 🔥 Biar kalau kepanjangan tetap 1 baris dan mengecil otomatis */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ====== CONTENT CARD ====== */
.content-card {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-solid);
}

.card-title {
  text-align: center;
  margin-bottom: 22px;
}

.card-title h2 {
  font-size: 1.35rem;
  margin-top: 12px;
  color: var(--text-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.card-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ====== QRIS ====== */
.qris-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qris-frame {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border-color);
  padding: 14px;
  border-radius: 0;
  margin-bottom: 18px;
  box-shadow: var(--shadow-solid-sm);
}

.qris-frame img {
  width: 100%;
  max-width: 280px;
  border-radius: 0;
  display: block;
}

.btn-action {
  width: 100%;
  max-width: 320px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  border: var(--border-width) solid var(--border-color);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-solid-sm);
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}

.btn-action.primary {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-action.primary:hover {
  background-color: var(--primary-blue-hover);
}

.btn-action.primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--border-color);
}

/* ====== INSTRUCTIONS ====== */
.instructions-box {
  background: var(--accent-yellow);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow-solid-sm);
  color: #000000;
}

body.dark-mode .instructions-box {
  background: var(--accent-yellow);
  color: #000000;
}

.instructions-box h3 {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.instructions-box ol {
  padding-left: 22px;
  font-size: 0.85rem;
  color: #000000;
  line-height: 1.7;
  font-weight: 500;
}

.instructions-box strong {
  color: #000000;
  font-weight: 800;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: 0;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-solid);
}

.footer-divider {
  border: none;
  border-top: var(--border-width) solid var(--border-color);
  margin: 18px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-social {
  background: var(--btn-social-bg);
  color: var(--text-dark);
  border: var(--border-width) solid var(--border-color);
  text-decoration: none;
  width: 46px;
  height: 46px;
  border-radius: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-solid-sm);
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}

.btn-social:hover {
  background: var(--accent-green);
  color: #000000;
}

.btn-social:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--border-color);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ====== STAGGER ANIMATION ====== */
.stagger-item {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  will-change: opacity, transform;
}

.stagger-item.animate-in {
  animation: staggerSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes staggerSlideUp {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.theme-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  will-change: clip-path, opacity;
}

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
  body {
    padding: 30px 16px;
  }

  .stat-value {
    font-size: 0.92rem;
  }

  .stat-card {
    min-height: 100px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-banner h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 0.88rem;
  }
}

/* ====== MOBILE KECIL ====== */
@media (max-width: 380px) {
  .stat-value {
    font-size: 0.72rem;
  }

  .stat-badge {
    font-size: 0.52rem;
    padding: 3px 6px;
  }

  .stat-card {
    padding: 10px 4px;
    min-height: 86px;
  }
}