:root {
  --pm6-bg: #07101f;
  --pm6-panel: #0b162a;
  --pm6-panel-2: #0e1b32;
  --pm6-line: rgba(116, 145, 201, .22);
  --pm6-line-strong: rgba(69, 138, 255, .34);
  --pm6-purple: #6d4aff;
  --pm6-blue: #1d8cff;
  --pm6-cyan: #39d4ff;
  --pm6-gold: #d5a62e;
  --pm6-text: #ffffff;
  --pm6-muted: #aebed7;
  --pm6-success: #2dd4a0;
  --pm6-shadow: 0 24px 70px rgba(0,0,0,.34);
}

.pm6-original-home-hidden { display: none !important; }

#pm-home-v6, #pm-home-v6 * { box-sizing: border-box; }

#pm-home-v6 {
  width: min(1460px, calc(100% - 28px));
  margin: 18px auto 48px;
  color: var(--pm6-text);
}

#pm-home-v6 a { text-decoration: none; }

.pm6-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .82fr);
  gap: 18px;
}

.pm6-card {
  border: 1px solid var(--pm6-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(38, 115, 255, .10), transparent 28%),
    linear-gradient(150deg, rgba(12, 27, 51, .98), rgba(7, 17, 33, .98));
  box-shadow: var(--pm6-shadow);
}

.pm6-hero {
  position: relative;
  min-height: 520px;
  padding: 34px 38px;
  overflow: hidden;
}

.pm6-hero::before,
.pm6-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pm6-hero::before {
  width: 460px;
  height: 460px;
  right: -130px;
  top: -120px;
  border: 1px solid rgba(72, 124, 255, .18);
  box-shadow:
    0 0 0 56px rgba(37, 95, 223, .035),
    0 0 0 112px rgba(109, 74, 255, .025);
}

.pm6-hero::after {
  width: 240px;
  height: 240px;
  right: 50px;
  bottom: 34px;
  background: radial-gradient(circle, rgba(52, 141, 255, .16), transparent 66%);
  filter: blur(6px);
}

.pm6-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.pm6-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 800;
  color: #dce8ff;
}

.pm6-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pm6-success);
  box-shadow: 0 0 0 5px rgba(45, 212, 160, .10);
}

.pm6-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.pm6-title {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 900;
  color: #fff;
}

.pm6-title span {
  display: block;
  background: linear-gradient(90deg, #dcecff, #7fbaff 54%, #3ad7ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pm6-copy {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--pm6-muted);
}

.pm6-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pm6-action-wrap { display: contents; }

.pm6-actions a,
.pm6-actions button,
.pm6-mini-actions a,
.pm6-mini-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0 22px !important;
  border-radius: 15px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: .18s ease !important;
}

.pm6-actions a:hover,
.pm6-actions button:hover,
.pm6-mini-actions a:hover,
.pm6-mini-actions button:hover {
  transform: translateY(-2px) !important;
}

.pm6-primary a,
.pm6-primary button {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pm6-purple), var(--pm6-cyan)) !important;
  border: 1px solid rgba(76, 174, 255, .50) !important;
  box-shadow: 0 15px 32px rgba(32, 126, 255, .22) !important;
}

.pm6-secondary a,
.pm6-secondary button {
  color: #fff !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(146, 171, 222, .24) !important;
}

.pm6-gold a,
.pm6-gold button {
  color: #fff6cb !important;
  background: rgba(213,166,46,.08) !important;
  border: 1px solid rgba(213,166,46,.32) !important;
}

.pm6-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.pm6-stage-ring,
.pm6-stage-ring::before,
.pm6-stage-ring::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.pm6-stage-ring {
  width: 290px;
  height: 90px;
  bottom: 45px;
  border: 1px solid rgba(58, 155, 255, .42);
  box-shadow:
    0 0 24px rgba(29, 140, 255, .28),
    inset 0 0 30px rgba(29, 140, 255, .18);
}

.pm6-stage-ring::before {
  inset: 12px 25px;
  border: 1px solid rgba(111, 74, 255, .40);
}

.pm6-stage-ring::after {
  inset: 24px 48px;
  background: radial-gradient(circle, rgba(29, 140, 255, .22), transparent 70%);
}

.pm6-floating-logo {
  position: relative;
  z-index: 3;
  width: 168px;
  height: 168px;
  object-fit: contain;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid rgba(98, 158, 255, .45);
  background: linear-gradient(145deg, rgba(16, 37, 74, .96), rgba(8, 18, 38, .96));
  box-shadow:
    0 22px 50px rgba(0,0,0,.34),
    0 0 34px rgba(34, 118, 255, .30);
  transform: translateY(-18px);
}

.pm6-side {
  display: grid;
  gap: 18px;
}

.pm6-side-card {
  padding: 26px;
}

.pm6-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pm6-card-title h2,
.pm6-card-title h3 {
  margin: 0;
  font-size: 24px;
  color: #fff;
}

.pm6-bolt {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #a9caff;
  border: 1px solid rgba(83, 146, 255, .32);
  background: rgba(35, 89, 175, .18);
  font-weight: 900;
}

.pm6-subtitle {
  margin: 8px 0 0;
  color: var(--pm6-muted);
  font-size: 14px;
}

.pm6-steps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.pm6-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.pm6-step:first-child { border-top: 0; padding-top: 0; }

.pm6-step-no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid rgba(108, 150, 227, .26);
  background: rgba(255,255,255,.03);
  font-weight: 900;
  color: #fff;
}

.pm6-step strong { display: block; color: #fff; font-size: 16px; }
.pm6-step span { display: block; margin-top: 4px; color: var(--pm6-muted); line-height: 1.55; font-size: 14px; }

.pm6-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.pm6-trust {
  text-align: center;
  font-size: 13px;
  color: #e8f1ff;
  font-weight: 800;
}

.pm6-wallet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.pm6-wallet-row h3 { margin: 0; color: #fff; font-size: 21px; }
.pm6-wallet-row p { margin: 8px 0 0; color: var(--pm6-muted); font-size: 14px; line-height: 1.6; }

.pm6-mini-actions { display: flex; }

.pm6-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pm6-stat {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px 24px;
}

.pm6-stat-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(93, 139, 230, .22);
  background: rgba(86, 64, 207, .12);
  font-size: 22px;
  font-weight: 900;
}

.pm6-stat small { display: block; color: var(--pm6-muted); font-size: 12px; }
.pm6-stat strong { display: block; margin-top: 6px; color: #fff; font-size: 32px; }

.pm6-transparency {
  margin-top: 18px;
  padding: 28px;
}

.pm6-transparency-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

.pm6-transparency-intro {
  padding-right: 24px;
}

.pm6-transparency-intro h2 {
  margin: 0;
  color: #fff;
  font-size: 27px;
}

.pm6-transparency-intro p {
  margin: 10px 0 0;
  color: var(--pm6-muted);
  line-height: 1.6;
}

.pm6-info-item {
  padding: 0 22px;
  border-left: 1px solid rgba(255,255,255,.07);
}

.pm6-info-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(86, 64, 207, .14);
  color: #b9c8ff;
  font-weight: 900;
}

.pm6-info-item strong { display: block; margin-top: 12px; color: #fff; font-size: 15px; }
.pm6-info-item span { display: block; margin-top: 7px; color: var(--pm6-muted); font-size: 13px; line-height: 1.55; }


/* =========================================================
   THEME ENGINE V7
   Theme is assigned by JavaScript to avoid relying only on
   html.dark, because this project uses 3 theme modes.
   ========================================================= */

#pm-home-v6.pm6-theme-light {
  --pm6-bg: #eef4fb;
  --pm6-panel: #ffffff;
  --pm6-panel-2: #f5f8fd;
  --pm6-line: rgba(36, 72, 125, .15);
  --pm6-line-strong: rgba(53, 111, 205, .28);
  --pm6-text: #15233a;
  --pm6-muted: #60708a;
  --pm6-shadow: 0 20px 55px rgba(32, 58, 94, .14);
  color-scheme: light;
  color: #15233a !important;
}

#pm-home-v6.pm6-theme-light .pm6-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(64, 126, 235, .075), transparent 30%),
    linear-gradient(150deg, #ffffff 0%, #f5f8fd 100%) !important;
  border-color: rgba(36, 72, 125, .15) !important;
  box-shadow: 0 20px 55px rgba(32, 58, 94, .14) !important;
}

#pm-home-v6.pm6-theme-light .pm6-hero::before {
  border-color: rgba(63, 111, 196, .16) !important;
  box-shadow:
    0 0 0 56px rgba(37, 95, 223, .028),
    0 0 0 112px rgba(109, 74, 255, .018) !important;
}

#pm-home-v6.pm6-theme-light .pm6-hero::after {
  background: radial-gradient(circle, rgba(64, 134, 236, .11), transparent 68%) !important;
}

#pm-home-v6.pm6-theme-light .pm6-tag {
  color: #344966 !important;
  background: rgba(255, 255, 255, .78) !important;
  border-color: rgba(43, 91, 170, .14) !important;
  box-shadow: 0 5px 15px rgba(37, 66, 104, .05);
}

#pm-home-v6.pm6-theme-light .pm6-title,
#pm-home-v6.pm6-theme-light .pm6-card-title h2,
#pm-home-v6.pm6-theme-light .pm6-card-title h3,
#pm-home-v6.pm6-theme-light .pm6-wallet-row h3,
#pm-home-v6.pm6-theme-light .pm6-step strong,
#pm-home-v6.pm6-theme-light .pm6-step-no,
#pm-home-v6.pm6-theme-light .pm6-stat strong,
#pm-home-v6.pm6-theme-light .pm6-transparency-intro h2,
#pm-home-v6.pm6-theme-light .pm6-info-item strong {
  color: #15233a !important;
  text-shadow: none !important;
}

#pm-home-v6.pm6-theme-light .pm6-title span {
  background: linear-gradient(90deg, #335fa8 0%, #286fc6 46%, #6137ba 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

#pm-home-v6.pm6-theme-light .pm6-copy,
#pm-home-v6.pm6-theme-light .pm6-subtitle,
#pm-home-v6.pm6-theme-light .pm6-wallet-row p,
#pm-home-v6.pm6-theme-light .pm6-step span,
#pm-home-v6.pm6-theme-light .pm6-stat small,
#pm-home-v6.pm6-theme-light .pm6-transparency-intro p,
#pm-home-v6.pm6-theme-light .pm6-info-item span {
  color: #60708a !important;
  text-shadow: none !important;
}

#pm-home-v6.pm6-theme-light .pm6-floating-logo {
  background: linear-gradient(145deg, #ffffff, #eef4fc) !important;
  border-color: rgba(54, 108, 200, .24) !important;
  box-shadow:
    0 20px 40px rgba(40, 73, 119, .16),
    0 0 28px rgba(63, 125, 225, .13) !important;
}

#pm-home-v6.pm6-theme-light .pm6-stage-ring {
  border-color: rgba(55, 118, 218, .30) !important;
  box-shadow:
    0 0 22px rgba(42, 116, 224, .15),
    inset 0 0 26px rgba(42, 116, 224, .10) !important;
}

#pm-home-v6.pm6-theme-light .pm6-stage-ring::before {
  border-color: rgba(104, 67, 205, .25) !important;
}

#pm-home-v6.pm6-theme-light .pm6-stage-ring::after {
  background: radial-gradient(circle, rgba(50, 122, 225, .14), transparent 70%) !important;
}

#pm-home-v6.pm6-theme-light .pm6-step,
#pm-home-v6.pm6-theme-light .pm6-trust-row {
  border-color: rgba(36, 72, 125, .12) !important;
}

#pm-home-v6.pm6-theme-light .pm6-step-no,
#pm-home-v6.pm6-theme-light .pm6-stat-icon,
#pm-home-v6.pm6-theme-light .pm6-info-icon,
#pm-home-v6.pm6-theme-light .pm6-bolt {
  background: rgba(81, 91, 210, .08) !important;
  border-color: rgba(72, 104, 188, .18) !important;
  color: #3e58a2 !important;
}

#pm-home-v6.pm6-theme-light .pm6-trust {
  color: #344966 !important;
}

#pm-home-v6.pm6-theme-light .pm6-info-item {
  border-color: rgba(36, 72, 125, .12) !important;
}

#pm-home-v6.pm6-theme-light .pm6-secondary a,
#pm-home-v6.pm6-theme-light .pm6-secondary button {
  color: #233650 !important;
  background: #ffffff !important;
  border-color: rgba(43, 91, 170, .17) !important;
  box-shadow: 0 8px 20px rgba(37, 66, 104, .07) !important;
}

#pm-home-v6.pm6-theme-light .pm6-primary a,
#pm-home-v6.pm6-theme-light .pm6-primary button {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6048f5, #239ee9) !important;
  border-color: rgba(53, 124, 219, .40) !important;
  box-shadow: 0 13px 28px rgba(49, 107, 211, .20) !important;
}

#pm-home-v6.pm6-theme-light .pm6-gold a,
#pm-home-v6.pm6-theme-light .pm6-gold button {
  color: #684a00 !important;
  background: #fff9e8 !important;
  border-color: rgba(184, 132, 20, .28) !important;
  box-shadow: 0 8px 20px rgba(148, 101, 12, .08) !important;
}

#pm-home-v6.pm6-theme-dark {
  color-scheme: dark;
}

/* Fallback before the runtime finishes reading the theme button. */
@media (prefers-color-scheme: light) {
  #pm-home-v6:not(.pm6-theme-dark):not(.pm6-theme-light) {
    opacity: .999;
  }
}

@media (max-width: 1100px) {
  .pm6-layout { grid-template-columns: 1fr; }
  .pm6-side { grid-template-columns: 1fr 1fr; }
  .pm6-side-card:first-child { grid-column: 1 / -1; }
  .pm6-transparency-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pm6-transparency-intro { grid-column: 1 / -1; padding-right: 0; }
  .pm6-info-item { border-left: 0; padding: 0; }
}

@media (max-width: 760px) {
  #pm-home-v6 { width: calc(100% - 14px); margin-top: 10px; }
  .pm6-hero { padding: 22px; min-height: auto; }
  .pm6-hero-grid { grid-template-columns: 1fr; }
  .pm6-logo-stage { min-height: 250px; }
  .pm6-floating-logo { width: 130px; height: 130px; }
  .pm6-title { font-size: clamp(42px, 12vw, 58px); }
  .pm6-actions { display: grid; grid-template-columns: 1fr; }
  .pm6-actions a, .pm6-actions button { width: 100%; }
  .pm6-side { grid-template-columns: 1fr; }
  .pm6-side-card:first-child { grid-column: auto; }
  .pm6-stats { grid-template-columns: 1fr; }
  .pm6-transparency-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   THEME HARD APPLY V8
   Semua selector dark/light dikunci ke class pada section.
   Ini mencegah mode Otomatis gelap tetap memakai kartu putih.
   ========================================================= */

#pm-home-v6.pm6-theme-dark {
  --pm6-bg: #07101f;
  --pm6-panel: #0b162a;
  --pm6-panel-2: #0e1b32;
  --pm6-line: rgba(116, 145, 201, .22);
  --pm6-line-strong: rgba(69, 138, 255, .34);
  --pm6-text: #ffffff;
  --pm6-muted: #aebed7;
  --pm6-shadow: 0 24px 70px rgba(0,0,0,.34);
  color: #ffffff !important;
  color-scheme: dark;
}

#pm-home-v6.pm6-theme-dark .pm6-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(38, 115, 255, .10), transparent 28%),
    linear-gradient(150deg, rgba(12, 27, 51, .98), rgba(7, 17, 33, .98)) !important;
  border-color: rgba(116, 145, 201, .22) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-title,
#pm-home-v6.pm6-theme-dark .pm6-card-title h2,
#pm-home-v6.pm6-theme-dark .pm6-card-title h3,
#pm-home-v6.pm6-theme-dark .pm6-wallet-row h3,
#pm-home-v6.pm6-theme-dark .pm6-step strong,
#pm-home-v6.pm6-theme-dark .pm6-step-no,
#pm-home-v6.pm6-theme-dark .pm6-stat strong,
#pm-home-v6.pm6-theme-dark .pm6-transparency-intro h2,
#pm-home-v6.pm6-theme-dark .pm6-info-item strong {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

#pm-home-v6.pm6-theme-dark .pm6-title span {
  background: linear-gradient(90deg, #dcecff, #7fbaff 54%, #3ad7ef) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

#pm-home-v6.pm6-theme-dark .pm6-copy,
#pm-home-v6.pm6-theme-dark .pm6-subtitle,
#pm-home-v6.pm6-theme-dark .pm6-wallet-row p,
#pm-home-v6.pm6-theme-dark .pm6-step span,
#pm-home-v6.pm6-theme-dark .pm6-stat small,
#pm-home-v6.pm6-theme-dark .pm6-transparency-intro p,
#pm-home-v6.pm6-theme-dark .pm6-info-item span {
  color: #aebed7 !important;
  -webkit-text-fill-color: currentColor !important;
}

#pm-home-v6.pm6-theme-dark .pm6-tag {
  color: #dce8ff !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.09) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-floating-logo {
  background: linear-gradient(145deg, rgba(16, 37, 74, .96), rgba(8, 18, 38, .96)) !important;
  border-color: rgba(98, 158, 255, .45) !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.34), 0 0 34px rgba(34,118,255,.30) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-step,
#pm-home-v6.pm6-theme-dark .pm6-trust-row,
#pm-home-v6.pm6-theme-dark .pm6-info-item {
  border-color: rgba(255,255,255,.07) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-step-no,
#pm-home-v6.pm6-theme-dark .pm6-stat-icon,
#pm-home-v6.pm6-theme-dark .pm6-info-icon,
#pm-home-v6.pm6-theme-dark .pm6-bolt {
  background: rgba(86, 64, 207, .12) !important;
  border-color: rgba(93, 139, 230, .22) !important;
  color: #b9c8ff !important;
}

#pm-home-v6.pm6-theme-dark .pm6-trust {
  color: #e8f1ff !important;
}

#pm-home-v6.pm6-theme-dark .pm6-secondary a,
#pm-home-v6.pm6-theme-dark .pm6-secondary button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(146,171,222,.24) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-primary a,
#pm-home-v6.pm6-theme-dark .pm6-primary button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, #6d4aff, #39d4ff) !important;
}

#pm-home-v6.pm6-theme-dark .pm6-gold a,
#pm-home-v6.pm6-theme-dark .pm6-gold button {
  color: #fff6cb !important;
  -webkit-text-fill-color: #fff6cb !important;
  background: rgba(213,166,46,.08) !important;
  border-color: rgba(213,166,46,.32) !important;
}

/* Body halaman mengikuti resolved theme khusus homepage. */
html[data-theme="dark"] body,
html.theme-dark body,
html.dark body {
  background: #07101f !important;
}

html[data-theme="light"] body,
html.theme-light body,
html.light body {
  background: #eef4fb !important;
}
