/* ============================================================
   ZYSTACK INVITATION THEMES — MINIMAL SHARED RESET
   Tema meng-import file ini lebih dulu, lalu style.css miliknya.
   Jangan menaruh desain spesifik tema di sini.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; 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;
}

.zx-locked { overflow: hidden !important; }

/* Scroll reveal — dipakai oleh core.js */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Shared lightbox shell */
.zx-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 5vw; background: rgba(8, 8, 12, 0.92);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.zx-lightbox.is-open { opacity: 1; visibility: visible; }
.zx-lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.zx-lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 4px; }
.zx-lightbox figcaption { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; margin-top: 14px; text-transform: uppercase; }
.zx-lightbox button {
  position: absolute; background: transparent; border: 0; color: #fff;
  font-size: 2.4rem; line-height: 1; opacity: 0.7; transition: opacity 0.2s;
}
.zx-lightbox button:hover { opacity: 1; }
.zx-lightbox__close { top: 18px; right: 24px; }
.zx-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.zx-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
