/*
 * Tambahan kecil di atas old.css (CSS situs lama hasil build Tailwind, dipakai apa adanya).
 * Hanya hal yang dulu ada di <style> index.html lama dan yang butuh perilaku baru (dialog, reveal, animasi).
 */
@font-face { font-family: Adventure; src: url(/site/assets/fonts/Adventure-Light.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Adventure; src: url(/site/assets/fonts/Adventure-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Adventure; src: url(/site/assets/fonts/Adventure-SemiBold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Adventure; src: url(/site/assets/fonts/Adventure-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

body {
    font-family: 'Adventure', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #151515;
    overflow-x: hidden;
}
html { scroll-padding-top: 6rem; }

/* Muncul saat terlihat (JS menambahkan .in-view) */
[data-reveal].in-view { opacity: 1 !important; transform: none !important; translate: none !important; }

/* Dialog bawaan peramban sebagai jendela pop-up */
.bm-dialog { border: 0; padding: 1rem; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; margin: auto; overflow: visible; }
.bm-dialog[open] { display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease both; }
.bm-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }

/* Judul per kata (anim.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; translate: none !important; } }

/* Utilitas tambahan (kelas Tailwind yang tidak terpakai di situs lama sehingga tidak ada di old.css) */
.pt-40 { padding-top: 10rem; }
.pb-16 { padding-bottom: 4rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.h-9 { height: 2.25rem; }
.w-8 { width: 2rem; }
.min-w-5 { min-width: 1.25rem; }
.min-w-6 { min-width: 1.5rem; }
.min-h-5 { min-height: 1.25rem; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-h-\[88vh\] { max-height: 88vh; }
.bg-black\/40 { background-color: rgba(0, 0, 0, .4); }
.bg-neutral-200 { background-color: #e5e5e5; }
.bg-\[\#ffac00\]\/15 { background-color: rgba(255, 172, 0, .15); }
.rounded-tl-sm { border-top-left-radius: .25rem; }
.rounded-tr-sm { border-top-right-radius: .25rem; }
.drop-shadow-2xs { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05)); }
.disabled\:opacity-50:disabled { opacity: .5; }
@media (min-width: 768px) { .md\:pb-20 { padding-bottom: 5rem; } }
@media (min-width: 1024px) {
    .lg\:gap-12 { gap: 3rem; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:w-\[42\%\] { width: 42%; }
    .lg\:w-\[58\%\] { width: 58%; }
}

.-translate-y-full { translate: 0 -100%; }
