/* ==========================================================================
   ZareEcoSmp — Sistem Desain Pixel-Woodland Indie
   Palet: #1f150e (tanah), #3a2718 (kayu), #4f7a3a (lumut),
          #8fbf5a (daun terang), #f2e8d0 (krem), #e8b43a (kuning madu)
   ========================================================================== */

@font-face {
  font-family: "Silkscreen";
  src: url("../assets/fonts/silkscreen-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silkscreen";
  src: url("../assets/fonts/silkscreen-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Warna Inti */
  --soil: #1f150e;
  --soil-deep: #150e09;
  --soil-ink: #120b06;
  --wood: #3a2718;
  --wood-mid: #2b1d12;
  --wood-light: #523823;
  --moss: #4f7a3a;
  --moss-dark: #355825;
  --leaf: #8fbf5a;
  --cream: #f2e8d0;
  --cream-soft: #faf3e3;
  --cream-line: #d6c5a3;
  --honey: #e8b43a;
  --honey-hover: #f3c452;
  --honey-deep: #b8841c;

  /* Teks WCAG AA+ */
  --text-light: #f2e8d0;
  --text-light-muted: #d2c3a8;
  --text-dark: #1f150e;
  --text-dark-muted: #4b3828;
  --danger-light: #f48c7a;
  --danger-dark: #9c2b1e;

  /* Tipografi */
  --font-display: "Silkscreen", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spasi */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 88px;

  /* Bentuk & Bayangan Keras Pixel */
  --radius-px: 2px;
  --border-w: 2px;
  --border-thick: 3px;
  --shadow-sm: 3px 3px 0 var(--soil-ink);
  --shadow-md: 5px 5px 0 var(--soil-ink);
  --shadow-lg: 7px 7px 0 var(--soil-ink);
  --shadow-cream: 5px 5px 0 #c9b58e;
  --nav-h: 64px;
}

/* Reset & Dasar */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-light);
  background-color: var(--soil);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(31, 21, 14, 0.14);
  border: 1px solid rgba(31, 21, 14, 0.25);
  border-radius: var(--radius-px);
}

.section-soil code,
.section-deep code,
.section-wood code,
.section-join code {
  background: rgba(242, 232, 208, 0.12);
  border-color: rgba(242, 232, 208, 0.24);
  color: var(--honey);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--honey);
  color: var(--soil);
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--soil);
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 18px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 28px;
  }
}

/* Ikon Pixelarticons */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

/* Tombol Tactile Pixel */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: var(--border-thick) solid var(--soil-ink);
  border-radius: var(--radius-px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}

.btn:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--soil-ink);
}

.btn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--soil-ink);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-honey {
  background: var(--honey);
  color: var(--soil);
}

.btn-honey:hover:not(:disabled) {
  background: var(--honey-hover);
}

.btn-moss {
  background: var(--moss-dark);
  color: var(--cream);
}

.btn-moss:hover:not(:disabled) {
  background: #426c2f;
}

.btn-outline-light {
  background: rgba(58, 39, 24, 0.7);
  color: var(--cream);
  border-color: var(--cream-line);
}

.btn-outline-light:hover:not(:disabled) {
  background: var(--wood-light);
}

.btn-outline-dark {
  background: var(--cream-soft);
  color: var(--soil);
  border-color: var(--soil);
}

.btn-outline-dark:hover:not(:disabled) {
  background: var(--cream);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--wood);
  color: var(--cream);
  border: 2px solid var(--soil-ink);
  border-radius: var(--radius-px);
  box-shadow: 2px 2px 0 var(--soil-ink);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.btn-icon:hover {
  background: var(--wood-light);
  transform: translate(-1px, -1px);
}

.btn-icon:active {
  transform: translate(1px, 1px);
}

/* ==========================================================================
   1. NAVBAR STICKY GLASS (Glass hemat #1)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 90;
  background: rgba(31, 21, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(242, 232, 208, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(24, 16, 10, 0.92);
  border-bottom-color: rgba(232, 180, 58, 0.35);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  image-rendering: pixelated;
  border: 2px solid var(--soil-ink);
  box-shadow: 2px 2px 0 var(--soil-ink);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light-muted);
  text-decoration: none;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-px);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--cream);
  background: rgba(242, 232, 208, 0.08);
}

.nav-link.is-active {
  color: var(--honey);
  background: rgba(232, 180, 58, 0.12);
  border-color: rgba(232, 180, 58, 0.45);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--soil-deep);
  border: 2px solid var(--wood-light);
  box-shadow: var(--shadow-md);
}

.dropdown-link {
  display: block;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius-px);
}

.dropdown-link:hover,
.dropdown-link.is-active {
  background: var(--wood);
  color: var(--honey);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tombol Gabung navbar baru muncul setelah melewati section Fitur */
.nav-join-cta {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-join-cta[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--wood);
  color: var(--cream);
  border: 2px solid var(--soil-ink);
  box-shadow: 2px 2px 0 var(--soil-ink);
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}

.mobile-drawer {
  border-top: 2px solid var(--wood-light);
  background: var(--soil-deep);
}

.mobile-nav {
  display: grid;
  padding: 12px 18px 18px;
  gap: 4px;
}

.mobile-link {
  display: block;
  padding: 11px 12px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  border: 2px solid transparent;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: var(--wood);
  color: var(--honey);
  border-color: var(--wood-light);
}

.noscript-banner {
  margin-top: var(--nav-h);
  padding: 14px 0;
  background: var(--honey);
  color: var(--soil);
  border-bottom: 3px solid var(--soil);
}

.noscript-banner p {
  margin: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   2. HERO PERKENALAN (100svh, tenang, sinematik, siang ke senja)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--soil);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* Siklus pelan siang hangat -> sore keemasan -> senja hutan (tanpa ungu-biru) */
.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #273823 0%, #445e31 32%, #a87b38 68%, #5e3a1e 86%, #1f150e 100%);
  animation: heroSkyCycle 28s ease-in-out infinite alternate;
}

@keyframes heroSkyCycle {
  0% {
    filter: brightness(1.04) saturate(1.04);
  }
  50% {
    filter: brightness(0.95) sepia(0.22) saturate(1.16);
  }
  100% {
    filter: brightness(0.78) sepia(0.3) saturate(0.96);
  }
}

.hero-photo-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  image-rendering: pixelated;
  opacity: 0.3;
  mix-blend-mode: soft-light;
}

.hero-sun-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232, 180, 58, 0.44) 0%, rgba(232, 180, 58, 0.14) 44%, transparent 72%);
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  left: -4%;
  width: 108%;
  bottom: 0;
  height: auto;
  min-height: 38%;
  object-fit: cover;
  object-position: bottom center;
  image-rendering: pixelated;
  will-change: transform;
  pointer-events: none;
}

.hero-layer-far {
  bottom: 14%;
  opacity: 0.94;
}

.hero-layer-mid {
  bottom: 5%;
}

.hero-layer-near {
  bottom: -2px;
  min-height: 22%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 14, 9, 0.56) 0%, rgba(21, 14, 9, 0.22) 48%, rgba(31, 21, 14, 0.72) 89%, var(--soil) 100%);
}

/* Partikel daun & kunang-kunang */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--honey);
  opacity: 0;
  animation: fireflyFloat var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
}

.particle.is-leaf {
  width: 8px;
  height: 5px;
  background: var(--leaf);
  animation: leafDrift var(--dur, 12s) linear var(--delay, 0s) infinite;
}

@keyframes fireflyFloat {
  0%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }
  25% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.35;
    transform: translate(18px, -32px);
  }
  75% {
    opacity: 0.8;
    transform: translate(-10px, -54px);
  }
}

@keyframes leafDrift {
  0% {
    opacity: 0;
    transform: translate(0, -20px);
  }
  15% {
    opacity: 0.72;
  }
  85% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translate(72px, 260px);
  }
}

.hero-content {
  position: relative;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Slot tinggi tetap mencegah CLS saat API status merespons */
.hero-live-slot {
  min-height: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass hemat #2: chip status live hero */
.hero-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cream);
  background: rgba(21, 14, 9, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(143, 191, 90, 0.55);
  box-shadow: 3px 3px 0 rgba(18, 11, 6, 0.75);
}

.hero-live-chip[hidden] {
  display: none;
}

.live-dot {
  width: 9px;
  height: 9px;
  background: var(--leaf);
  box-shadow: 0 0 0 2px rgba(143, 191, 90, 0.28);
}

.hero-brand-tag {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  text-shadow: 2px 2px 0 var(--soil-ink);
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 6vw, 3.85rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 4px 4px 0 var(--soil-ink);
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  color: var(--text-light);
  text-shadow: 0 2px 6px rgba(18, 11, 6, 0.85);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.chip {
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream);
  background: rgba(31, 21, 14, 0.78);
  border: 2px solid rgba(242, 232, 208, 0.25);
  box-shadow: 2px 2px 0 var(--soil-ink);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-quiet-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 180, 58, 0.55);
  transition: color 0.15s ease;
}

.hero-quiet-link:hover {
  color: var(--honey);
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-light-muted);
}

.scroll-cue-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue-bar {
  width: 3px;
  height: 22px;
  background: var(--honey);
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ==========================================================================
   SECTION BANDS & HEADERS
   ========================================================================== */
.section {
  padding-block: 64px;
  position: relative;
}

@media (min-width: 900px) {
  .section {
    padding-block: 92px;
  }
}

.section-cream {
  background: var(--cream);
  color: var(--text-dark);
  border-top: 3px solid var(--soil-ink);
  border-bottom: 3px solid var(--soil-ink);
}

.section-soil {
  background: var(--soil);
  color: var(--text-light);
}

.section-deep {
  background: var(--soil-deep);
  color: var(--text-light);
  border-top: 3px solid var(--wood);
  border-bottom: 3px solid var(--wood);
}

.section-wood {
  background: var(--wood-mid);
  color: var(--text-light);
}

.section-join {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(79, 122, 58, 0.06) 0,
      rgba(79, 122, 58, 0.06) 24px,
      transparent 24px,
      transparent 48px
    ),
    var(--soil);
  color: var(--text-light);
  border-top: 4px solid var(--moss);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head-compact {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss-dark);
}

.eyebrow-leaf {
  color: var(--leaf);
}

.eyebrow-honey {
  color: var(--honey);
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.25rem);
  line-height: 1.24;
  color: var(--text-dark);
}

.section-head-light .section-title {
  color: var(--cream);
}

.section-desc {
  margin: 0;
  color: var(--text-dark-muted);
  max-width: 58ch;
}

.section-head-light .section-desc {
  color: var(--text-light-muted);
}

/* Animasi Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   3. KENALAN: Split Kiri-Kanan Bergantian
   ========================================================================== */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 900px) {
  .story-list {
    gap: 68px;
  }
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

@media (min-width: 820px) {
  .story-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
  }

  .story-row-reverse .story-media {
    order: 2;
  }
}

.pixel-frame {
  background: var(--soil);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-md);
  padding: 8px;
}

.pixel-frame img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border: 2px solid var(--wood-light);
}

.story-index {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  background: var(--soil);
  color: var(--honey);
  border: 2px solid var(--soil-ink);
}

.story-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.3;
  color: var(--text-dark);
}

.story-text {
  margin: 0 0 12px;
  color: var(--text-dark);
}

.story-note {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--moss);
  font-size: 0.94rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   4. FITUR: Grid Asimetris (Bento)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 700px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: span 2;
  }

  .bento-strip {
    grid-column: span 2;
  }
}

@media (min-width: 1000px) {
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .bento-tall {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .bento-tall .bento-content {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .bento-tall .mini-tags {
    margin-top: auto;
    padding-top: 20px;
  }

  .bento-strip {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

.bento-card {
  background: var(--wood);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-md);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.bento-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--honey);
}

.bento-moss {
  background: linear-gradient(135deg, #324f24 0%, #263d1b 100%);
}

.bento-strip {
  background: #2f2115;
  border-left: 6px solid var(--leaf);
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: var(--soil);
  color: var(--leaf);
  border: 2px solid var(--soil-ink);
  box-shadow: 3px 3px 0 var(--soil-ink);
  flex-shrink: 0;
}

.bento-icon-honey {
  color: var(--honey);
}

.bento-kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--leaf);
}

.bento-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--cream);
}

.bento-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-light-muted);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.mini-tags li {
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--soil);
  color: var(--honey);
  border: 2px solid var(--soil-ink);
}

/* ==========================================================================
   5. SATU HARI DI ZAREECOSMP: Timeline Vertikal 4 Titik
   ========================================================================== */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  max-width: 780px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 27px;
  width: 4px;
  background: var(--cream-line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  opacity: 0.58;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.timeline-item.is-active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--soil);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.timeline-marker img {
  image-rendering: pixelated;
}

.timeline-item.is-active .timeline-marker {
  border-color: var(--honey);
  transform: scale(1.05);
}

.timeline-card {
  background: var(--cream-soft);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-cream);
  padding: 18px 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item.is-active .timeline-card {
  border-color: var(--moss-dark);
  box-shadow: 5px 5px 0 var(--moss);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  background: var(--soil);
  color: var(--honey);
}

.timeline-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--text-dark);
}

.timeline-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   6. STATUS LIVE + LEADERBOARD + KABAR SERVER
   ========================================================================== */
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .live-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  }
}

.panel {
  background: var(--soil);
  border: 3px solid var(--wood-light);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--wood);
}

.panel-header-wrap {
  flex-wrap: wrap;
}

.panel-title-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--honey);
}

.panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
}

/* Status Live */
.status-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  background: rgba(79, 122, 58, 0.28);
  color: var(--leaf);
  border: 2px solid var(--moss);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--leaf);
}

.status-pill.is-offline {
  background: rgba(156, 43, 30, 0.25);
  color: var(--danger-light);
  border-color: var(--danger-light);
}

.status-pill.is-offline::before {
  background: var(--danger-light);
}

.status-version {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-muted);
}

.status-counter {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.status-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  line-height: 1;
  color: var(--honey);
}

.status-slash,
.status-max {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-muted);
}

.status-unit {
  margin-left: 6px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.status-motd {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--soil-deep);
  border: 2px solid var(--wood);
  font-size: 0.9rem;
  color: var(--cream);
  white-space: pre-line;
  word-break: break-word;
}

.status-sublabel {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--leaf);
}

.avatar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--wood);
  border: 2px solid var(--soil-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.avatar-img {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
  border: 1px solid var(--soil-ink);
  background: var(--moss-dark) url("../assets/img/avatar-fallback.svg") center / cover no-repeat;
}

.podium-avatar {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  border: 2px solid var(--soil-ink);
  background: var(--moss-dark) url("../assets/img/avatar-fallback.svg") center / cover no-repeat;
}

.status-updated {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Skeleton Loader */
.skel {
  background: linear-gradient(90deg, var(--wood) 25%, var(--wood-light) 50%, var(--wood) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
  margin-bottom: 12px;
}

.skel-badge { width: 110px; height: 28px; }
.skel-big { width: 160px; height: 48px; }
.skel-line { width: 100%; height: 18px; }
.skel-line.short { width: 65%; }
.skel-podium { width: 100%; height: 110px; }
.skel-row { width: 100%; height: 40px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.status-error,
.lb-error,
.lb-empty {
  padding: 20px;
  background: var(--soil-deep);
  border: 2px dashed var(--wood-light);
  text-align: center;
}

.error-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--honey);
}

.error-desc {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* Leaderboard Tabs & Podium */
.tab-group {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--soil-deep);
  color: var(--text-light-muted);
  border: 2px solid var(--wood-light);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover {
  color: var(--cream);
  border-color: var(--cream-line);
}

.tab-btn[aria-selected="true"] {
  background: var(--honey);
  color: var(--soil);
  border-color: var(--soil-ink);
  box-shadow: 2px 2px 0 var(--soil-ink);
}

.lb-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.lb-updated {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.badge-dummy {
  padding: 2px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(232, 180, 58, 0.16);
  color: var(--honey);
  border: 1px solid var(--honey);
}

.podium {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

@media (min-width: 560px) {
  .podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .podium-item.rank-1 { order: 2; padding-top: 22px; padding-bottom: 22px; }
  .podium-item.rank-2 { order: 1; }
  .podium-item.rank-3 { order: 3; }
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--wood);
  border: 2px solid var(--soil-ink);
  box-shadow: var(--shadow-sm);
}

.podium-item.rank-1 {
  background: linear-gradient(180deg, #4b361a 0%, var(--wood) 100%);
  border-color: var(--honey);
}

.podium-rank {
  font-family: var(--font-display);
  font-size: 0.78rem;
  padding: 2px 8px;
  background: var(--soil-deep);
  color: var(--cream);
}

.podium-item.rank-1 .podium-rank {
  background: var(--honey);
  color: var(--soil);
}

.podium-avatar {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  border: 2px solid var(--soil-ink);
}

.podium-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cream);
  word-break: break-word;
}

.podium-val {
  font-family: var(--font-display);
  font-size: 0.84rem;
  color: var(--leaf);
}

.podium-item.rank-1 .podium-val {
  color: var(--honey);
}

.lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lb-row {
  display: grid;
  grid-template-columns: 34px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--soil-deep);
  border: 2px solid var(--wood);
  font-size: 0.9rem;
}

.lb-pos {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.lb-name {
  font-weight: 600;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-score {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--honey);
}

/* Kabar Server */
.news-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid var(--wood);
}

.news-strip-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--leaf);
}

.news-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cream);
}

.news-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 720px) {
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.news-item {
  padding: 16px 18px;
  background: var(--soil);
  border: 2px solid var(--wood-light);
  box-shadow: var(--shadow-sm);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.news-tag {
  padding: 2px 7px;
  background: var(--moss-dark);
  color: var(--cream);
  font-weight: 700;
}

.news-date {
  color: var(--text-light-muted);
}

.news-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--cream);
}

.news-body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   7. GALERI (Grid Asimetris + Lightbox)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .gallery-card:nth-child(1) { grid-column: span 7; }
  .gallery-card:nth-child(2) { grid-column: span 5; }
  .gallery-card:nth-child(1) .gallery-thumb,
  .gallery-card:nth-child(2) .gallery-thumb { aspect-ratio: auto; height: 340px; }
  .gallery-card:nth-child(3) { grid-column: span 4; }
  .gallery-card:nth-child(4) { grid-column: span 4; }
  .gallery-card:nth-child(5) { grid-column: span 4; }
  .gallery-card:nth-child(3) .gallery-thumb,
  .gallery-card:nth-child(4) .gallery-thumb,
  .gallery-card:nth-child(5) .gallery-thumb { aspect-ratio: 3 / 2; }
  .gallery-card:nth-child(6) { grid-column: span 12; }
  .gallery-card:nth-child(6) .gallery-thumb { aspect-ratio: 21 / 8; }
}

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  text-align: left;
  background: var(--soil);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gallery-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--honey);
}

.gallery-thumb {
  width: 100%;
  flex: 1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--soil-deep);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--soil);
  border-top: 2px solid var(--wood);
}

.gallery-cap-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cream);
}

.gallery-cap-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--leaf);
  white-space: nowrap;
}

/* ==========================================================================
   8. TOKO RANK
   ========================================================================== */
.rank-controls {
  margin-bottom: 24px;
}

.tier-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 640px) {
  .tier-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

.tier-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 10px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--cream-soft);
  color: var(--text-dark);
  border: 2px solid var(--soil-ink);
  box-shadow: 3px 3px 0 #c9b58e;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

@media (min-width: 640px) {
  .tier-tab {
    flex-direction: row;
    gap: 8px;
    padding: 10px 18px;
  }
}

.tier-tab-name {
  font-family: var(--font-display);
  font-size: 0.84rem;
}

.tier-tab-range {
  font-size: 0.72rem;
  opacity: 0.85;
}

.tier-tab:hover {
  background: #fff9eb;
}

.tier-tab[aria-selected="true"] {
  background: var(--soil);
  color: var(--honey);
  box-shadow: 3px 3px 0 var(--moss);
}

.rank-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(265px, 84%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  margin-inline: -4px;
}

@media (min-width: 780px) {
  .rank-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    overflow-x: visible;
  }
}

.rank-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 20px;
  background: var(--cream-soft);
  color: var(--text-dark);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-cream);
}

.rank-card.is-popular {
  background: var(--soil);
  color: var(--cream);
  border-color: var(--honey);
  box-shadow: 6px 6px 0 var(--moss);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 14px;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  background: var(--honey);
  color: var(--soil);
  border: 2px solid var(--soil-ink);
}

.rank-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.rank-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--moss-dark);
}

.rank-card.is-popular .rank-price {
  color: var(--honey);
}

.rank-benefits {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 2px dashed var(--cream-line);
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.rank-card.is-popular .rank-benefits {
  border-top-color: var(--wood-light);
}

.rank-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.rank-benefits .icon {
  color: var(--moss);
  margin-top: 3px;
}

.rank-card.is-popular .rank-benefits .icon {
  color: var(--leaf);
}

.rank-compare-wrap {
  margin-top: 36px;
}

.rank-compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.compare-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
}

.compare-hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-dark-muted);
}

.table-scroll {
  overflow-x: auto;
  background: var(--cream-soft);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-cream);
}

.rank-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.rank-table th,
.rank-table td {
  padding: 12px 14px;
  border-bottom: 2px solid var(--cream-line);
}

.rank-table thead th {
  background: var(--soil);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 3px solid var(--soil-ink);
}

.rank-table tbody tr:hover {
  background: rgba(232, 180, 58, 0.14);
}

.table-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--honey);
  color: var(--soil);
  border: 1px solid var(--soil-ink);
}

.rank-payment-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 10px 14px;
  background: var(--cream-soft);
  border: 2px solid var(--soil-ink);
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ==========================================================================
   9. CARA GABUNG (Momen Ajakan Utama)
   ========================================================================== */
.join-box {
  background: var(--wood-mid);
  border: 3px solid var(--honey);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

@media (min-width: 768px) {
  .join-box {
    padding: 34px;
  }
}

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--soil);
  color: var(--text-light-muted);
  border: 2px solid var(--wood-light);
  cursor: pointer;
}

.platform-tab[aria-selected="true"] {
  background: var(--moss-dark);
  color: var(--cream);
  border-color: var(--soil-ink);
  box-shadow: 3px 3px 0 var(--soil-ink);
}

.ip-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  margin-bottom: 24px;
  background: var(--soil-deep);
  border: 3px solid var(--soil-ink);
}

@media (min-width: 640px) {
  .ip-showcase {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }
}

.ip-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ip-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leaf);
}

.ip-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.8vw, 1.8rem);
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--cream) !important;
  word-break: break-all;
}

.bedrock-port-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: var(--soil);
  border: 2px solid var(--wood-light);
}

.port-value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 780px) {
  .join-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.join-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--soil);
  border: 2px solid var(--wood-light);
}

.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--honey);
  color: var(--soil);
  border: 2px solid var(--soil-ink);
}

.join-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cream);
}

.join-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.bedrock-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  background: rgba(79, 122, 58, 0.22);
  border: 2px solid var(--moss);
  font-size: 0.9rem;
  color: var(--cream);
}

.starter-kit-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--soil);
  border: 2px dashed var(--honey);
}

.starter-kit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--wood);
  color: var(--honey);
  border: 2px solid var(--soil-ink);
  flex-shrink: 0;
}

.starter-kit-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--honey);
}

.starter-kit-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   10. ATURAN & FAQ (Accordion + Pencarian)
   ========================================================================== */
.rules-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

@media (min-width: 920px) {
  .rules-faq-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
  }
}

.faq-search-wrap {
  position: relative;
  margin-bottom: 10px;
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-dark-muted);
  pointer-events: none;
}

.faq-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: var(--cream-soft);
  color: var(--text-dark);
  border: 2px solid var(--soil-ink);
  box-shadow: 3px 3px 0 #c9b58e;
}

.faq-search-status {
  margin: 0 0 12px;
  min-height: 1.3em;
  font-size: 0.84rem;
  color: var(--text-dark-muted);
}

.accordion {
  display: grid;
  gap: 10px;
}

.acc-item {
  background: var(--cream-soft);
  border: 2px solid var(--soil-ink);
  box-shadow: 3px 3px 0 #c9b58e;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.96rem;
  background: transparent;
  color: var(--text-dark);
  border: 0;
  cursor: pointer;
}

.acc-trigger:hover {
  background: rgba(232, 180, 58, 0.14);
}

.acc-chevron {
  transition: transform 0.2s ease;
}

.acc-trigger[aria-expanded="true"] .acc-chevron {
  transform: rotate(180deg);
}

.acc-panel {
  padding: 0 16px 16px;
  border-top: 2px dashed var(--cream-line);
  font-size: 0.93rem;
  color: var(--text-dark-muted);
}

.acc-panel p {
  margin: 12px 0 0;
}

/* ==========================================================================
   11. KONTAK
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 780px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  background: var(--soil);
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--wood);
  color: var(--honey);
  border: 2px solid var(--soil-ink);
}

.contact-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--cream);
}

.contact-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.contact-action {
  margin-top: 4px;
}

.security-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--soil-deep);
  border: 2px solid var(--honey);
  color: var(--cream);
}

.security-warning .icon {
  color: var(--honey);
}

.security-warning p {
  margin: 0;
  font-size: 0.92rem;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--soil-ink);
  color: var(--text-light-muted);
  border-top: 3px solid var(--wood);
  padding-top: 40px;
  padding-bottom: 92px;
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 40px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--wood-mid);
}

@media (min-width: 820px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-tagline {
  margin: 8px 0 0;
  font-size: 0.88rem;
  max-width: 38ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.footer-nav a,
.footer-link-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-link-btn:hover {
  color: var(--honey);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 18px;
  font-size: 0.82rem;
}

.footer-disclaimer,
.footer-copy {
  margin: 0;
}

/* ==========================================================================
   13. STICKY IP BAR HP (Glass hemat #3) & FLOATING WA
   ========================================================================== */
.sticky-ip-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(21, 14, 9, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--honey);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-ip-bar[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 900px) {
  .sticky-ip-bar {
    display: none;
  }
}

.sticky-ip-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-ip-label {
  font-size: 0.7rem;
  font-family: var(--font-display);
  color: var(--leaf);
}

.sticky-ip-val {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 82;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--moss-dark);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease, bottom 0.22s ease;
}

.floating-wa[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cegah tumpang tindih dengan bar Salin IP di HP */
body.has-sticky-ip .floating-wa {
  bottom: 84px;
}

@media (min-width: 900px) {
  body.has-sticky-ip .floating-wa {
    bottom: 20px;
  }
}

/* ==========================================================================
   MODALS, LIGHTBOX, CREDITS & TOAST
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(12, 8, 5, 0.82);
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: 100%;
  max-width: 500px;
  background: var(--soil);
  color: var(--cream);
  border: 3px solid var(--honey);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.modal-dialog-wide {
  max-width: 820px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--leaf);
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--soil-deep);
  color: var(--text-light-muted);
  border: 2px solid var(--wood);
}

.stepper-item span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  background: var(--wood);
  color: var(--cream);
}

.stepper-item.is-active {
  border-color: var(--honey);
  color: var(--cream);
}

.stepper-item.is-active span {
  background: var(--honey);
  color: var(--soil);
}

.stepper-item.is-done {
  border-color: var(--moss);
  color: var(--leaf);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--soil-deep);
  color: var(--cream);
  border: 2px solid var(--wood-light);
  border-radius: var(--radius-px);
}

.field-input:focus {
  border-color: var(--honey);
  outline: none;
}

.field-help {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.field-error {
  margin: 8px 0 0;
  padding: 8px 10px;
  background: rgba(156, 43, 30, 0.25);
  border: 2px solid var(--danger-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--danger-light);
}

.selected-rank-summary {
  margin-top: 14px;
  padding: 14px;
  background: var(--soil-deep);
  border: 2px solid var(--wood);
}

.order-summary {
  margin: 0 0 16px;
  padding: 14px;
  background: var(--soil-deep);
  border: 2px solid var(--wood);
  display: grid;
  gap: 8px;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-summary dt {
  color: var(--text-light-muted);
}

.order-summary dd {
  margin: 0;
  font-weight: 700;
  color: var(--honey);
}

.order-message-box {
  padding: 12px 14px;
  background: var(--wood-mid);
  border: 2px dashed var(--wood-light);
  margin-bottom: 12px;
}

.order-message-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--leaf);
  font-weight: 700;
}

.order-message-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cream);
  word-break: break-word;
}

.order-disclaimer {
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

.modal-footer {
  margin-top: 18px;
}

.modal-footer-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Lightbox */
.lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 2;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.lightbox-figure {
  margin: 0;
  background: var(--soil);
  border: 3px solid var(--honey);
  box-shadow: var(--shadow-lg);
}

.lightbox-figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: var(--soil-ink);
}

.lightbox-caption-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--cream);
}

.lightbox-counter {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--honey);
  white-space: nowrap;
}

/* Kredit Modal Table */
.credits-content {
  max-height: 65vh;
  overflow: auto;
  font-size: 0.86rem;
}

.credits-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

.credits-table th,
.credits-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--wood-light);
  text-align: left;
  vertical-align: top;
}

.credits-table th {
  background: var(--soil-deep);
  color: var(--honey);
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.credits-table a {
  color: var(--leaf);
  word-break: break-all;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 220;
  padding: 11px 18px;
  background: var(--honey);
  color: var(--soil);
  font-weight: 700;
  font-size: 0.9rem;
  border: 3px solid var(--soil-ink);
  box-shadow: var(--shadow-sm);
}

body.has-sticky-ip .toast {
  bottom: 84px;
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION: Matikan parallax, partikel, siklus warna & animasi
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-sky,
  .scroll-cue-bar,
  .particle,
  .skel {
    animation: none !important;
  }

  .hero-particles {
    display: none !important;
  }

  .hero-layer {
    transform: none !important;
  }

  .reveal,
  .timeline-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
