/* Optional motion effects (see assets/js/effects.js) */

/* 1 cursor */
.fx-cursor, .fx-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; }
.fx-cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid #fff; border-radius: 50%; mix-blend-mode: difference; transition: width .3s, height .3s, margin .3s, background .3s; display: grid; place-items: center; }
.fx-cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255,255,255,.18); }
.fx-cursor.view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.fx-cursor.view::after { content: 'LIHAT'; color: #000; font: 700 11px/1 'Poppins', sans-serif; letter-spacing: .12em; }
.fx-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }

/* 2 split text */
.fx-split .fx-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.fx-split .fx-c { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform .8s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--i) * 28ms); }
.fx-split.fx-in .fx-c { transform: none; }

/* 3 preloader */
.fx-pre { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; }
.fx-pre .a, .fx-pre .b { position: absolute; left: 0; right: 0; height: 50.2%; background: #1f0f08; transition: transform 1s cubic-bezier(.8, 0, .2, 1); }
.fx-pre .a { top: 0; } .fx-pre .b { bottom: 0; }
.fx-pre .l { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; transition: opacity .4s, transform .6s; }
.fx-pre .l img { width: 150px; animation: fxBreath 1.6s ease-in-out infinite; }
.fx-pre .l i { display: block; width: 180px; height: 3px; background: rgba(216,195,164,.25); border-radius: 3px; position: relative; overflow: hidden; }
.fx-pre .l i::after { content: ''; position: absolute; inset: 0; background: #d8c3a4; transform: scaleX(0); transform-origin: left; animation: fxLoad 1.4s ease forwards; }
.fx-pre.go .a { transform: translateY(-101%); } .fx-pre.go .b { transform: translateY(101%); } .fx-pre.go .l { opacity: 0; transform: scale(.9); }
@keyframes fxLoad { to { transform: scaleX(1); } } @keyframes fxBreath { 50% { transform: scale(1.06); } }

/* 4 wipe */
.fx-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.fx-wipe.fx-wipe-in { clip-path: inset(0 0 0 0); }

/* 7 particles */
.fx-particles { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; }

/* 9 scroll fill */
.fx-fill { color: transparent !important; background-image: linear-gradient(90deg, var(--fc) var(--fill, 0%), var(--fd) var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; }

/* 10 button */
.fx-btn { position: relative; overflow: hidden; isolation: isolate; }
.fx-btn::before { content: ''; position: absolute; z-index: -1; left: var(--bx, 50%); top: var(--by, 50%); width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,.28); transform: translate(-50%, -50%); transition: width .6s cubic-bezier(.2, .8, .2, 1), height .6s cubic-bezier(.2, .8, .2, 1); }
.fx-btn:hover::before { width: 420px; height: 420px; }
.fx-btn.btn-sand::before, .fx-btn.btn-ghost::before { background: rgba(56,28,16,.14); }
.fx-btn.btn-ghost:hover { background: transparent; }
.fx-rip { position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: rgba(255,255,255,.55); pointer-events: none; animation: fxRip .7s ease-out forwards; }
@keyframes fxRip { to { transform: scale(26); opacity: 0; } }

/* Motion Lab panel */
.fx-panel { position: fixed; right: 16px; top: 96px; z-index: 9000; width: min(340px, calc(100vw - 32px)); background: #fffdf8; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.3); font: 14px/1.45 'Poppins', sans-serif; color: #381c10; overflow: hidden; }
.fx-ptoggle { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: #381c10; color: #fff; padding: 12px 18px; cursor: pointer; font: inherit; }
.fx-ptoggle span { font-size: .75rem; color: #d8c3a4; }
.fx-pbody { display: none; padding: 12px 14px 14px; max-height: min(70vh, 640px); overflow: auto; } .fx-panel.open .fx-pbody { display: block; }
.fx-pnote { font-size: .75rem; color: #6d5446; margin: 0 0 8px; }
.fx-row { display: flex; gap: 12px; padding: 9px 6px; border-bottom: 1px solid #ebdcc4; cursor: pointer; align-items: flex-start; }
.fx-row input { position: absolute; opacity: 0; pointer-events: none; }
.fx-row .sw { flex: none; width: 38px; height: 22px; border-radius: 999px; background: #d8c3a4; position: relative; transition: background .3s; margin-top: 2px; }
.fx-row .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.fx-row input:checked + .sw { background: #3f6a33; } .fx-row input:checked + .sw::after { transform: translateX(16px); }
.fx-row .tx b { display: block; font-size: .86rem; } .fx-row .tx small { display: block; color: #6d5446; font-size: .72rem; line-height: 1.4; }
.fx-pbar { display: flex; gap: 8px; margin-top: 10px; } .fx-pbar button { flex: 1; border: 1.5px solid #381c10; background: none; border-radius: 999px; padding: .4em .8em; font: 600 .75rem 'Poppins', sans-serif; cursor: pointer; color: #381c10; } .fx-pbar button:hover { background: #381c10; color: #fff; }
.fx-out { margin-top: 10px; font-size: .72rem; color: #6d5446; } .fx-out code { display: block; margin-top: 4px; padding: 6px 8px; background: #f3ead8; border-radius: 8px; word-break: break-all; color: #381c10; }
@media (max-width: 680px) { .fx-panel { top: auto; bottom: 84px; right: 10px; } }

/* batch 2 */
.fx-zoom { will-change: scale; }
.fx-spot { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(255,226,170,.2), transparent 62%); mix-blend-mode: screen; }
.fx-bf { filter: blur(7px); opacity: .25; transition: filter 1.1s ease, opacity 1.1s ease; }
.fx-bf.fx-bf-in { filter: none; opacity: 1; }
.js .fx-stag.reveal:not(.in) { transform: translate(var(--sx, 0), 46px) rotate(var(--sr, 0deg)); }
.fx-top { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border: 0; border-radius: 50%; background: #381c10; color: #d8c3a4; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; transition: opacity .35s, transform .35s; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.fx-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .fx-top circle { fill: none; stroke-width: 3; } .fx-top .bg { stroke: rgba(216,195,164,.25); } .fx-top .fg { stroke: #d8c3a4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.fx-top i { font-style: normal; font-weight: 700; position: relative; }
.fx-trail { position: fixed; z-index: 9990; pointer-events: none; border-radius: 50%; margin: -4px; opacity: .85; animation: fxTrail .9s ease-out forwards; }
@keyframes fxTrail { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.2); opacity: 0; } }
.fx-row em { font-style: normal; font-size: .62rem; background: #3f6a33; color: #fff; padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* round 3 effects */
.fx-progbar { position: fixed; z-index: 90; left: 0; top: 0; height: 4px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #a78bfa, #38bdf8, #4ade80); box-shadow: 0 0 12px rgba(56,189,248,.6); pointer-events: none; }
img.fx-col { filter: grayscale(var(--gs, 1)) !important; }
.fx-dots { position: fixed; z-index: 40; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.fx-dots a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 22px; padding-inline: 6px; }
.fx-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(56,28,16,.35); box-shadow: 0 0 0 2px rgba(255,255,255,.7); transition: transform .3s, background .3s; }
.fx-dots a.on i { transform: scale(1.7); background: var(--brown); }
.fx-dots span { position: absolute; right: 26px; padding: 2px 10px; border-radius: 6px; background: var(--brown); color: #fff; font-size: .72rem; opacity: 0; transform: translateX(6px); transition: .25s; pointer-events: none; white-space: nowrap; }
.fx-dots a:hover span { opacity: 1; transform: none; }
.fx-sheen { position: relative; overflow: hidden; }
.fx-sheen::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(105deg, transparent calc(var(--sh, 0) * 160% - 50%), rgba(255,255,255,.3) calc(var(--sh, 0) * 160% - 35%), transparent calc(var(--sh, 0) * 160% - 20%)); }

/* ---------- cookie consent bar ---------- */
.ck-bar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 130; max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 20px; border-radius: 20px; background: rgba(56,28,16,.96); color: #efe3cf; box-shadow: 0 18px 50px rgba(0,0,0,.35); backdrop-filter: blur(8px); transform: translateY(30px); opacity: 0; transition: transform .35s, opacity .35s; }
.ck-bar[hidden] { display: none; }
.ck-bar.on { transform: none; opacity: 1; }
.ck-t { flex: 1 1 380px; margin: 0; font-size: .85rem; line-height: 1.55; text-align: left; }
.ck-t a { color: var(--sand); text-decoration: underline; font-weight: 600; }
.ck-b { display: flex; gap: 10px; margin-left: auto; }
.ck-b button { border: 0; border-radius: 999px; padding: .65em 1.5em; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.ck-yes { background: var(--leaf); color: #fff; } .ck-yes:hover { background: var(--leaf-d); }
.ck-no { background: transparent; color: #efe3cf; box-shadow: inset 0 0 0 1.5px rgba(239,227,207,.55); } .ck-no:hover { background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .ck-bar { left: 8px; right: 8px; bottom: 8px; padding: 14px; border-radius: 16px; } .ck-t { flex-basis: 100%; font-size: .8rem; } .ck-b { width: 100%; } .ck-b button { flex: 1; } }

/* footer: the decorative grass/sheep strip overlaps the bottom of the footer and was swallowing clicks on the legal links */
.sfx-grass, .sfx-grass * { pointer-events: none; }
.foot-bottom { position: relative; z-index: 3; }
