/* ========================================================================
   MARRYCENE THEME FX v2
   Pasangan dari theme-fx.js. Setiap theme punya pembuka khas, ilustrasi cover
   berlapis (parallax untuk Gold), ornamen section, dan dekorasi bergerak.
   Warna mengikuti palette theme (--mc-*), jadi Theme Studio tetap berlaku.
   ======================================================================== */

@property --fx-r{syntax:'<length>';inherits:false;initial-value:0px}
@property --fx-sweep{syntax:'<angle>';inherits:false;initial-value:0deg}

.mc-dynamic{
    --fx-gold:var(--mc-custom-accent,var(--mc-accent));
    --fx-deep:var(--mc-primary);
    --fx-fold:var(--mc-primary);
    --fx-fold-dark:var(--mc-primary);
    --fx-fold-light:var(--mc-primary);
    --fx-paper:var(--mc-surface);
    --fx-paper-2:var(--mc-surface);
    --fx-paper-3:var(--mc-surface);
    --fx-env-in:var(--mc-accent);
    --fx-env-bg:var(--mc-bg);
    --fx-petal:#f2bfc8;
    --fx-petal-hi:#fde4e8;
    --fx-petal-lo:#d98f9d;
    --fx-ink:var(--mc-text);
}

@supports (color: color-mix(in srgb, red 50%, blue)){
    .mc-dynamic{
        --fx-deep:color-mix(in srgb,var(--mc-primary) 78%,#000);
        --fx-fold:color-mix(in srgb,var(--mc-primary) 82%,#000);
        --fx-fold-dark:color-mix(in srgb,var(--mc-primary) 52%,#000);
        --fx-fold-light:color-mix(in srgb,var(--mc-primary) 86%,#fff);
        --fx-paper:color-mix(in srgb,var(--mc-surface) 62%,#fffdf8);
        --fx-paper-2:color-mix(in srgb,var(--mc-surface) 70%,#efe6d8);
        --fx-paper-3:color-mix(in srgb,var(--mc-surface) 58%,#f7f0e4);
        --fx-env-in:color-mix(in srgb,var(--fx-gold) 42%,var(--fx-paper));
        --fx-env-bg:color-mix(in srgb,var(--mc-bg) 74%,var(--mc-primary));
        --fx-petal:color-mix(in srgb,var(--fx-gold) 35%,#f2bfc8);
        --fx-petal-hi:color-mix(in srgb,var(--fx-petal) 45%,#fff);
        --fx-petal-lo:color-mix(in srgb,var(--fx-petal) 70%,#7a2f3d);
    }
}

/* Saat pembuka diputar, animasi masuk cover ditahan */
body.fx-intro-playing .mc-cover-copy>*,
body.fx-intro-playing .mc-cover-copy::before{animation-play-state:paused!important}


/* ======================================================================
   PEMBUKA: dasar
   ====================================================================== */
.fx-intro{
    position:fixed!important;
    inset:0;
    z-index:6000!important;
    overflow:hidden;
    cursor:pointer;
    color:var(--mc-text);
    font-family:var(--mc-font-heading,Georgia,serif);
    transition:opacity .7s ease,visibility .7s ease,background-color .6s ease;
    -webkit-tap-highlight-color:transparent;
}

.fx-intro.is-done{opacity:0;visibility:hidden;pointer-events:none}
.fx-intro>*{position:absolute}
.fx-intro svg{display:block;width:100%;height:auto;overflow:visible}
.fx-sheet{inset:0}

.fx-iris{
    -webkit-mask:radial-gradient(circle at var(--cx,50%) var(--cy,50%),transparent var(--fx-r),#000 calc(var(--fx-r) + 2px));
    mask:radial-gradient(circle at var(--cx,50%) var(--cy,50%),transparent var(--fx-r),#000 calc(var(--fx-r) + 2px));
}

.fx-intro.is-opening .fx-iris{animation:fxIris 1.3s cubic-bezier(.6,0,.3,1) var(--iris-delay,.2s) forwards}

.fx-caption{
    position:absolute;
    left:50%;
    z-index:8;
    display:grid;
    justify-items:center;
    gap:8px;
    width:min(86vw,560px);
    transform:translateX(-50%);
    text-align:center;
    pointer-events:none;
    opacity:0;
    animation:fxFadeIn .9s ease .35s forwards;
}

.fx-caption small{font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.34em;text-transform:uppercase;opacity:.82}
.fx-caption b{font:400 clamp(26px,7vw,46px)/1.15 var(--mc-font-heading,Georgia,serif);overflow-wrap:anywhere}
.fx-caption span{font:500 11px/1.3 system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;opacity:.75}
.fx-cap-top{top:11vh}
.fx-cap-mid{top:50%;transform:translate(-50%,-50%)}
.fx-cap-low{bottom:9vh}
.fx-cap-light{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.4)}
.fx-cap-thin b{font-weight:300;letter-spacing:.06em}
.fx-intro.is-opening .fx-caption{animation:fxFadeOut .45s ease forwards}

.fx-mono{
    position:absolute;
    left:50%;
    top:50%;
    z-index:7;
    display:grid;
    justify-items:center;
    gap:12px;
    transform:translate(-50%,-50%);
    color:var(--fx-gold);
    text-align:center;
    pointer-events:none;
    transition:opacity .5s ease,transform .5s ease;
}

.fx-mono small{font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#fff;opacity:.84}

.fx-mono b{
    display:grid;
    place-items:center;
    min-width:112px;
    height:112px;
    padding:0 18px;
    border:1px solid currentColor;
    border-radius:999px;
    background:rgba(0,0,0,.22);
    box-shadow:0 0 0 6px rgba(0,0,0,.14),0 0 0 7px currentColor,0 12px 40px rgba(0,0,0,.3);
    font:400 38px/1 var(--mc-font-heading,Georgia,serif);
    letter-spacing:.04em;
    white-space:nowrap;
}

.fx-mono-ink{color:var(--mc-primary)}
.fx-mono-ink small{color:var(--mc-text)}
.fx-mono-ink b{background:rgba(255,255,255,.5);box-shadow:0 0 0 6px rgba(255,255,255,.4),0 0 0 7px currentColor}
.fx-mono-light{color:#fff}
.fx-mono-light b{background:rgba(255,255,255,.06)}
.fx-mono-soft{color:#7d5fa8}
.fx-mono-soft small{color:#7d5fa8}
.fx-mono-soft b{background:rgba(255,255,255,.6);box-shadow:0 0 0 6px rgba(255,255,255,.4),0 0 0 7px currentColor}
.fx-intro.is-opening .fx-mono{opacity:0;transform:translate(-50%,-50%) scale(.86)}

.fx-flash{inset:0;z-index:20;background:#fff;opacity:0;pointer-events:none}
.fx-intro.is-opening .fx-flash{animation:fxFlash .7s ease var(--flash-delay,.8s) forwards}

.fx-flap .up{animation:fxFlapA .5s steps(1,end) var(--bd,0s) infinite}
.fx-flap .down{opacity:0;animation:fxFlapB .5s steps(1,end) var(--bd,0s) infinite}

/* Partikel ledakan (kelopak, kamboja, hati, confetti, kilau) */
:is(.fx-petal-fly,.fx-frangi-fly,.fx-ht-fly,.fx-confetti,.fx-spark-fly){left:50%;top:var(--oy,46%);z-index:6;opacity:0;pointer-events:none}
.fx-intro.is-opening :is(.fx-petal-fly,.fx-frangi-fly,.fx-ht-fly,.fx-confetti,.fx-spark-fly){animation:fxBurst 1.6s cubic-bezier(.2,.7,.3,1) var(--delay,0s) forwards}

.fx-petal-fly{width:calc(var(--s) * 1px);height:calc(var(--s) * .8px);border-radius:150% 0 150% 0;background:linear-gradient(135deg,#fde4e8,#e7a1ad 60%,#c0596f)}
.fx-frangi-fly{width:calc(var(--s) * 1px)}
.fx-ht-fly{width:calc(var(--s) * 1px)}
.fx-ht-fly .fx-heart{fill:#f07ea0}
.fx-confetti{width:calc(var(--s) * 1px);height:calc(var(--s) * 1.6px);background:var(--c,#f6e7c1)}
.fx-spark-fly{width:calc(var(--s) * 1px);height:calc(var(--s) * 1px);border-radius:50%;background:#fff;box-shadow:0 0 8px 2px #ffd36b}


/* ======================================================================
   PEMBUKA: tirai (Midnight Luxe)
   ====================================================================== */
.fx-cur{
    top:0;
    bottom:0;
    width:51%;
    background:
        linear-gradient(180deg,rgba(255,255,255,.1),transparent 28%,rgba(0,0,0,.32)),
        repeating-linear-gradient(90deg,var(--fx-fold-dark) 0,var(--fx-fold) 2.4%,var(--fx-fold-light) 5%,var(--fx-fold) 7.6%,var(--fx-fold-dark) 10%);
    box-shadow:inset 0 0 80px rgba(0,0,0,.38);
}

.fx-cur::after{content:"";position:absolute;top:0;bottom:0;width:12px;background:repeating-linear-gradient(180deg,var(--fx-gold) 0 4px,transparent 4px 7px);opacity:.9}
.fx-cur-l{left:0;transform-origin:0 50%}
.fx-cur-l::after{right:0}
.fx-cur-r{right:0;transform-origin:100% 50%}
.fx-cur-r::after{left:0}

.fx-valance{
    left:0;
    right:0;
    top:0;
    z-index:3;
    height:max(76px,11vh);
    background:
        linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.28)),
        repeating-linear-gradient(90deg,var(--fx-fold-dark) 0,var(--fx-fold) 1.5%,var(--fx-fold-light) 3%,var(--fx-fold) 4.5%,var(--fx-fold-dark) 6%);
    -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 26px) no-repeat,radial-gradient(circle at 50% calc(100% - 26px),#000 26px,transparent 27px) 0 0/52px 100% repeat-x;
    mask:linear-gradient(#000,#000) top/100% calc(100% - 26px) no-repeat,radial-gradient(circle at 50% calc(100% - 26px),#000 26px,transparent 27px) 0 0/52px 100% repeat-x;
    transition:transform .9s cubic-bezier(.6,0,.3,1) 1.15s;
}

.fx-valance::after{content:"";position:absolute;left:0;right:0;bottom:24px;height:3px;background:var(--fx-gold)}

.fx-spot{
    inset:0;
    z-index:4;
    background:radial-gradient(circle at 50% 46%,rgba(255,240,200,.26),transparent 22%) 0 0/200% 100%;
    mix-blend-mode:screen;
    animation:fxSpot 3.4s ease-in-out infinite alternate;
}

.fx-o-curtain.is-opening .fx-cur-l{animation:fxCurtainL 1.8s cubic-bezier(.62,0,.24,1) .15s forwards}
.fx-o-curtain.is-opening .fx-cur-r{animation:fxCurtainR 1.8s cubic-bezier(.62,0,.24,1) .15s forwards}
.fx-o-curtain.is-opening .fx-valance{transform:translateY(-110%)}
.fx-o-curtain.is-opening .fx-spot{animation:fxFadeOut .5s forwards}


/* ======================================================================
   PEMBUKA: pintu istana (Royal Majesty)
   ====================================================================== */
.fx-o-doors{perspective:1600px}

.fx-door{
    top:0;
    bottom:0;
    width:50.2%;
    background:
        linear-gradient(90deg,rgba(0,0,0,.28),transparent 14%,transparent 86%,rgba(0,0,0,.28)),
        linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.25)),
        var(--fx-deep);
    box-shadow:inset 0 0 0 10px rgba(0,0,0,.18),inset 0 0 0 12px var(--fx-gold),inset 0 0 90px rgba(0,0,0,.45);
    backface-visibility:hidden;
}

.fx-door::before,.fx-door::after{
    content:"";
    position:absolute;
    left:14%;
    right:14%;
    border:2px solid var(--fx-gold);
    border-radius:8px;
    box-shadow:inset 0 0 0 6px rgba(0,0,0,.12),inset 0 0 0 7px rgba(255,255,255,.12);
    opacity:.75;
}

.fx-door::before{top:8%;bottom:52%}
.fx-door::after{top:54%;bottom:8%}
.fx-door i{position:absolute;top:63%;width:34px;height:34px;margin-top:-17px;border:3px solid var(--fx-gold);border-radius:50%;box-shadow:0 4px 10px rgba(0,0,0,.35)}
.fx-door-l{left:0;transform-origin:0 50%}
.fx-door-l i{right:7%}
.fx-door-r{right:0;transform-origin:100% 50%}
.fx-door-r i{left:7%}
.fx-glow{inset:0;background:radial-gradient(ellipse at 50% 50%,rgba(255,246,220,.95),rgba(255,236,190,.35) 32%,transparent 64%);opacity:0}
.fx-o-doors.is-opening .fx-door-l{animation:fxDoorL 1.7s cubic-bezier(.6,0,.22,1) .2s forwards}
.fx-o-doors.is-opening .fx-door-r{animation:fxDoorR 1.7s cubic-bezier(.6,0,.22,1) .2s forwards}
.fx-o-doors.is-opening .fx-glow{animation:fxGlow 1.9s ease .2s forwards}


/* ======================================================================
   PEMBUKA: amplop (Sweet Memory)
   ====================================================================== */
.fx-o-envelope{display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,var(--fx-paper),var(--fx-env-bg) 78%)}
.fx-env{position:relative!important;width:min(84vw,460px);aspect-ratio:1.5;perspective:1200px;filter:drop-shadow(0 26px 34px rgba(0,0,0,.2))}
.fx-env>*{position:absolute}
.fx-env-back{inset:0;border-radius:12px;background:var(--fx-env-in)}
.fx-env-letter{left:6%;right:6%;top:7%;height:86%;z-index:2;display:grid;align-content:center;justify-items:center;gap:10px;padding:0 6%;border-radius:8px;background:#fffdf8;box-shadow:0 2px 12px rgba(0,0,0,.08),inset 0 0 0 8px #fffdf8,inset 0 0 0 9px var(--fx-gold);color:var(--mc-primary);text-align:center}
.fx-env-letter small{font:600 9px/1.2 system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:var(--fx-gold)}
.fx-env-letter b{font:400 clamp(22px,6vw,34px)/1.15 var(--mc-font-heading,Georgia,serif);overflow-wrap:anywhere}
.fx-env-pocket{inset:0;z-index:3;border-radius:12px;background:linear-gradient(to top right,var(--fx-paper-2) 49.6%,transparent 50%) left bottom/50% 100% no-repeat,linear-gradient(to top left,var(--fx-paper-2) 49.6%,transparent 50%) right bottom/50% 100% no-repeat,var(--fx-paper);-webkit-clip-path:polygon(0 0,50% 54%,100% 0,100% 100%,0 100%);clip-path:polygon(0 0,50% 54%,100% 0,100% 100%,0 100%)}
.fx-env-flap{left:0;right:0;top:0;height:58%;z-index:4;border-radius:12px 12px 0 0;background:linear-gradient(180deg,var(--fx-paper-3),var(--fx-paper-2));-webkit-clip-path:polygon(0 0,100% 0,50% 100%);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 0}
.fx-env-seal{left:50%;top:58%;z-index:5;display:grid;place-items:center;width:clamp(58px,15vw,76px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:47% 53% 50% 50%/52% 48% 52% 48%;background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.45),transparent 38%),var(--fx-gold);box-shadow:0 6px 16px rgba(0,0,0,.28),inset 0 0 0 5px rgba(255,255,255,.16),inset 0 0 0 7px rgba(0,0,0,.1);color:#fffaf0;font:600 clamp(16px,4.4vw,21px)/1 var(--mc-font-heading,Georgia,serif);text-shadow:0 1px 2px rgba(0,0,0,.3)}
.fx-o-envelope.is-opening .fx-env-seal{animation:fxSeal .5s ease forwards}
.fx-o-envelope.is-opening .fx-env-flap{animation:fxFlap .8s cubic-bezier(.5,0,.3,1) .35s forwards}
.fx-o-envelope.is-opening .fx-env-letter{animation:fxLetter .9s cubic-bezier(.3,.7,.2,1) 1s forwards}
.fx-o-envelope.is-opening .fx-env{animation:fxEnvOut .7s ease 1.85s forwards}


/* ======================================================================
   PEMBUKA: ornamen bintang Islami (Sakinah Blossom)
   ====================================================================== */
.fx-ar-bg{background:radial-gradient(circle at 50% 42%,var(--mc-primary),var(--fx-deep) 78%)}
.fx-ar-bg::after{content:"";position:absolute;inset:0;background:var(--fx-gold);opacity:.13;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='-14' y='-14' width='28' height='28'/%3E%3Crect x='-14' y='-14' width='28' height='28' transform='rotate(45)'/%3E%3Ccircle r='6'/%3E%3C/g%3E%3C/svg%3E") 0 0/60px 60px;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='-14' y='-14' width='28' height='28'/%3E%3Crect x='-14' y='-14' width='28' height='28' transform='rotate(45)'/%3E%3Ccircle r='6'/%3E%3C/g%3E%3C/svg%3E") 0 0/60px 60px}
.fx-ar-med{left:50%;top:44%;z-index:4;width:min(62vw,300px);aspect-ratio:1;transform:translate(-50%,-50%) scale(.6);opacity:0;transition:transform 1.1s cubic-bezier(.2,.8,.2,1),opacity .8s ease}
.fx-ar-outer,.fx-ar-inner{position:absolute;inset:0}
.fx-ar-inner{inset:24%}
.fx-ar-outer svg{animation:fxSpin 28s linear infinite}
.fx-ar-inner svg{animation:fxSpin 18s linear infinite reverse}
.fx-ar-outer .fx-s8,.fx-ar-outer .fx-s8c{fill:none;stroke:var(--fx-gold);stroke-width:1.3}
.fx-ar-outer .fx-s8d{fill:none}
.fx-ar-inner .fx-s8{fill:var(--fx-gold);opacity:.9}
.fx-ar-inner .fx-s8c{fill:var(--mc-primary)}
.fx-ar-inner .fx-s8d{fill:var(--fx-gold)}
.fx-ar-ini{position:absolute;inset:0;z-index:2;display:grid;place-items:center;color:#fff;font:400 clamp(18px,4.6vw,26px)/1 var(--mc-font-heading,Georgia,serif);white-space:nowrap}
.fx-ar-lamp{top:-34vh;left:calc(50% + var(--side) * 32vw);z-index:5;width:clamp(30px,9vw,60px);margin-left:calc(clamp(30px,9vw,60px) / -2);transform-origin:50% 0;transition:top 1.3s cubic-bezier(.3,1.3,.5,1);animation:fxHang 3.2s ease-in-out infinite alternate}
.fx-o-arabesque .fx-caption{color:#fff}
.fx-o-arabesque.is-ready .fx-ar-med{transform:translate(-50%,-50%) scale(1);opacity:1}
.fx-o-arabesque.is-ready .fx-ar-lamp{top:-1vh}
.fx-o-arabesque.is-opening .fx-ar-med{transform:translate(-50%,-50%) scale(5) rotate(45deg);opacity:0;transition-duration:1.4s,1.1s}
.fx-o-arabesque.is-opening .fx-ar-lamp{top:-40vh;transition-duration:.8s}
.fx-o-arabesque.is-opening .fx-ar-bg{animation:fxFadeOut .9s ease .45s forwards}


/* ======================================================================
   PEMBUKA: jendela kaca patri + merpati (Grace Chapel)
   ====================================================================== */
.fx-dv-bg{background:radial-gradient(circle at 50% 38%,#fffdf6,var(--fx-env-bg) 78%)}
.fx-dv-window{
    left:50%;
    top:38%;
    z-index:3;
    width:min(56vw,280px);
    aspect-ratio:1;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:radial-gradient(circle,#fff6d8 0 12%,transparent 13%),repeating-conic-gradient(from 0deg,#b8322f 0 15deg,#e2b440 15deg 30deg,#2f5fa8 30deg 45deg,#3f8a5a 45deg 60deg);
    box-shadow:0 0 0 8px var(--fx-gold),0 0 0 14px rgba(255,255,255,.6),0 0 70px rgba(255,230,160,.85);
    animation:fxWindowGlow 2.4s ease-in-out infinite alternate;
}
.fx-dv-window::after{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(40,30,20,.7) 0 1.4deg,transparent 1.4deg 15deg),radial-gradient(circle,transparent 0 32%,rgba(40,30,20,.6) 32.5% 34%,transparent 34.5% 64%,rgba(40,30,20,.6) 64.5% 66%,transparent 66.5%)}
.fx-dv-bird{left:50%;top:38%;z-index:6;width:calc(56px * var(--s,1));margin:-20px 0 0 -28px;opacity:0}
.fx-dv-bird svg,.fx-ch-dove svg{transform:scaleX(var(--flip,1))}
.fx-o-doves .fx-caption{color:var(--mc-primary)}
.fx-o-doves.is-opening .fx-dv-bird{animation:fxFlyOut 1.7s cubic-bezier(.3,.1,.3,1) var(--delay) forwards}
.fx-o-doves.is-opening .fx-dv-window{animation:fxWindowOpen 1.4s cubic-bezier(.6,0,.3,1) .45s forwards}
.fx-o-doves.is-opening .fx-dv-bg{animation:fxFadeOut .9s ease .9s forwards}


/* ======================================================================
   PEMBUKA: bunga mekar (Eternal Garden)
   ====================================================================== */
.fx-o-bloom{background:#fbeeee}
.fx-o-bloom.is-opening{background-color:transparent;transition-delay:.3s}
.fx-bl-petal{
    left:50%;
    top:50%;
    width:62vmax;
    height:96vmax;
    margin-left:-31vmax;
    margin-top:-96vmax;
    transform-origin:50% 100%;
    transform:rotate(var(--a));
    border-radius:50% 50% 46% 46%/62% 62% 38% 38%;
    background:radial-gradient(ellipse at 50% 100%,#fffaf0 0 12%,transparent 40%),linear-gradient(0deg,#f9e6d6 0%,#f7cfd5 45%,#e9a7b4 100%);
    box-shadow:inset 0 0 0 1.5px rgba(201,161,95,.45),inset 0 -40px 80px rgba(255,255,255,.45),0 0 30px rgba(160,70,90,.15);
}
.fx-bl-petal::after{content:"";position:absolute;left:50%;top:14%;bottom:6%;width:1.5px;background:linear-gradient(transparent,var(--fx-gold));opacity:.5}
.fx-bl-ring1{width:44vmax;height:66vmax;margin-left:-22vmax;margin-top:-66vmax;background:linear-gradient(0deg,#fff4ea,#fde3e6 55%,#f4bcc6);z-index:2}
.fx-bl-core{left:50%;top:50%;z-index:5;display:grid;place-items:center;width:clamp(96px,24vmin,150px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fff6d8,var(--fx-gold) 72%);box-shadow:0 0 40px rgba(255,220,140,.7),0 0 0 6px rgba(255,255,255,.6);color:#fff}
.fx-bl-core::before{content:"";position:absolute;inset:-14px;border-radius:50%;background:repeating-conic-gradient(var(--fx-gold) 0 4deg,transparent 4deg 15deg);-webkit-mask:radial-gradient(circle,transparent 62%,#000 63% 70%,transparent 71%);mask:radial-gradient(circle,transparent 62%,#000 63% 70%,transparent 71%);animation:fxSpin 20s linear infinite}
.fx-bl-core b{font:400 clamp(20px,5vw,30px)/1 var(--mc-font-heading,Georgia,serif);white-space:nowrap;text-shadow:0 1px 6px rgba(120,80,20,.4)}
.fx-o-bloom.is-ready .fx-bl-petal{animation:fxBreath 3s ease-in-out infinite alternate}
.fx-o-bloom.is-opening .fx-bl-petal{animation:fxPetalOpen 1.4s cubic-bezier(.5,0,.2,1) var(--delay) forwards}
.fx-o-bloom.is-opening .fx-bl-core{animation:fxPop .7s ease forwards}


/* ======================================================================
   PEMBUKA: tetes air & riak (Ivory Shoreline)
   ====================================================================== */
.fx-rp-water{--iris-delay:.75s;background:radial-gradient(circle at 50% 50%,#eef8f8,#bfe0e4 55%,#8cc3cc)}
.fx-rp-water::after{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.22) 0 2px,transparent 2px 26px);animation:fxCaustic 4s linear infinite}
.fx-rp-drop{left:50%;top:-6vh;z-index:5;width:14px;height:20px;margin-left:-7px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:radial-gradient(circle at 35% 35%,#fff,#8fcbd5);box-shadow:0 2px 6px rgba(0,0,0,.15)}
.fx-rp-ring{left:50%;top:50%;z-index:4;width:10px;height:10px;margin:-5px;border:2px solid rgba(255,255,255,.95);border-radius:50%;opacity:0}
.fx-o-ripple .fx-caption{color:#2f6470}
.fx-o-ripple.is-opening .fx-rp-drop{animation:fxDrop .6s cubic-bezier(.55,0,1,.45) forwards}
.fx-o-ripple.is-opening .fx-rp-ring{animation:fxRing 1.5s ease-out var(--delay) forwards}


/* ======================================================================
   PEMBUKA: hembusan daun (Autumn Maple, Sage Serenity)
   ====================================================================== */
.fx-lw-sheet{z-index:1;background:radial-gradient(circle at 50% 40%,var(--fx-paper),var(--fx-env-bg) 85%);transform-origin:0 50%}
.fx-lw-leaf{left:-12vw;top:var(--y);z-index:3;width:var(--s);height:var(--s);background:var(--c);opacity:0}
.fx-lw-leaf.is-maple{-webkit-clip-path:polygon(50% 0,58% 18%,72% 10%,68% 30%,90% 24%,80% 42%,100% 48%,80% 58%,86% 72%,64% 66%,56% 82%,52% 100%,48% 100%,44% 82%,36% 66%,14% 72%,20% 58%,0 48%,20% 42%,10% 24%,32% 30%,28% 10%,42% 18%);clip-path:polygon(50% 0,58% 18%,72% 10%,68% 30%,90% 24%,80% 42%,100% 48%,80% 58%,86% 72%,64% 66%,56% 82%,52% 100%,48% 100%,44% 82%,36% 66%,14% 72%,20% 58%,0 48%,20% 42%,10% 24%,32% 30%,28% 10%,42% 18%)}
.fx-lw-leaf.is-green{height:calc(var(--s) * .6);border-radius:0 90% 0 90%}
.fx-o-leafwind.is-opening .fx-lw-leaf{animation:fxGust var(--d) cubic-bezier(.3,.2,.5,1) var(--delay) forwards}
.fx-o-leafwind.is-opening .fx-lw-sheet{animation:fxWipeRight 1.3s cubic-bezier(.6,0,.3,1) .45s forwards}


/* ======================================================================
   PEMBUKA: mawar mekar (Roseate Dream)
   ====================================================================== */
.fx-ro-bg{background:radial-gradient(circle at 50% 45%,#fff5f4,#f3c9cd 82%)}
.fx-ro-rose{left:50%;top:44%;z-index:4;width:min(56vw,260px);transform:translate(-50%,-50%) scale(.2) rotate(-120deg);opacity:0;filter:drop-shadow(0 16px 26px rgba(150,60,80,.25));transition:transform 1.4s cubic-bezier(.2,.8,.2,1),opacity .6s ease}
.fx-o-rose .fx-caption{color:#9a4659}
.fx-o-rose.is-ready .fx-ro-rose{transform:translate(-50%,-50%) scale(1) rotate(0);opacity:1}
.fx-o-rose.is-opening .fx-ro-rose{transform:translate(-50%,-50%) scale(1.6) rotate(40deg);opacity:0;transition-duration:1s,.8s}
.fx-o-rose.is-opening .fx-ro-bg{animation:fxFadeOut 1s ease .5s forwards}


/* ======================================================================
   PEMBUKA: kipas Tiongkok (Oriental Dynasty)
   ====================================================================== */
.fx-fan-bg{background:radial-gradient(circle at 50% 40%,#b3262b,#5e0c0f 82%)}
.fx-fan-cloud{z-index:2;width:clamp(90px,26vw,200px);opacity:.4}
.fx-fan-cloud svg{transform:scaleX(var(--flip,1))}
.fx-fan{--fan-r:min(46vmin,300px);left:50%;top:60%;z-index:4;width:0;height:0}
.fx-fan-rib{
    position:absolute;
    left:calc(var(--fan-r) * -.11);
    bottom:0;
    width:calc(var(--fan-r) * .22);
    height:var(--fan-r);
    transform-origin:50% 100%;
    transform:rotate(-80deg);
    -webkit-clip-path:polygon(50% 100%,0 0,100% 0);
    clip-path:polygon(50% 100%,0 0,100% 0);
    background:linear-gradient(180deg,var(--fx-gold) 0 5%,#c4262c 5% 62%,#8d1418 62% 64%,#e9c46a 64% 100%);
    transition:transform .7s cubic-bezier(.3,1.2,.5,1) calc(var(--i) * .05s);
}
.fx-fan-rib:nth-child(even){filter:brightness(.88)}
.fx-fan-xi{position:absolute;left:0;bottom:calc(var(--fan-r) * .6);transform:translateX(-50%);color:var(--fx-gold);font:700 calc(var(--fan-r) * .24)/1 'Noto Serif SC','SimSun',serif;text-shadow:0 2px 0 rgba(0,0,0,.25);opacity:0;transition:opacity .5s ease .9s}
.fx-o-fan .fx-caption{color:#f8e3b0}
.fx-o-fan.is-ready .fx-fan-rib{transform:rotate(var(--a))}
.fx-o-fan.is-ready .fx-fan-xi{opacity:1}
.fx-o-fan.is-opening .fx-fan-rib{transform:rotate(80deg);transition-delay:calc((14 - var(--i)) * .025s)}
.fx-o-fan.is-opening .fx-fan-xi{opacity:0;transition-delay:0s}
.fx-o-fan.is-opening .fx-fan{animation:fxFanAway 1s ease-in .5s forwards}
.fx-o-fan.is-opening :is(.fx-fan-bg,.fx-fan-cloud){animation:fxFadeOut .9s ease .7s forwards}


/* ======================================================================
   PEMBUKA: gulungan kaligrafi (Crimson Heritage)
   ====================================================================== */
.fx-sc-bg{background:radial-gradient(circle at 50% 30%,#7e1a1c,#330708 82%)}
.fx-sc{left:50%;top:6vh;z-index:4;width:min(64vw,300px);transform:translateX(-50%)}
.fx-sc-rod{position:relative;z-index:2;display:block;height:16px;margin:0 -18px;border-radius:8px;background:linear-gradient(180deg,#f0cf7a,#8a5a1c);box-shadow:0 4px 10px rgba(0,0,0,.45)}
.fx-sc-rod::before,.fx-sc-rod::after{content:"";position:absolute;top:-4px;width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ffe7a8,#9b6420)}
.fx-sc-rod::before{left:-10px}
.fx-sc-rod::after{right:-10px}
.fx-sc-paper{position:relative;display:grid;justify-items:center;align-content:center;gap:10px;height:0;overflow:hidden;background:linear-gradient(90deg,#ead9b3,#fbf3df 18%,#fbf3df 82%,#ead9b3);box-shadow:inset 0 0 0 10px #fbf3df,inset 0 0 0 12px #c9a24a;color:#8d1418;text-align:center;transition:height 1.5s cubic-bezier(.4,0,.2,1) .25s}
.fx-sc-xi{color:#b3161c;font:700 clamp(64px,22vw,140px)/1 'Noto Serif SC','SimSun',serif}
.fx-sc-paper small{font:600 9px/1.2 system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase;color:#a07a2c}
.fx-sc-paper strong{padding:0 10%;font:400 clamp(20px,5.4vw,30px)/1.2 var(--mc-font-heading,Georgia,serif)}
.fx-o-scroll.is-ready .fx-sc-paper{height:min(68vh,520px)}
.fx-o-scroll.is-opening .fx-sc{animation:fxScrollLift 1s cubic-bezier(.6,0,.3,1) .1s forwards}
.fx-o-scroll.is-opening .fx-sc-bg{animation:fxFadeOut .8s ease .6s forwards}


/* ======================================================================
   PEMBUKA: gunungan wayang (Golden Nusantara)
   ====================================================================== */
.fx-gn-bg{background:radial-gradient(ellipse at 50% 30%,#4a2a16,#150b05 78%)}
.fx-gn-bg::after{content:"";position:absolute;inset:0;background:var(--fx-gold);opacity:.1;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23000'%3E%3Cellipse cx='10' cy='10' rx='9' ry='5' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='9' ry='5' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='9' ry='5' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='9' ry='5' transform='rotate(45 30 30)'/%3E%3C/g%3E%3C/svg%3E") 0 0/44px 44px;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23000'%3E%3Cellipse cx='10' cy='10' rx='9' ry='5' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='9' ry='5' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='9' ry='5' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='9' ry='5' transform='rotate(45 30 30)'/%3E%3C/g%3E%3C/svg%3E") 0 0/44px 44px}
.fx-gn-glow{left:50%;top:-12%;z-index:2;width:130vmin;height:130vmin;margin-left:-65vmin;background:radial-gradient(circle,rgba(255,190,90,.5),transparent 60%);animation:fxFlicker 2.6s ease-in-out infinite}
.fx-gn{left:50%;bottom:22vh;z-index:4;height:min(56vh,500px);aspect-ratio:120/220;transform:translateX(-50%) translateY(40px);transform-origin:50% 100%;opacity:0;filter:drop-shadow(0 20px 30px rgba(0,0,0,.55));transition:opacity .8s ease,transform 1s cubic-bezier(.2,.8,.2,1)}
.fx-gn svg{height:100%;width:auto;transform-origin:50% 100%}
.fx-o-gunungan .fx-caption{color:#f6dca2}
.fx-o-gunungan.is-ready .fx-gn{opacity:1;transform:translateX(-50%)}
.fx-o-gunungan.is-ready .fx-gn svg{animation:fxGunFlutter 2.4s ease-in-out .8s infinite}
.fx-o-gunungan.is-opening .fx-gn{animation:fxGunAway 1.35s cubic-bezier(.6,0,.3,1) forwards}
.fx-o-gunungan.is-opening .fx-gn svg{animation:fxGunFlutter .32s linear 3}
.fx-o-gunungan.is-opening :is(.fx-gn-bg,.fx-gn-glow){animation:fxFadeOut 1s ease .6s forwards}


/* ======================================================================
   PEMBUKA: gerbang candi bentar (Tropical Bali)
   ====================================================================== */
.fx-cd-bg{background:linear-gradient(180deg,#2b2350 0%,#7a3a5c 38%,#e9845a 70%,#f6c27a 100%)}
.fx-cd-sun{left:50%;top:50%;z-index:2;width:min(42vw,230px);aspect-ratio:1;margin-left:calc(min(42vw,230px) / -2);border-radius:50%;background:radial-gradient(circle,#fff1c9,#f7b45d 58%,rgba(247,180,93,0) 72%)}
.fx-cd-half{bottom:0;z-index:4;height:min(72vh,640px);aspect-ratio:100/240;transform:translateY(40%);transform-origin:50% 100%;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.fx-cd-half svg{height:100%;width:auto}
.fx-cd-l{right:calc(50% + 3.5vw)}
.fx-cd-r{left:calc(50% + 3.5vw)}
.fx-cd-r svg{transform:scaleX(-1)}
.fx-cd-half .fx-k-body{fill:#2d201c}
.fx-cd-half .fx-k-line{stroke:rgba(255,200,140,.25);stroke-width:1}
.fx-o-candi.is-ready .fx-cd-half{transform:none}
.fx-o-candi.is-opening .fx-cd-l{animation:fxGateL 1.5s cubic-bezier(.6,0,.25,1) forwards}
.fx-o-candi.is-opening .fx-cd-r{animation:fxGateR 1.5s cubic-bezier(.6,0,.25,1) forwards}
.fx-o-candi.is-opening :is(.fx-cd-bg,.fx-cd-sun){animation:fxFadeOut .9s ease .6s forwards}
.fx-o-candi .fx-frangi-fly{--oy:58%}


/* ======================================================================
   PEMBUKA: gereja fajar + lonceng + merpati (Grace Chapel)
   ====================================================================== */
.fx-ch-bg{background:linear-gradient(180deg,#f6d9b8 0%,#fbe9d2 38%,#fff6ea 62%,#f2e4cf 100%)}
.fx-ch-sun{left:50%;top:18%;z-index:1;width:min(70vw,360px);aspect-ratio:1;margin-left:calc(min(70vw,360px) / -2);border-radius:50%;background:radial-gradient(circle,#fffbe8 0 18%,rgba(255,226,160,.75) 40%,rgba(255,210,140,0) 70%)}
.fx-ch-hills{left:-10%;right:-10%;bottom:0;z-index:3;height:26%;background:radial-gradient(ellipse at 20% 100%,#c9d5ae 0 55%,transparent 56%),radial-gradient(ellipse at 85% 100%,#b9c99c 0 50%,transparent 51%),linear-gradient(transparent 60%,#aebf8e 60%)}
.fx-ch-tree{bottom:12%;left:calc(50% + var(--side) * min(36vw,200px));z-index:3;width:clamp(26px,7vw,46px);margin-left:calc(clamp(26px,7vw,46px) / -2)}
.fx-ch-tree svg{transform:scaleX(var(--side))}
.fx-cy{fill:#6f8c5a}
.fx-cy-t{fill:#6b4a32}
.fx-o-church .fx-ch{z-index:4;aspect-ratio:240/250;filter:drop-shadow(0 18px 30px rgba(120,80,40,.25))}
.fx-o-church.is-ready .fx-c-bell{transform-origin:120px 86px;animation:fxBell 1.1s ease-in-out .6s 3}
.fx-o-church.is-ready :is(.fx-c-g0,.fx-c-g1,.fx-c-g2,.fx-c-g3){animation:fxGlass 2.4s ease-in-out infinite alternate}
.fx-ch-rays{inset:0;z-index:2;background:repeating-conic-gradient(from 0deg at 50% 78%,rgba(255,236,190,.4) 0 5deg,transparent 5deg 15deg);-webkit-mask-image:radial-gradient(circle at 50% 78%,#000 0 20%,transparent 70%);mask-image:radial-gradient(circle at 50% 78%,#000 0 20%,transparent 70%);animation:fxFlicker 4s ease-in-out infinite}
.fx-ch{left:50%;bottom:0;z-index:4;height:min(62vh,560px);aspect-ratio:200/230;transform:translateX(-50%);transform-origin:50% 90%}
.fx-ch svg{height:100%;width:auto}
.fx-ch-light{position:absolute;left:38%;right:38%;bottom:0;height:24%;background:radial-gradient(ellipse at 50% 100%,#fff7d6,rgba(255,240,190,0) 70%);opacity:0}
.fx-ch-dove{left:50%;bottom:9vh;z-index:6;width:clamp(36px,10vw,64px);margin-left:-24px;opacity:0}
.fx-o-church .fx-caption{color:var(--mc-primary)}
.fx-o-church.is-opening .fx-c-leaf-l{transform-origin:104px 250px;animation:fxDoorLeaf .7s ease forwards}
.fx-o-church.is-opening .fx-c-leaf-r{transform-origin:136px 250px;animation:fxDoorLeaf .7s ease forwards}
.fx-o-church.is-opening :is(.fx-ch-sun,.fx-ch-hills,.fx-ch-tree){animation:fxFadeOut .9s ease 1.05s forwards}
.fx-ch-dove{width:calc(clamp(36px,10vw,64px) * var(--s,1))}
.fx-o-church.is-opening .fx-ch-light{animation:fxFadeIn .6s ease .35s forwards}
.fx-o-church.is-opening .fx-ch-dove{animation:fxFlyOut 1.6s cubic-bezier(.3,.1,.3,1) var(--delay) forwards}
.fx-o-church.is-opening .fx-ch{animation:fxEnterDoor 1.3s cubic-bezier(.7,0,.3,1) .8s forwards}
.fx-o-church.is-opening :is(.fx-ch-bg,.fx-ch-rays){animation:fxFadeOut .9s ease 1.05s forwards}


/* ======================================================================
   PEMBUKA: foto polaroid (Rustic Charm)
   ====================================================================== */
.fx-po-bg{background:radial-gradient(circle at 50% 40%,#d9bc8f,#a77f52 90%)}
.fx-po-bg::after{content:"";position:absolute;inset:0;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.fx-po-card{left:50%;top:50%;z-index:4;width:min(70vw,300px);padding:14px 14px 0;background:#fffdf8;box-shadow:0 24px 44px rgba(60,40,20,.38);transform:translate(-50%,-170%) rotate(-14deg);transition:transform 1s cubic-bezier(.3,1.3,.5,1)}
.fx-po-pin{position:absolute;left:50%;top:-16px;width:16px;height:36px;margin-left:-8px;border-radius:3px;background:linear-gradient(90deg,#a87d4f,#e2c193,#a87d4f);box-shadow:0 2px 4px rgba(0,0,0,.3)}
.fx-po-photo{aspect-ratio:1;background:#2b2b2b center/cover no-repeat;filter:grayscale(1) brightness(.22) blur(3px);transition:filter 1.6s ease .7s}
.fx-po-cap{display:block;padding:14px 4px 18px;color:#3b2f25;text-align:center;font:400 clamp(20px,5.6vw,28px)/1.2 'Segoe Script','Brush Script MT',cursive}
.fx-o-polaroid.is-ready .fx-po-card{transform:translate(-50%,-55%) rotate(-3deg)}
.fx-o-polaroid.is-ready .fx-po-photo{filter:none}
.fx-o-polaroid.is-opening .fx-po-card{transform:translate(70%,-150%) rotate(30deg);transition:transform .9s cubic-bezier(.6,0,.4,1)}
.fx-o-polaroid.is-opening .fx-po-bg{animation:fxFadeOut .8s ease .4s forwards}


/* ======================================================================
   PEMBUKA: dreamcatcher (Bohemian Love)
   ====================================================================== */
.fx-dc-bg{background:radial-gradient(circle at 50% 30%,#f7e6cd,#c98b62 92%)}
.fx-dc-bg::after{content:"";position:absolute;left:50%;bottom:-40vmax;width:110vmax;height:110vmax;margin-left:-55vmax;background:repeating-conic-gradient(rgba(255,255,255,.14) 0 3deg,transparent 3deg 12deg);border-radius:50%}
.fx-dc{left:50%;top:0;z-index:4;width:min(46vw,220px);transform:translateX(-50%) translateY(-70vh);transform-origin:50% 0;transition:transform 1.1s cubic-bezier(.3,1.2,.5,1)}
.fx-dc::before{content:"";position:absolute;left:50%;top:-30vh;width:2px;height:30vh;background:#8a5a3c}
.fx-dc-art{position:relative}
.fx-dc-feather{position:absolute;left:var(--x);top:95%;width:16%;margin-left:-8%;transform-origin:50% 0;animation:fxHang 2.2s ease-in-out calc(var(--i) * -.6s) infinite alternate}
.fx-o-dreamcatcher .fx-caption{color:#6b3a22}
.fx-o-dreamcatcher.is-ready .fx-dc{transform:translateX(-50%) translateY(6vh);animation:fxSwing 3s ease-in-out 1s infinite}
.fx-o-dreamcatcher.is-opening .fx-dc-feather{animation:fxFeatherFall 1.6s ease-in calc(var(--i) * .12s) forwards}
.fx-o-dreamcatcher.is-opening .fx-dc-art{animation:fxLiftAway 1s ease-in .4s forwards}
.fx-o-dreamcatcher.is-opening .fx-dc-bg{animation:fxFadeOut .9s ease .6s forwards}


/* ======================================================================
   PEMBUKA: ombak surut (Ocean Breeze)
   ====================================================================== */
.fx-td-bg{background:linear-gradient(180deg,#d4eef2,#7fbdcb)}
.fx-td-wave{
    left:-10%;
    right:-10%;
    bottom:0;
    z-index:calc(3 + var(--i));
    height:calc(100% - var(--i) * 20%);
    background:linear-gradient(180deg,rgba(255,255,255,.95) 0 34px,var(--wc,#2f8aa3) 52px);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C100 0 200 60 300 30 S500 0 600 30 S700 60 800 30 V60 H0Z'/%3E%3C/svg%3E") 0 0/50% 40px repeat-x,linear-gradient(#000,#000) 0 39px/100% 100% no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C100 0 200 60 300 30 S500 0 600 30 S700 60 800 30 V60 H0Z'/%3E%3C/svg%3E") 0 0/50% 40px repeat-x,linear-gradient(#000,#000) 0 39px/100% 100% no-repeat;
    animation:fxWaveBob calc(3s + var(--i) * .7s) ease-in-out infinite alternate;
}
.fx-td-wave:nth-of-type(1){--wc:#2f8aa3}
.fx-td-wave:nth-of-type(2){--wc:#4fa9bd}
.fx-td-wave:nth-of-type(3){--wc:#86c9d6}
.fx-o-tide.is-opening .fx-td-wave{animation:fxTideOut 1.3s cubic-bezier(.6,0,.3,1) calc((2 - var(--i)) * .15s) forwards}
.fx-o-tide.is-opening .fx-td-bg{animation:fxFadeOut .8s ease .7s forwards}


/* ======================================================================
   PEMBUKA: gelembung bawah air (Blue Lagoon)
   ====================================================================== */
.fx-bb-bg{overflow:hidden;background:linear-gradient(180deg,#2e86a6,#0a3350)}
.fx-bb-bg::before{content:"";position:absolute;inset:-20%;background:repeating-linear-gradient(100deg,rgba(255,255,255,.08) 0 24px,transparent 24px 90px);animation:fxRays 9s linear infinite}
.fx-bb{position:absolute;left:var(--x);bottom:-30px;width:var(--s);height:var(--s);border:1px solid rgba(255,255,255,.5);border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.85),rgba(255,255,255,.08) 60%);animation:fxBubbleUp var(--d) linear var(--delay) infinite}
.fx-o-bubbles.is-opening .fx-bb-bg{animation:fxSurface 1.3s cubic-bezier(.6,0,.3,1) forwards}


/* ======================================================================
   PEMBUKA: matahari terbenam (Sunset Reverie)
   ====================================================================== */
.fx-ss-sky{left:0;right:0;top:0;height:56%;overflow:hidden;background:linear-gradient(180deg,#3b2d63,#c2537a 55%,#f39a5b 88%,#ffd38a)}
.fx-ss-sun{position:absolute;left:50%;bottom:0;width:min(46vw,240px);aspect-ratio:1;transform:translate(-50%,62%);border-radius:50%;background:radial-gradient(circle,#fff6d5,#ffc56b 55%,#ff8c4a);box-shadow:0 0 90px 24px rgba(255,170,90,.6);transition:transform 1.6s cubic-bezier(.2,.8,.2,1)}
.fx-ss-sea{left:0;right:0;bottom:0;height:44%;overflow:hidden;background:linear-gradient(180deg,#e9846a,#6a3b6b 50%,#2a2350)}
.fx-ss-glint{position:absolute;left:50%;top:0;width:min(40vw,200px);height:80%;transform:translateX(-50%);background:repeating-linear-gradient(180deg,rgba(255,220,160,.75) 0 3px,transparent 3px 12px);-webkit-mask:linear-gradient(#000,transparent);mask:linear-gradient(#000,transparent);opacity:0;transition:opacity 1s ease .8s}
.fx-o-sunset.is-ready .fx-ss-sun{transform:translate(-50%,10%)}
.fx-o-sunset.is-ready .fx-ss-glint{opacity:.8}
.fx-o-sunset.is-opening .fx-ss-sky{animation:fxUp 1.3s cubic-bezier(.6,0,.3,1) .1s forwards}
.fx-o-sunset.is-opening .fx-ss-sea{animation:fxDown 1.3s cubic-bezier(.6,0,.3,1) .1s forwards}


/* ======================================================================
   PEMBUKA: bukit pasir (Desert Breeze)
   ====================================================================== */
.fx-du-bg{background:linear-gradient(180deg,#f8dcb4,#f1b981 60%,#e49a62)}
.fx-du-sun{left:66%;top:16%;z-index:2;width:min(30vw,170px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff4d6,#ffd08a 60%,rgba(255,208,138,0) 72%)}
.fx-du-dune{
    left:-10%;
    right:-10%;
    bottom:0;
    z-index:calc(3 + var(--i));
    height:calc(48% - var(--i) * 12%);
    background:var(--dc,#e3a46b);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C160 10 300 90 460 40 S700 30 800 60 V200 H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C160 10 300 90 460 40 S700 30 800 60 V200 H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
}
.fx-du-dune:nth-of-type(1){--dc:#e3a46b}
.fx-du-dune:nth-of-type(2){--dc:#cf8a54;transform:scaleX(-1)}
.fx-du-dune:nth-of-type(3){--dc:#b5703f}
.fx-du-sand{left:-10%;top:var(--y);z-index:7;width:var(--w);height:1.5px;background:linear-gradient(90deg,transparent,rgba(255,240,210,.9));animation:fxSandFly var(--d) linear var(--delay) infinite}
.fx-o-dunes .fx-caption{color:#7a4422}
.fx-o-dunes.is-opening .fx-du-dune{animation:fxDuneOut 1.4s cubic-bezier(.6,0,.3,1) calc(var(--i) * .1s) forwards}
.fx-o-dunes.is-opening :is(.fx-du-bg,.fx-du-sun){animation:fxFadeOut .9s ease .6s forwards}


/* ======================================================================
   PEMBUKA: hutan pinus berlapis (Forest Whisper)
   ====================================================================== */
.fx-fo-bg{background:radial-gradient(ellipse at 50% 32%,#4d7a5f,#0f2117 82%)}
.fx-fo-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 70%,rgba(220,240,210,.3),transparent 60%);animation:fxFlicker 5s ease-in-out infinite}
.fx-fo-row{
    bottom:-1%;
    z-index:calc(3 + var(--row));
    width:58%;
    height:calc(44% + var(--row) * 15%);
    transform-origin:50% 100%;
    background:var(--tree,#1f3528);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M50 0 80 50H64l26 40H70l26 46H58v24H42v-24H4l26-46H10l26-40H20z'/%3E%3C/svg%3E") 0 100%/auto 100% repeat-x,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M50 0 80 50H64l26 40H70l26 46H58v24H42v-24H4l26-46H10l26-40H20z'/%3E%3C/svg%3E") 34px 100%/auto 72% repeat-x;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M50 0 80 50H64l26 40H70l26 46H58v24H42v-24H4l26-46H10l26-40H20z'/%3E%3C/svg%3E") 0 100%/auto 100% repeat-x,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M50 0 80 50H64l26 40H70l26 46H58v24H42v-24H4l26-46H10l26-40H20z'/%3E%3C/svg%3E") 34px 100%/auto 72% repeat-x;
}
.fx-fo-row:nth-of-type(1),.fx-fo-row:nth-of-type(2){--tree:#355a44}
.fx-fo-row:nth-of-type(3),.fx-fo-row:nth-of-type(4){--tree:#21402f}
.fx-fo-row:nth-of-type(5),.fx-fo-row:nth-of-type(6){--tree:#0f1f16}
.fx-fo-l{left:-3%}
.fx-fo-r{right:-3%}
.fx-fo-fly{left:var(--x);top:var(--y);z-index:7;width:5px;height:5px;border-radius:50%;background:#f5ffb0;box-shadow:0 0 10px 3px rgba(220,255,120,.6);animation:fxFirefly var(--d) ease-in-out var(--delay) infinite}
.fx-o-forest.is-opening .fx-fo-l{animation:fxForestL 1.6s cubic-bezier(.6,0,.25,1) calc((2 - var(--row)) * .08s) forwards}
.fx-o-forest.is-opening .fx-fo-r{animation:fxForestR 1.6s cubic-bezier(.6,0,.25,1) calc((2 - var(--row)) * .08s) forwards}
.fx-o-forest.is-opening :is(.fx-fo-bg,.fx-fo-fly){animation:fxFadeOut 1s ease .7s forwards}


/* ======================================================================
   PEMBUKA: tongkat peri menggambar hati (Enchanted Garden)
   ====================================================================== */
.fx-fy-bg{--iris-delay:.45s;background:radial-gradient(1.5px 1.5px at 20% 30%,#fff,transparent),radial-gradient(1.5px 1.5px at 70% 20%,#fff,transparent),radial-gradient(1px 1px at 40% 70%,#fff,transparent),radial-gradient(1px 1px at 85% 60%,#fff,transparent),radial-gradient(ellipse at 50% 40%,#3b2a5e,#100822 82%)}
.fx-fy-heart{left:50%;top:44%;z-index:5;width:min(60vw,280px);transform:translate(-50%,-50%);filter:drop-shadow(0 0 6px #ffe08a) drop-shadow(0 0 18px rgba(255,200,120,.65))}
.fx-fy-path{stroke:#ffeab0;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s ease-in-out .3s}
.fx-o-fairy.is-ready .fx-fy-path{stroke-dashoffset:0}
.fx-o-fairy.is-opening .fx-fy-heart{animation:fxHeartOut 1s ease forwards}


/* ======================================================================
   PEMBUKA: bulan & rasi bintang (Celestial Love)
   ====================================================================== */
.fx-mo-bg{--iris-delay:.3s;background:radial-gradient(1.5px 1.5px at 15% 20%,#fff,transparent),radial-gradient(1px 1px at 80% 15%,#fff,transparent),radial-gradient(1.5px 1.5px at 60% 80%,#fff,transparent),radial-gradient(1px 1px at 30% 60%,#fff,transparent),radial-gradient(1px 1px at 90% 70%,#fff,transparent),radial-gradient(ellipse at 50% 30%,#1d2b5a,#060a1b 82%)}
.fx-mo-moon{left:50%;top:34%;z-index:5;width:min(30vw,150px);transform:translate(-50%,70vh);filter:drop-shadow(0 0 24px rgba(255,240,190,.75));transition:transform 1.4s cubic-bezier(.2,.8,.2,1)}
.fx-mo-cons{left:50%;top:50%;z-index:5;width:min(40vw,200px);transform:translateX(-50%)}
.fx-mo-line{stroke:rgba(255,255,255,.62);stroke-width:.8;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.2s ease .9s}
.fx-mo-star{fill:#fff;opacity:0;transition:opacity .3s ease calc(.6s + var(--i) * .1s)}
.fx-o-moon.is-ready .fx-mo-moon{transform:translate(-50%,-50%)}
.fx-o-moon.is-ready .fx-mo-line{stroke-dashoffset:0}
.fx-o-moon.is-ready .fx-mo-star{opacity:1}
.fx-o-moon.is-opening .fx-mo-moon{animation:fxMoonOut 1.2s ease forwards}
.fx-o-moon.is-opening .fx-mo-cons{animation:fxFadeOut .6s ease forwards}


/* ======================================================================
   PEMBUKA: lompatan hyperspace (Love Galaxy)
   ====================================================================== */
.fx-wp-bg{background:radial-gradient(ellipse at 30% 35%,rgba(150,80,220,.35),transparent 45%),radial-gradient(ellipse at 72% 68%,rgba(60,120,230,.3),transparent 45%),radial-gradient(circle at 50% 50%,#2a1452,#05030d 72%)}
.fx-wp-streak{left:50%;top:50%;z-index:3;width:var(--w,2px);height:7vmin;margin-left:calc(var(--w,2px) / -2);border-radius:2px;transform-origin:50% 0;transform:rotate(var(--a)) translateY(var(--r0)) scaleY(.25);background:linear-gradient(180deg,rgba(255,255,255,0),var(--c,#fff));box-shadow:0 0 6px var(--c,#fff);opacity:.45;animation:fxTwinkleSoft 2s ease-in-out var(--delay) infinite alternate}
.fx-o-warp{--flash-delay:.95s}
.fx-o-warp.is-opening .fx-wp-streak{animation:fxWarp var(--d) cubic-bezier(.5,0,1,.6) var(--delay) forwards}
.fx-o-warp.is-opening .fx-wp-bg{animation:fxFadeOut .4s ease 1.15s forwards}


/* ======================================================================
   PEMBUKA: tirai aurora (Aurora Dream)
   ====================================================================== */
.fx-au-sky{overflow:hidden;background:radial-gradient(1.5px 1.5px at 20% 20%,#fff,transparent),radial-gradient(1px 1px at 75% 30%,#fff,transparent),radial-gradient(1px 1px at 50% 12%,#fff,transparent),linear-gradient(180deg,#0b1430,#18305a 60%,#2d5470)}
.fx-au-band{position:absolute;left:-30%;top:calc(6% + var(--i) * 12%);width:160%;height:34%;border-radius:50%;background:linear-gradient(90deg,transparent,rgba(80,255,190,.55),rgba(120,200,255,.45),rgba(190,120,255,.42),transparent);filter:blur(18px);mix-blend-mode:screen;animation:fxAurora calc(6s + var(--i) * 2s) ease-in-out infinite alternate}
.fx-au-mount{left:0;right:0;bottom:0;z-index:3;height:26vh}
.fx-au-mount svg{height:100%}
.fx-mt-b{fill:#16223f}
.fx-mt-f{fill:#0b1327}
.fx-o-aurora.is-opening .fx-au-sky{animation:fxUp 1.4s cubic-bezier(.6,0,.3,1) .2s forwards}
.fx-o-aurora.is-opening .fx-au-mount{animation:fxDown 1.2s cubic-bezier(.6,0,.3,1) .1s forwards}


/* ======================================================================
   PEMBUKA: awan tersibak (Pastel Dream)
   ====================================================================== */
.fx-cl-bg{background:linear-gradient(180deg,#e7e2fb,#fbe4ee 60%,#fdf3e7)}
.fx-cl-cloud{
    top:var(--y);
    left:calc(50% - var(--w) / 2 + var(--side) * 24vw);
    z-index:3;
    width:var(--w);
    aspect-ratio:2.4;
    transform:translateY(-50%) scale(var(--k));
    background:radial-gradient(circle at 28% 62%,#fff 0 22%,transparent 23%),radial-gradient(circle at 52% 42%,#fff 0 29%,transparent 30%),radial-gradient(circle at 76% 60%,#fff 0 21%,transparent 22%),radial-gradient(ellipse at 50% 76%,#fff 0 47%,transparent 48%);
    filter:drop-shadow(0 12px 22px rgba(150,130,190,.22));
}
.fx-o-clouds .fx-caption{z-index:9;color:#6f4f8c;text-shadow:0 1px 12px #fff}
.fx-o-clouds.is-opening .fx-cl-cloud{animation:fxCloudOut 1.5s cubic-bezier(.6,0,.3,1) var(--delay) forwards}
.fx-o-clouds.is-opening .fx-cl-bg{animation:fxFadeOut 1s ease .5s forwards}


/* ======================================================================
   PEMBUKA: kupu-kupu membentuk hati (Lilac Fantasy)
   ====================================================================== */
.fx-sw-bg{background:radial-gradient(circle at 50% 45%,#f8f2ff,#d6c4ef 82%)}
.fx-sw-fly{left:50%;top:44%;z-index:4;width:calc(30px * var(--s,1));margin:-12px 0 0 -15px;transform:translate(var(--hx),var(--hy))}
.fx-o-swarm.is-opening .fx-sw-fly{animation:fxSwarmOut 1.5s cubic-bezier(.3,.1,.3,1) var(--delay) forwards}
.fx-o-swarm.is-opening .fx-sw-bg{animation:fxFadeOut 1s ease .4s forwards}
.fx-o-swarm .fx-mono{top:42%}


/* ======================================================================
   PEMBUKA: hati berdetak (Pink Romance)
   ====================================================================== */
.fx-ht-bg{--iris-delay:.55s;background:radial-gradient(circle at 50% 45%,#ffeef2,#f3b2c2 82%)}
.fx-ht{left:50%;top:46%;z-index:5;width:min(56vw,260px);transform:translate(-50%,-50%);filter:drop-shadow(0 18px 30px rgba(200,60,100,.3));animation:fxBeat 1.1s ease-in-out .3s 2}
.fx-ht .fx-heart{fill:#e9567a}
.fx-ht-ini{position:absolute;inset:0 0 12%;display:grid;place-items:center;color:#fff;font:400 clamp(24px,6vw,36px)/1 var(--mc-font-heading,Georgia,serif);white-space:nowrap}
.fx-o-heart.is-opening .fx-ht{animation:fxHeartOut .8s ease forwards}


/* ======================================================================
   PEMBUKA: gelas sampanye bersulang (Champagne Blush)
   ====================================================================== */
.fx-cp-bg{background:radial-gradient(circle at 50% 40%,#5d3d41,#1f1416 82%)}
.fx-cp-glass{bottom:22vh;z-index:4;height:min(42vh,320px);aspect-ratio:60/160;transition:transform 1s cubic-bezier(.3,1.2,.5,1)}
.fx-cp-glass svg{height:100%;width:auto}
.fx-cp-l{right:50%;transform-origin:100% 100%;transform:translateX(-60vw) rotate(-20deg)}
.fx-cp-r{left:50%;transform-origin:0 100%;transform:translateX(60vw) rotate(20deg)}
.fx-cp-clink{left:50%;bottom:calc(22vh + min(42vh,320px) * .95);z-index:5;width:70px;height:70px;margin:0 0 -35px -35px;border-radius:50%;background:radial-gradient(circle,#fff,rgba(255,230,160,.85) 30%,transparent 62%);opacity:0;transform:scale(.2)}
.fx-o-champagne.is-ready .fx-cp-l{transform:translateX(2px) rotate(12deg)}
.fx-o-champagne.is-ready .fx-cp-r{transform:translateX(-2px) rotate(-12deg)}
.fx-o-champagne.is-ready .fx-cp-clink{animation:fxClink .6s ease 1.05s forwards}
.fx-o-champagne.is-opening .fx-cp-l{transform:translateX(-70vw) rotate(-30deg);transition:transform .9s ease-in}
.fx-o-champagne.is-opening .fx-cp-r{transform:translateX(70vw) rotate(30deg);transition:transform .9s ease-in}
.fx-o-champagne.is-opening .fx-cp-bg{animation:fxFadeOut .9s ease .6s forwards}


/* ======================================================================
   PEMBUKA: rana kamera (Monochrome Story)
   ====================================================================== */
.fx-sh-blade{left:50%;top:50%;z-index:2;width:300vmax;height:150vmax;margin-left:-150vmax;margin-top:-150vmax;transform-origin:50% 100%;transform:rotate(var(--a)) translateY(-16vmin);background:linear-gradient(180deg,#2c2c2c,#121212 70%,#3a3a3a);box-shadow:0 0 0 1px rgba(255,255,255,.08);transition:transform .6s cubic-bezier(.5,0,.3,1)}
.fx-sh-lens{left:50%;top:50%;z-index:3;width:min(80vmin,520px);aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid rgba(255,255,255,.25);border-radius:50%;box-shadow:0 0 0 12px rgba(255,255,255,.04),inset 0 0 0 30px rgba(255,255,255,.03)}
.fx-o-shutter{--flash-delay:.3s}
.fx-o-shutter.is-ready .fx-sh-blade{transform:rotate(var(--a)) translateY(0)}
.fx-o-shutter.is-opening .fx-sh-blade{animation:fxBlade 1s cubic-bezier(.6,0,.3,1) .1s forwards}
.fx-o-shutter.is-opening .fx-sh-lens{animation:fxFadeOut .5s ease forwards}


/* ======================================================================
   PEMBUKA: hitung mundur film (Vintage Romance)
   ====================================================================== */
.fx-fm-bg{background:radial-gradient(circle,#6b5a43,#1c150e 82%);animation:fxFilmFlicker .18s steps(2) infinite}
.fx-fm{left:50%;top:50%;z-index:3;width:min(70vmin,420px);aspect-ratio:1;transform:translate(-50%,-50%);overflow:hidden;border:3px solid rgba(255,240,210,.85);border-radius:50%;box-shadow:inset 0 0 0 12px rgba(0,0,0,.2),inset 0 0 0 14px rgba(255,240,210,.6)}
.fx-fm::before,.fx-fm::after{content:"";position:absolute;background:rgba(255,240,210,.55)}
.fx-fm::before{left:50%;top:0;bottom:0;width:1px}
.fx-fm::after{top:50%;left:0;right:0;height:1px}
.fx-fm-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(rgba(255,240,210,.35) var(--fx-sweep),transparent var(--fx-sweep));animation:fxSweep .7s linear 3}
.fx-fm-n{position:absolute;inset:0;display:grid;place-items:center;color:#f4e7cf;font:700 clamp(90px,30vmin,200px)/1 Georgia,serif;opacity:0;animation:fxNumber .7s steps(1,end) calc(var(--i) * .7s) forwards}
.fx-fm-scratch{inset:0;z-index:4;background:repeating-linear-gradient(90deg,transparent 0 60px,rgba(255,255,255,.08) 60px 61px,transparent 61px 140px);mix-blend-mode:screen;animation:fxScratch .25s steps(2) infinite}
.fx-o-film{--flash-delay:.05s}
.fx-o-film.is-opening :is(.fx-fm,.fx-fm-bg,.fx-fm-scratch){animation:fxFadeOut .4s ease .2s forwards}


/* ======================================================================
   PEMBUKA: sampul majalah (Editorial Noir)
   ====================================================================== */
.fx-o-magazine{perspective:1600px}
.fx-mg-bg{background:#0b0b0b}
.fx-mg{left:50%;top:50%;z-index:4;height:min(80vh,640px);max-width:88vw;aspect-ratio:3/4;overflow:hidden;color:#fff;background:#1a1a1a;box-shadow:0 30px 70px rgba(0,0,0,.6);transform:translate(-50%,-40%);transform-origin:0 50%;opacity:0;transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .6s ease}
.fx-mg-photo{position:absolute;inset:0;background:#333 center/cover no-repeat;filter:grayscale(1) contrast(1.15) brightness(.78)}
.fx-mg-mast{position:absolute;left:5%;right:5%;top:4%;color:#fff;text-align:center;font:700 clamp(38px,10vmin,88px)/.9 'Didot','Bodoni MT',Georgia,serif;letter-spacing:-.02em}
.fx-mg-issue{position:absolute;left:6%;top:calc(6% + clamp(38px,10vmin,88px));color:var(--fx-gold);font:600 10px/1.3 system-ui,sans-serif;letter-spacing:.3em;text-transform:uppercase}
.fx-mg-head{position:absolute;left:6%;right:6%;bottom:11%;font:italic 400 clamp(26px,6vmin,46px)/1.05 Georgia,serif;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.fx-mg-bar{position:absolute;right:6%;bottom:3%;width:64px;height:28px;background:repeating-linear-gradient(90deg,#fff 0 2px,transparent 2px 3px,#fff 3px 4px,transparent 4px 7px);opacity:.9}
.fx-o-magazine.is-ready .fx-mg{opacity:1;transform:translate(-50%,-50%)}
.fx-o-magazine.is-opening .fx-mg{animation:fxBookOpen 1.2s cubic-bezier(.6,0,.3,1) forwards}
.fx-o-magazine.is-opening .fx-mg-bg{animation:fxFadeOut .8s ease .4s forwards}


/* ======================================================================
   PEMBUKA: garis tipis (Pure White)
   ====================================================================== */
.fx-ln-half{left:0;right:0;z-index:1;height:50.5%;background:#fff}
.fx-ln-top{top:0}
.fx-ln-bot{bottom:0}
.fx-ln-frame{left:50%;top:50%;z-index:3;width:min(76vw,360px);height:min(70vh,480px);transform:translate(-50%,-50%)}
.fx-ln-frame svg{height:100%}
.fx-ln-rect{stroke:var(--fx-gold);stroke-width:1.2;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.4s ease .2s}
.fx-ln-in{stroke-width:.6;transition-delay:.55s}
.fx-o-linework .fx-caption{color:#2a2a2a}
.fx-o-linework.is-ready .fx-ln-rect{stroke-dashoffset:0}
.fx-o-linework.is-opening .fx-ln-top{animation:fxUp 1.1s cubic-bezier(.6,0,.3,1) .25s forwards}
.fx-o-linework.is-opening .fx-ln-bot{animation:fxDown 1.1s cubic-bezier(.6,0,.3,1) .25s forwards}
.fx-o-linework.is-opening .fx-ln-frame{animation:fxFadeOut .4s ease forwards}


/* ======================================================================
   PEMBUKA: tinta menyebar (Modern Minimal)
   ====================================================================== */
.fx-ik-paper{background:#f7f5f0}
.fx-ik-blob{--iris-delay:.05s;z-index:2;background:#111;transform:scale(0);border-radius:43% 57% 61% 39%/45% 41% 59% 55%}
.fx-ik-dot{left:var(--x);top:var(--y);z-index:3;width:var(--s);height:var(--s);border-radius:50%;background:#111;transform:scale(0)}
.fx-ik-mono{opacity:0;transition:opacity .5s ease 1.1s}
.fx-o-ink.is-ready .fx-ik-blob{animation:fxInkGrow 1.1s cubic-bezier(.3,.6,.2,1) .2s forwards}
.fx-o-ink.is-ready .fx-ik-paper{animation:fxFadeOut .2s ease 1.25s forwards}
.fx-o-ink.is-ready .fx-ik-dot{animation:fxInkDot 1.2s ease var(--delay) forwards}
.fx-o-ink.is-ready .fx-ik-mono{opacity:1}
.fx-o-ink.is-opening .fx-ik-mono{opacity:0;transition-delay:0s}
.fx-o-ink.is-opening .fx-ik-blob{animation:fxInkGrow 1.1s cubic-bezier(.3,.6,.2,1) .2s forwards,fxIris 1.2s cubic-bezier(.6,0,.3,1) .1s forwards}


/* ======================================================================
   ILUSTRASI (warna SVG, mengikuti palette theme)
   ====================================================================== */
.fx-dv-b{fill:#fff}
.fx-dv-w{fill:#e6e3ee}
.fx-c-wall{fill:#fffaf0;stroke:#c9a46a;stroke-width:1.5}
.fx-c-roof{fill:#8a5a3c;stroke:#c9a46a;stroke-width:1.2}
.fx-c-trim{stroke:#c9a46a;stroke-width:2}
.fx-c-ring{fill:#fffaf0;stroke:#c9a46a;stroke-width:2}
.fx-c-step{fill:#e7dccb}
.fx-c-g0{fill:#c0392b}
.fx-c-g1{fill:#2e6fb4}
.fx-c-g2{fill:#e2b440}
.fx-c-g3{fill:#3f8a5a}
.fx-c-gold,.fx-k-gold,.fx-g-gold,.fx-fa-gold,.fx-deco-dot{fill:var(--fx-gold)}
.fx-c-win{fill:#f7d98b;stroke:var(--fx-gold);stroke-width:1}
.fx-c-lead{stroke:rgba(90,60,30,.55);stroke-width:1}
.fx-c-door{fill:#fff3c4}
.fx-c-leaf{fill:#7a4a2a;stroke:var(--fx-gold);stroke-width:1}
.fx-g-body{fill:#7a2e1b;stroke:var(--fx-gold);stroke-width:2.5}
.fx-g-rim{stroke:var(--fx-gold);stroke-width:1.2;stroke-dasharray:3 3}
.fx-g-tree{stroke:var(--fx-gold);stroke-width:2.4;stroke-linecap:round}
.fx-g-leaf{fill:#e9c46a}
.fx-g-gate{fill:#3b1d12;stroke:var(--fx-gold);stroke-width:1.5}
.fx-k-body{fill:#4a362b}
.fx-k-line{stroke:rgba(255,220,170,.22);stroke-width:1}
.fx-kw{fill:var(--fx-gold)}
.fx-kw-ring{stroke:var(--fx-gold);stroke-width:1.5}
.fx-kw-dot{fill:var(--mc-primary)}
.fx-stem{stroke:#6f7f55;stroke-width:2;stroke-linecap:round}
.fx-leaf{fill:#7f9a68}
.fx-leaf-sage{fill:#9fb59a}
.fx-leaf-tropic{fill:#2f6e45}
.fx-fern{fill:#5f8a52}
.fx-palm{fill:#3f7a4a}
.fx-palm-rib{stroke:#2f5c38;stroke-width:3;stroke-linecap:round}
.fx-r-o{fill:#eba7b3}
.fx-r-m{fill:#df8597}
.fx-r-s{stroke:#a94e62;stroke-width:2.4;stroke-linecap:round}
.fx-bud{fill:#eba7b3}
.fx-fr-p{fill:#fffaf0;stroke:rgba(150,120,60,.18);stroke-width:1}
.fx-fr-y{fill:#f6c94c}
.fx-fr-c{fill:#e3a92b}
.fx-mp1{fill:#c8551d}
.fx-mp2{fill:#e08a2c}
.fx-mp3{fill:#a8321e}
.fx-twig{stroke:#6b4a32;stroke-width:3;stroke-linecap:round}
.fx-pb-p{fill:#f6bfcb}
.fx-pb-c{fill:#c0475e}
.fx-ln-str{stroke:#c9a24a;stroke-width:1.2}
.fx-ln-cap{fill:#d4a844}
.fx-ln-body{fill:#c81f25}
.fx-ln-rib{stroke:rgba(255,214,120,.6);stroke-width:1.2}
.fx-ln-tas{stroke:#d4a844;stroke-width:1.2}
.fx-fa-body{fill:var(--fx-deep);stroke:var(--fx-gold);stroke-width:1}
.fx-fa-glass{fill:#ffd77a;animation:fxLampGlow 2.4s ease-in-out infinite alternate}
.fx-fa-line{stroke:var(--fx-gold);stroke-width:1}
.fx-xy{fill:var(--fx-gold);opacity:.85}
.fx-xy-l{stroke:var(--fx-deep);stroke-width:2;stroke-linecap:round}
.fx-moon{fill:#fdf3c8}
.fx-pl{fill:var(--fx-gold)}
.fx-pl-ring{stroke:var(--fx-gold);stroke-width:2.2;opacity:.8}
.fx-pl-band{stroke:rgba(255,255,255,.28);stroke-width:3}
.fx-planet-2 .fx-pl{fill:#b9a5dc}
.fx-s8{fill:var(--fx-gold)}
.fx-s8c{fill:var(--mc-primary)}
.fx-s8d{fill:var(--fx-gold)}
.fx-st4{fill:#fff8e1}
.fx-cons{stroke:rgba(255,255,255,.55);stroke-width:.8}
.fx-cons-s{fill:#fff}
.fx-fl-glass{fill:rgba(255,255,255,.2);stroke:rgba(255,255,255,.75);stroke-width:1.2}
.fx-fl-wine{fill:#f2c86b}
.fx-fl-bub{fill:#fff}
.fx-deco{stroke:var(--fx-gold);stroke-width:1.4}
.fx-sw{fill:var(--fx-deep)}
.fx-sw-d{stroke:rgba(0,0,0,.25);stroke-width:2}
.fx-sw-g{stroke:var(--fx-gold);stroke-width:3}
.fx-sw-t{fill:var(--fx-gold);stroke:var(--fx-gold);stroke-width:2}
.fx-wire{stroke:#5a4a3a;stroke-width:1.4}
.fx-bulb{fill:#ffe6a0;animation:fxBulb 1.6s ease-in-out calc(var(--i) * -.3s) infinite alternate}
.fx-heart{fill:#e9849b}
.fx-fe{fill:#f4ecdf}
.fx-fe-r{stroke:#b89d7a;stroke-width:1.2}
.fx-dc-ring{stroke:#8a5a3c;stroke-width:3}
.fx-dc-web{stroke:#c9a27a;stroke-width:1}
.fx-dc-bead{fill:#c0563b}
.fx-dc-str{stroke:#8a5a3c;stroke-width:1.2}
.fx-pine{fill:#29402f}
.fx-olive .fx-leaf{fill:#97a77a}
.fx-dark .fx-leaf{fill:#3f5f45}
.fx-dry .fx-leaf-sage{fill:#c7b08a}
.fx-blushrose .fx-r-o{fill:#f1c7c9}
.fx-blushrose .fx-r-m{fill:#e8aeb2}
.fx-glowflower svg{filter:drop-shadow(0 0 8px rgba(255,220,240,.7))}
.fx-glow svg{filter:drop-shadow(0 0 22px rgba(255,240,190,.7))}
.fx-mount,.fx-mount>div,.fx-mount svg{height:100%}
.fx-mount .fx-mt-b{fill:rgba(10,18,40,.45)}
.fx-mount .fx-mt-f{fill:rgba(6,10,24,.6)}


/* ======================================================================
   ILUSTRASI COVER + PARALLAX
   ====================================================================== */
.fx-decor{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none}
.fx-dl{position:absolute;transform:translate3d(calc(var(--px,0) * var(--depth,0) * 1px),calc(var(--py,0) * var(--depth,0) * 1px),0);will-change:transform}
.fx-dl svg{display:block;width:100%;height:auto;overflow:visible}
.fx-art{opacity:0;animation:fxInFade 1.3s cubic-bezier(.2,.8,.2,1) var(--delay,.3s) forwards}
.fx-in-fall{animation-name:fxInFall}
.fx-in-rise{animation-name:fxInRise}
.fx-in-left{animation-name:fxInLeft}
.fx-in-right{animation-name:fxInRight}
.fx-in-grow{animation-name:fxInGrow}
.fx-soft svg{opacity:.5}

[class*="fx-idle-"]{transform:rotate(var(--rot,0deg)) scale(var(--fx,1),var(--fy,1))}
.fx-idle-sway{animation:fxIdleSway 6s ease-in-out var(--idle-delay,0s) infinite alternate}
.fx-idle-bob{animation:fxIdleBob 5s ease-in-out var(--idle-delay,0s) infinite alternate}
.fx-idle-spin{animation:fxIdleSpin 60s linear infinite}
.fx-idle-hang{transform-origin:50% 0;animation:fxIdleHang 3.6s ease-in-out var(--idle-delay,0s) infinite alternate}
.fx-idle-drift{animation:fxIdleDrift 8s ease-in-out var(--idle-delay,0s) infinite alternate}
.fx-idle-pulse{animation:fxIdlePulse 2.6s ease-in-out var(--idle-delay,0s) infinite alternate}
.fx-idle-tilt{transform-origin:50% 100%;animation:fxIdleTilt 4s ease-in-out var(--idle-delay,0s) infinite alternate}

body.fx-parallax .mc-cover-media{translate:calc(var(--px,0) * -14px) calc(var(--py,0) * -10px)}

.fx-au-cover{top:calc(var(--i) * 6% - 8%);height:22%;opacity:.32;filter:blur(24px)}

.fx-letter{position:absolute;color:transparent;-webkit-text-stroke:1px var(--fx-gold);font:700 clamp(150px,44vw,420px)/.8 'Didot','Bodoni MT',Georgia,serif;opacity:0;transform:translate3d(calc(var(--px,0) * var(--depth,0) * 1px),calc(var(--py,0) * var(--depth,0) * 1px),0);animation:fxLetterIn 1.6s ease .4s forwards}
.fx-letter-a{left:-3%;top:4%}
.fx-letter-b{right:-3%;bottom:2%}
.fx-ed-line{position:absolute;background:var(--fx-gold);opacity:.55}
.fx-ed-h{left:6%;right:6%;top:15%;height:1px;transform-origin:0 50%;animation:fxLineX 1.4s ease .5s both}
.fx-ed-v{top:6%;bottom:6%;left:9%;width:1px;transform-origin:50% 0;animation:fxLineY 1.4s ease .7s both}

/* ======================================================================
   PEMBUKA: bingkai emas 3D (Classic Elegance)
   ====================================================================== */
.fx-o-frame3d{perspective:1100px}
.fx-f3-bg{background:radial-gradient(ellipse at 30% 20%,rgba(255,255,255,.9),transparent 50%),linear-gradient(115deg,transparent 40%,rgba(201,164,106,.18) 41%,transparent 43%),linear-gradient(160deg,transparent 60%,rgba(150,130,110,.12) 61%,transparent 62%),linear-gradient(180deg,#f8f3ea,#ebe1d0)}
.fx-f3{left:50%;top:50%;z-index:4;width:min(72vw,330px);aspect-ratio:3/4;transform:translate(-50%,-50%) translateZ(-500px) rotateY(40deg);transform-style:preserve-3d;opacity:0;transition:transform 1.4s cubic-bezier(.2,.8,.2,1),opacity .8s ease;box-shadow:0 0 0 2px var(--fx-gold),0 0 0 9px #fbf6ec,0 0 0 11px var(--fx-gold),inset 0 0 0 2px var(--fx-gold),inset 0 0 0 9px #fbf6ec,inset 0 0 0 10px rgba(201,164,106,.7),0 40px 80px rgba(80,60,30,.28);border-radius:4px}
.fx-f3-corner{position:absolute;width:clamp(44px,12vw,64px)}
.fx-f3-tl{left:-18px;top:-18px}
.fx-f3-tr{right:-18px;top:-18px;transform:scaleX(-1)}
.fx-f3-bl{left:-18px;bottom:-18px;transform:scaleY(-1)}
.fx-f3-br{right:-18px;bottom:-18px;transform:scale(-1)}
.fx-f3-inner{position:absolute;inset:14%;display:grid;align-content:center;justify-items:center;gap:12px;color:var(--mc-primary);text-align:center}
.fx-f3-inner small{font:600 9px/1.2 system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:var(--fx-gold)}
.fx-f3-inner b{font:400 clamp(34px,10vw,52px)/1 var(--mc-font-heading,Georgia,serif);letter-spacing:.04em}
.fx-f3-inner span{font:400 clamp(16px,4.4vw,22px)/1.2 var(--mc-font-heading,Georgia,serif);opacity:.8}
.fx-f3-sheen{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.fx-f3-sheen::after{content:"";position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 42%,rgba(255,250,230,.75) 50%,transparent 58%);transform:translateX(-70%);animation:fxSheen 3.2s ease-in-out 1.2s infinite}
.fx-o-frame3d.is-ready .fx-f3{opacity:1;transform:translate(-50%,-50%) translateZ(0) rotateY(0);animation:fxFrameFloat 4s ease-in-out 1.4s infinite alternate}
.fx-o-frame3d.is-opening .fx-f3-inner{opacity:0;transition:opacity .35s ease}
.fx-o-frame3d.is-opening .fx-f3{animation:fxFrameThrough 1.4s cubic-bezier(.7,0,.3,1) .15s forwards}
.fx-o-frame3d.is-opening .fx-f3-bg{animation:fxFadeOut .9s ease .7s forwards}
.fx-o-frame3d .fx-spark-fly{--oy:50%}


/* ======================================================================
   PEMBUKA: portal aurora (Aurora Dream)
   ====================================================================== */
.fx-pt-sky{--iris-delay:.35s;background:radial-gradient(1.5px 1.5px at 18% 22%,#fff,transparent),radial-gradient(1px 1px at 70% 14%,#fff,transparent),radial-gradient(1.5px 1.5px at 84% 64%,#fff,transparent),radial-gradient(1px 1px at 30% 76%,#fff,transparent),radial-gradient(ellipse at 50% 44%,#123a4a,#060b1d 75%)}
.fx-pt-ring,.fx-pt-glow{left:50%;top:44%;z-index:4;width:min(64vw,310px);aspect-ratio:1;transform:translate(-50%,-50%) scale(.3);border-radius:50%;background:conic-gradient(#47e0b5,#6fb7ff,#9a6cf0,#ff8fd8,#ffd36b,#47e0b5);opacity:0;transition:transform 1.3s cubic-bezier(.2,.8,.2,1),opacity .8s ease}
.fx-pt-ring{-webkit-mask:radial-gradient(circle,transparent 60%,#000 61.5% 66%,transparent 67.5%);mask:radial-gradient(circle,transparent 60%,#000 61.5% 66%,transparent 67.5%)}
.fx-pt-ring2{width:min(78vw,380px);-webkit-mask:radial-gradient(circle,transparent 66%,#000 67% 68%,transparent 69%);mask:radial-gradient(circle,transparent 66%,#000 67% 68%,transparent 69%)}
.fx-pt-glow{filter:blur(28px);-webkit-mask:radial-gradient(circle,transparent 46%,#000 60% 70%,transparent 82%);mask:radial-gradient(circle,transparent 46%,#000 60% 70%,transparent 82%)}
.fx-pt-dot{left:50%;top:44%;z-index:5;width:var(--s);height:var(--s);border-radius:50%;background:var(--c,#fff);box-shadow:0 0 8px 2px var(--c,#fff);animation:fxSpiralIn var(--d) cubic-bezier(.4,0,.6,1) var(--delay) infinite}
.fx-pt-mono{z-index:6;top:44%}
.fx-o-portal.is-ready :is(.fx-pt-ring,.fx-pt-glow){opacity:1;transform:translate(-50%,-50%) scale(1)}
.fx-o-portal.is-ready .fx-pt-ring{animation:fxPortalSpin 6s linear 1.3s infinite}
.fx-o-portal.is-ready .fx-pt-ring2{animation-direction:reverse;animation-duration:9s}
.fx-o-portal.is-opening :is(.fx-pt-ring,.fx-pt-glow){transform:translate(-50%,-50%) scale(9);opacity:0;transition:transform 1.4s cubic-bezier(.6,0,.3,1),opacity 1.2s ease .2s}
.fx-o-portal.is-opening .fx-pt-dot{animation:fxFadeOut .5s ease forwards}


/* ======================================================================
   GOLD: scene 3D per section (--sp diisi theme-fx.js)
   ====================================================================== */
.fx-has-scene{position:relative;isolation:isolate}
.fx-scene{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.fx-orb{position:absolute;width:min(70vw,520px);aspect-ratio:1;border-radius:50%;filter:blur(60px);opacity:.38;will-change:transform}
.fx-orb-a{top:-10%;background:radial-gradient(circle,var(--fx-o1,var(--fx-gold)),transparent 68%);transform:translate3d(0,calc(var(--sp,0) * -160px),0) scale(calc(1 + var(--sp,0) * .12))}
.fx-orb-b{bottom:-14%;background:radial-gradient(circle,var(--fx-o2,var(--mc-primary)),transparent 68%);transform:translate3d(0,calc(var(--sp,0) * 120px),0)}
.fx-orb.is-left{left:-18%}
.fx-orb.is-right{right:-18%}
.fx-pat{position:absolute;inset:-25% -5%;background:var(--fx-gold);opacity:.12;transform:translate3d(0,calc(var(--sp,0) * 70px),0);-webkit-mask-size:var(--pat-size,90px);mask-size:var(--pat-size,90px)}
.fx-sd{position:absolute;width:clamp(96px,18vw,210px);opacity:.85;will-change:transform}
.fx-sd svg{display:block;width:100%;height:auto;overflow:visible}
.fx-sd.is-left{left:-28px;top:4%;transform:translate3d(0,calc(var(--sp,0) * -110px),0) rotate(calc(var(--sp,0) * -8deg))}
.fx-sd.is-right{right:-28px;bottom:4%;transform:translate3d(0,calc(var(--sp,0) * -70px),0) rotate(calc(var(--sp,0) * 8deg))}
.fx-sd.is-right svg{scale:-1 1}
.fx-sd-far{width:clamp(60px,10vw,120px);opacity:.4;filter:blur(1.5px)}
.fx-sd-far.is-left{top:auto;bottom:10%;transform:translate3d(0,calc(var(--sp,0) * 40px),0)}
.fx-sd-far.is-right{top:8%;bottom:auto;transform:translate3d(0,calc(var(--sp,0) * 30px),0)}

/* Motif khas tiap theme */
.fx-pat-kawung .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23000'%3E%3Cellipse cx='10' cy='10' rx='9' ry='5' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='9' ry='5' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='9' ry='5' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='9' ry='5' transform='rotate(45 30 30)'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23000'%3E%3Cellipse cx='10' cy='10' rx='9' ry='5' transform='rotate(45 10 10)'/%3E%3Cellipse cx='30' cy='10' rx='9' ry='5' transform='rotate(-45 30 10)'/%3E%3Cellipse cx='10' cy='30' rx='9' ry='5' transform='rotate(-45 10 30)'/%3E%3Cellipse cx='30' cy='30' rx='9' ry='5' transform='rotate(45 30 30)'/%3E%3C/g%3E%3C/svg%3E");--pat-size:60px}
.fx-pat-leaves .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 100C10 60 40 30 80 20 70 60 50 90 20 100z'/%3E%3Cpath d='M70 110c20-30 40-40 50-40-10 25-30 38-50 40z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 100C10 60 40 30 80 20 70 60 50 90 20 100z'/%3E%3Cpath d='M70 110c20-30 40-40 50-40-10 25-30 38-50 40z'/%3E%3C/g%3E%3C/svg%3E");--pat-size:130px;background:#3f7a4a}
.fx-pat-marble .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M0 60C60 40 90 120 160 90S260 30 300 70'/%3E%3Cpath d='M0 200c50-20 80 40 140 10s110-80 160-40'/%3E%3Cpath d='M120 0c-10 40 30 70 10 120s20 90 0 180' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M0 60C60 40 90 120 160 90S260 30 300 70'/%3E%3Cpath d='M0 200c50-20 80 40 140 10s110-80 160-40'/%3E%3Cpath d='M120 0c-10 40 30 70 10 120s20 90 0 180' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");--pat-size:420px;opacity:.22}
.fx-pat-petals .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 20c-8-10 4-18 8-8 4-10 16-2 8 8-10 6-10 6-16 0z'/%3E%3Ccircle cx='62' cy='58' r='4'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 20c-8-10 4-18 8-8 4-10 16-2 8 8-10 6-10 6-16 0z'/%3E%3Ccircle cx='62' cy='58' r='4'/%3E%3C/g%3E%3C/svg%3E");--pat-size:80px;background:#d98f9d}
.fx-pat-clouds .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M10 50c-8-10 0-26 14-24 2-14 22-18 30-6 6-12 28-12 32 4 14-4 26 10 18 24zM30 38c0-6 8-8 10-2M60 30c2-6 12-6 12 2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M10 50c-8-10 0-26 14-24 2-14 22-18 30-6 6-12 28-12 32 4 14-4 26 10 18 24zM30 38c0-6 8-8 10-2M60 30c2-6 12-6 12 2'/%3E%3C/svg%3E");--pat-size:140px}
.fx-pat-lattice .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0 30h60M30 0v60M10 10h40v40H10z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M0 30h60M30 0v60M10 10h40v40H10z'/%3E%3C/svg%3E");--pat-size:70px}
.fx-pat-ferns .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23000'%3E%3Cpath d='M50 95V10' stroke='%23000' stroke-width='2'/%3E%3Cellipse cx='40' cy='30' rx='10' ry='3' transform='rotate(-30 40 30)'/%3E%3Cellipse cx='60' cy='30' rx='10' ry='3' transform='rotate(30 60 30)'/%3E%3Cellipse cx='38' cy='50' rx='13' ry='3.5' transform='rotate(-30 38 50)'/%3E%3Cellipse cx='62' cy='50' rx='13' ry='3.5' transform='rotate(30 62 50)'/%3E%3Cellipse cx='36' cy='72' rx='15' ry='4' transform='rotate(-30 36 72)'/%3E%3Cellipse cx='64' cy='72' rx='15' ry='4' transform='rotate(30 64 72)'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23000'%3E%3Cpath d='M50 95V10' stroke='%23000' stroke-width='2'/%3E%3Cellipse cx='40' cy='30' rx='10' ry='3' transform='rotate(-30 40 30)'/%3E%3Cellipse cx='60' cy='30' rx='10' ry='3' transform='rotate(30 60 30)'/%3E%3Cellipse cx='38' cy='50' rx='13' ry='3.5' transform='rotate(-30 38 50)'/%3E%3Cellipse cx='62' cy='50' rx='13' ry='3.5' transform='rotate(30 62 50)'/%3E%3Cellipse cx='36' cy='72' rx='15' ry='4' transform='rotate(-30 36 72)'/%3E%3Cellipse cx='64' cy='72' rx='15' ry='4' transform='rotate(30 64 72)'/%3E%3C/g%3E%3C/svg%3E");--pat-size:110px;background:#4f7a52}
.fx-pat-sparkle .fx-pat,.fx-pat-stars .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 8c1 6 1 6 7 7-6 1-6 1-7 7-1-6-1-6-7-7 6-1 6-1 7-7z'/%3E%3Ccircle cx='70' cy='30' r='1.6'/%3E%3Ccircle cx='45' cy='70' r='1.2'/%3E%3Cpath d='M78 66c.8 4 .8 4 4.6 4.6-3.8.6-3.8.6-4.6 4.6-.8-4-.8-4-4.6-4.6 3.8-.6 3.8-.6 4.6-4.6z'/%3E%3Ccircle cx='12' cy='88' r='1'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23000'%3E%3Cpath d='M20 8c1 6 1 6 7 7-6 1-6 1-7 7-1-6-1-6-7-7 6-1 6-1 7-7z'/%3E%3Ccircle cx='70' cy='30' r='1.6'/%3E%3Ccircle cx='45' cy='70' r='1.2'/%3E%3Cpath d='M78 66c.8 4 .8 4 4.6 4.6-3.8.6-3.8.6-4.6 4.6-.8-4-.8-4-4.6-4.6 3.8-.6 3.8-.6 4.6-4.6z'/%3E%3Ccircle cx='12' cy='88' r='1'/%3E%3C/g%3E%3C/svg%3E");--pat-size:120px;opacity:.35}
.fx-pat-stars .fx-pat{background:#fff8e1}
.fx-pat-grid .fx-pat{-webkit-mask-image:linear-gradient(#000 1px,transparent 1px),linear-gradient(90deg,#000 1px,transparent 1px);mask-image:linear-gradient(#000 1px,transparent 1px),linear-gradient(90deg,#000 1px,transparent 1px);--pat-size:64px;opacity:.14}
.fx-pat-deco .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M40 0v40'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M40 0v40'/%3E%3C/g%3E%3C/svg%3E");--pat-size:80px}
.fx-pat-damask .fx-pat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Cpath fill='%23000' d='M30 6c6 10 16 14 16 26 0 10-8 14-12 22 6-2 10 2 10 8-6 0-10-4-14-8-4 4-8 8-14 8 0-6 4-10 10-8-4-8-12-12-12-22 0-12 10-16 16-26zm0 14c-4 6-8 8-8 14s4 8 8 12c4-4 8-6 8-12s-4-8-8-14z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80'%3E%3Cpath fill='%23000' d='M30 6c6 10 16 14 16 26 0 10-8 14-12 22 6-2 10 2 10 8-6 0-10-4-14-8-4 4-8 8-14 8 0-6 4-10 10-8-4-8-12-12-12-22 0-12 10-16 16-26zm0 14c-4 6-8 8-8 14s4 8 8 12c4-4 8-6 8-12s-4-8-8-14z'/%3E%3C/svg%3E");--pat-size:70px}
.fx-pat-bokeh .fx-pat{-webkit-mask-image:none;mask-image:none;background:radial-gradient(circle at 15% 25%,rgba(255,236,190,.9) 0 3%,transparent 3.5%),radial-gradient(circle at 70% 18%,rgba(255,220,220,.8) 0 5%,transparent 5.5%),radial-gradient(circle at 40% 70%,rgba(255,240,200,.8) 0 4%,transparent 4.5%),radial-gradient(circle at 85% 80%,rgba(255,226,180,.8) 0 2.5%,transparent 3%);opacity:.5;filter:blur(2px)}
.fx-pat-aurora .fx-pat{-webkit-mask-image:none;mask-image:none;inset:-10% -30%;background:linear-gradient(100deg,transparent 20%,rgba(71,224,181,.4) 35%,rgba(111,183,255,.35) 50%,rgba(154,108,240,.35) 65%,transparent 80%);filter:blur(30px);opacity:.6;animation:fxAuroraDrift 12s ease-in-out infinite alternate}
.fx-pat-none .fx-pat{display:none}

/* Konten masuk dengan kedalaman 3D, judul & foto ikut parallax */
body.fx-gold .reveal:not(.is-visible):not([data-gallery-slide]){transform:perspective(1000px) translate3d(0,60px,-120px) rotateX(16deg)}
body.fx-gold .reveal[data-anim=left]:not(.is-visible){transform:perspective(1000px) translate3d(-50px,30px,-120px) rotateY(18deg)}
body.fx-gold .reveal[data-anim=right]:not(.is-visible){transform:perspective(1000px) translate3d(50px,30px,-120px) rotateY(-18deg)}
body.fx-gold .mc-heading{translate:0 calc(var(--sp,0) * -26px)}
/* Foto hanya digeser 2D: transform 3D membuat Chrome gagal memotong sudut membulat/oval. */
body.fx-gold .mc-couple .mc-person-photo{transform:translate3d(0,calc(var(--sp,0) * -18px),0)}
body.fx-gold .fx-tilt:is(.is-visible,:not(.reveal)){transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .25s ease-out,opacity .9s ease,box-shadow .3s ease}
body.fx-gold .mc-couple .mc-person-photo.fx-tilt{transform:translate3d(0,calc(var(--sp,0) * -18px),0)}
/* Engine menggeser foto ke bawah saat scroll (parallax); foto dibuat lebih tinggi
   agar tidak muncul pita kosong di bagian atas bingkai. */
body.fx-gold:is([data-motion="cinematic"],[data-motion="standard"]) .mc-couple .mc-person-photo img{height:calc(100% + 110px);margin-top:-110px;object-position:center 30%}
body.fx-gold.invitation-open .mc-page{animation:fxPageIn 1.3s cubic-bezier(.2,.8,.2,1) .25s both}


/* ======================================================================
   GOLD: transisi tombol Buka Undangan
   ====================================================================== */
body.mc-dynamic.fx-gold.invitation-open .mc-cover{opacity:1;filter:none;transform:none;transition:none!important}
body.mc-dynamic.fx-gold.invitation-open .mc-cover-copy{animation:fxCopyBack .7s cubic-bezier(.6,0,.4,1) forwards!important}
body.mc-dynamic.fx-gold.invitation-open .mc-cover-copy>*{animation-play-state:running!important}

body.mc-dynamic.fx-exit-explode.invitation-open .mc-cover{animation:fxExitZoom 1.4s cubic-bezier(.6,0,.3,1) forwards}
body.mc-dynamic.fx-exit-explode.invitation-open .fx-decor .fx-dl{transform:translate3d(var(--ex,0),var(--ey,0),0) scale(2)!important;transition:transform 1.3s cubic-bezier(.5,0,.2,1)!important}

body.mc-dynamic.fx-exit-warp.invitation-open .mc-cover{animation:fxExitWarp 1.3s cubic-bezier(.7,0,.3,1) forwards}

body.mc-dynamic.fx-exit-iris.invitation-open .mc-cover{-webkit-mask:radial-gradient(circle at var(--bx,50%) var(--by,70%),transparent var(--fx-r),#000 calc(var(--fx-r) + 2px));mask:radial-gradient(circle at var(--bx,50%) var(--by,70%),transparent var(--fx-r),#000 calc(var(--fx-r) + 2px));animation:fxIris 1.3s cubic-bezier(.6,0,.3,1) .1s forwards,fxFadeOut .3s ease 1.3s forwards}

body.mc-dynamic.fx-exit-lift.invitation-open .mc-cover{transform-origin:50% 0;animation:fxExitLift 1.4s cubic-bezier(.6,0,.3,1) forwards}
body.mc-dynamic.fx-exit-book.invitation-open .mc-cover{transform-origin:0 50%;animation:fxExitBook 1.4s cubic-bezier(.6,0,.3,1) forwards}
body.mc-dynamic.fx-exit-card.invitation-open .mc-cover{animation:fxExitCard 1.5s cubic-bezier(.6,0,.3,1) forwards}

body.mc-dynamic.fx-exit-blinds.invitation-open .mc-cover{-webkit-mask:repeating-linear-gradient(90deg,#000 0 var(--fx-bw),transparent var(--fx-bw) 12.5vw);mask:repeating-linear-gradient(90deg,#000 0 var(--fx-bw),transparent var(--fx-bw) 12.5vw);animation:fxBlinds 1.2s cubic-bezier(.6,0,.3,1) .1s forwards}
body.mc-dynamic.fx-exit-split.invitation-open .mc-cover{-webkit-mask:linear-gradient(#000,#000) left/var(--fx-half) 100% no-repeat,linear-gradient(#000,#000) right/var(--fx-half) 100% no-repeat;mask:linear-gradient(#000,#000) left/var(--fx-half) 100% no-repeat,linear-gradient(#000,#000) right/var(--fx-half) 100% no-repeat;animation:fxSplit 1.3s cubic-bezier(.6,0,.3,1) .1s forwards}
body.mc-dynamic.fx-exit-rollup.invitation-open .mc-cover{animation:fxRollup 1.3s cubic-bezier(.6,0,.3,1) .1s forwards}

.fx-exit-ring{position:fixed!important;z-index:5003!important;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;pointer-events:none;border:2px solid rgba(255,255,255,.9);box-shadow:0 0 30px 8px rgba(255,236,190,.6),inset 0 0 20px rgba(255,236,190,.6);animation:fxExitRing 1.4s cubic-bezier(.5,0,.2,1) .1s forwards}
.fx-exit-ring.is-warp{border-color:#c9b6ff;box-shadow:0 0 40px 12px rgba(160,120,255,.6)}

body.mc-dynamic.fx-exit-blinds .mc-cover{--fx-bw:12.5vw}

@property --fx-bw{syntax:'<length>';inherits:false;initial-value:0px}
@property --fx-half{syntax:'<length-percentage>';inherits:false;initial-value:50%}

@keyframes fxBell{0%,100%{transform:rotate(0)}25%{transform:rotate(18deg)}75%{transform:rotate(-18deg)}}
@keyframes fxGlass{to{filter:brightness(1.35) saturate(1.2)}}
@keyframes fxSheen{0%{transform:translateX(-70%)}45%,100%{transform:translateX(70%)}}
@keyframes fxFrameFloat{0%{transform:translate(-50%,-50%) rotateY(-8deg) rotateX(4deg)}100%{transform:translate(-50%,-50%) rotateY(8deg) rotateX(-3deg)}}
@keyframes fxFrameThrough{0%{transform:translate(-50%,-50%) rotateY(0)}30%{transform:translate(-50%,-50%) rotateY(-14deg) scale(.95)}100%{transform:translate(-50%,-50%) rotateY(0) scale(6);opacity:0}}
@keyframes fxSpiralIn{0%{transform:rotate(var(--a)) translateX(var(--r)) scale(1);opacity:0}20%{opacity:1}100%{transform:rotate(calc(var(--a) + 200deg)) translateX(0) scale(.2);opacity:0}}
@keyframes fxPortalSpin{to{transform:translate(-50%,-50%) scale(1) rotate(360deg)}}
@keyframes fxAuroraDrift{from{transform:translate3d(-8%,0,0) skewY(-6deg)}to{transform:translate3d(8%,0,0) skewY(4deg)}}
@keyframes fxPageIn{from{opacity:0;transform:perspective(1200px) translateY(80px) rotateX(10deg) scale(.96)}to{opacity:1;transform:none}}
@keyframes fxCopyBack{to{opacity:0;transform:scale(.88) translateY(-20px);filter:blur(6px)}}
@keyframes fxExitZoom{0%{transform:none;opacity:1;filter:none}60%{opacity:1}100%{transform:scale(1.3);opacity:0;filter:blur(10px)}}
@keyframes fxExitWarp{0%{transform:none;filter:none;opacity:1}100%{transform:scale(3.2);filter:blur(18px) brightness(1.8);opacity:0}}
@keyframes fxExitLift{0%{transform:perspective(1300px) rotateX(0)}70%{opacity:1}100%{transform:perspective(1300px) rotateX(78deg) translateY(-30vh);opacity:0}}
@keyframes fxExitBook{0%{transform:perspective(1600px) rotateY(0);filter:brightness(1)}70%{opacity:1}100%{transform:perspective(1600px) rotateY(-115deg);filter:brightness(.6);opacity:0}}
@keyframes fxExitCard{0%{transform:none;border-radius:0}35%{transform:perspective(1200px) scale(.62) rotateX(8deg) rotate(-3deg);border-radius:28px;box-shadow:0 40px 80px rgba(0,0,0,.4)}100%{transform:perspective(1200px) translateY(-120vh) scale(.5) rotateX(20deg) rotate(6deg);border-radius:28px;opacity:.6}}
@keyframes fxBlinds{to{--fx-bw:0px}}
@keyframes fxSplit{to{--fx-half:0%}}
@keyframes fxRollup{0%{clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 0 100% 0)}}
@keyframes fxExitRing{to{width:300vmax;height:300vmax;margin:-150vmax 0 0 -150vmax;opacity:0}}


/* ======================================================================
   DEKORASI BERGERAK
   ====================================================================== */
.fx-ambient{position:fixed!important;inset:0;z-index:5001!important;overflow:hidden;pointer-events:none!important;color:rgba(46,40,34,.55)}
.fx-ambient.is-dark{color:rgba(255,248,232,.62)}
:where(.fx-ambient>span){position:absolute;top:0;left:var(--x,50%);pointer-events:none;will-change:transform,opacity}
.fx-ambient svg{display:block;width:100%;height:auto;overflow:visible}

.fx-petal{width:var(--s,14px);height:calc(var(--s,14px) * .78);border-radius:150% 0 150% 0;background:linear-gradient(135deg,var(--fx-petal-hi),var(--fx-petal) 58%,var(--fx-petal-lo));opacity:0;animation:fxFall var(--d,14s) linear var(--delay,0s) infinite}
.fx-petal.is-jasmine{border-radius:50% 50% 50% 0;background:radial-gradient(circle at 70% 30%,#fff7d6 0 14%,#fffefa 30%,#f4ead6 100%);box-shadow:0 0 6px rgba(255,255,255,.5)}
.fx-flower{width:var(--s,18px);opacity:0;animation:fxFall var(--d,16s) linear var(--delay,0s) infinite}
.fx-leaf{width:var(--s,18px);height:var(--s,18px);background:var(--c,#c8551d);opacity:0;animation:fxFall var(--d,16s) linear var(--delay,0s) infinite}
.fx-leaf.is-maple{-webkit-clip-path:polygon(50% 0,58% 18%,72% 10%,68% 30%,90% 24%,80% 42%,100% 48%,80% 58%,86% 72%,64% 66%,56% 82%,52% 100%,48% 100%,44% 82%,36% 66%,14% 72%,20% 58%,0 48%,20% 42%,10% 24%,32% 30%,28% 10%,42% 18%);clip-path:polygon(50% 0,58% 18%,72% 10%,68% 30%,90% 24%,80% 42%,100% 48%,80% 58%,86% 72%,64% 66%,56% 82%,52% 100%,48% 100%,44% 82%,36% 66%,14% 72%,20% 58%,0 48%,20% 42%,10% 24%,32% 30%,28% 10%,42% 18%)}
.fx-leaf.is-green{height:calc(var(--s,18px) * .6);border-radius:0 90% 0 90%;background:linear-gradient(150deg,transparent 46%,rgba(255,255,255,.35) 48%,transparent 51%),var(--c,#7d9a62)}
.fx-feather{width:calc(var(--s,20px) * .45);opacity:0;animation:fxFall calc(var(--d,16s) * 1.3) linear var(--delay,0s) infinite}
.fx-confetti-fall{width:calc(var(--s,8px) * .7);height:var(--s,8px);background:var(--c,#f6e7c1);opacity:0;animation:fxFall var(--d,14s) linear var(--delay,0s) infinite}

.fx-float-heart{width:var(--s,16px);height:var(--s,16px);background:var(--c,#f2a7b8);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -45 100 90'%3E%3Cpath d='M0 38C-52 4-30-40 0-16 30-40 52 4 0 38z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -45 100 90'%3E%3Cpath d='M0 38C-52 4-30-40 0-16 30-40 52 4 0 38z'/%3E%3C/svg%3E") center/contain no-repeat;opacity:0;animation:fxRise var(--d,18s) linear var(--delay,0s) infinite}
.fx-bubble{width:var(--s,12px);height:var(--s,12px);border:1px solid rgba(255,255,255,.65);border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.75),rgba(255,255,255,.06) 60%);opacity:0;animation:fxRise var(--d,12s) linear var(--delay,0s) infinite}
.fx-bubble.is-gold{border-color:rgba(255,226,150,.7);background:radial-gradient(circle at 30% 30%,rgba(255,244,210,.9),rgba(232,190,100,.15) 60%)}

.fx-lantern{width:var(--s,24px);height:calc(var(--s,24px) * 1.3);border-radius:42% 42% 32% 32%/50% 50% 32% 32%;background:radial-gradient(ellipse at 50% 58%,#ffe6a8 0,#ffa64a 34%,#d8481f 70%,#8e1719 100%);box-shadow:0 0 24px 6px rgba(255,150,60,.34);opacity:0;animation:fxRise var(--d,22s) linear var(--delay,0s) infinite}
.fx-lantern::before,.fx-lantern::after{content:"";position:absolute;left:50%;transform:translateX(-50%);background:#5a1a10}
.fx-lantern::before{top:-3px;width:52%;height:4px;border-radius:2px}
.fx-lantern::after{bottom:-8px;width:2px;height:8px;background:#e8b04a}

.fx-spark{top:var(--y,50%);width:var(--s,6px);height:var(--s,6px);border-radius:50%;background:radial-gradient(circle,#fff 0 20%,var(--fx-gold) 45%,transparent 70%);box-shadow:0 0 10px 2px rgba(255,214,140,.35);opacity:0;animation:fxTwinkle var(--d,4s) ease-in-out var(--delay,0s) infinite}
.fx-firefly{top:var(--y,50%);width:var(--s,6px);height:var(--s,6px);border-radius:50%;background:#f5ffb0;box-shadow:0 0 12px 4px rgba(220,255,120,.55);opacity:0;animation:fxFireflyAmb calc(var(--d,4s) * 1.6) ease-in-out var(--delay,0s) infinite}
.fx-star{top:var(--y,50%);width:var(--s,8px);height:var(--s,8px);background:#fffaf0;-webkit-clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);filter:drop-shadow(0 0 4px rgba(255,255,255,.8));opacity:0;animation:fxTwinkle var(--d,4s) ease-in-out var(--delay,0s) infinite}
.fx-shoot{top:var(--y,20%);width:140px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9));opacity:0;transform:rotate(-24deg);animation:fxShoot var(--d,9s) ease-in var(--delay,0s) infinite}

.fx-butterfly,.fx-dove-fly{left:0;width:var(--s,30px);animation:fxFlutter var(--d,20s) ease-in-out var(--delay,0s) infinite}
.fx-butterfly svg .w,.fx-sw-fly svg .w{fill:var(--c,var(--mc-accent));transform-origin:20px 16px;animation:fxWing .26s ease-in-out infinite alternate}
.fx-butterfly svg .b,.fx-sw-fly svg .b{fill:rgba(40,30,30,.75)}
.fx-dove-fly{animation-duration:calc(var(--d,20s) * 1.2);filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}

.fx-flock{left:0;width:130px;height:70px;opacity:.9;animation:fxFly var(--d,22s) linear var(--delay,0s) infinite}
.fx-bird{position:absolute;left:var(--bx,0);top:var(--by,0);width:var(--bs,26px)}
.fx-bird svg{fill:currentColor}
.fx-bird.is-gull svg{fill:rgba(255,255,255,.9);filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}

.fx-sand{left:-10%;top:var(--y,50%);width:var(--w,60px);height:1px;background:linear-gradient(90deg,transparent,rgba(255,236,200,.4));animation:fxSandFly var(--d,4s) linear var(--delay,0s) infinite}

/* Efek di dalam cover: ombak, sinar, awan */
.fx-waves,.fx-rays,.fx-clouds{position:absolute;pointer-events:none}
.fx-waves{left:0;right:0;bottom:0;z-index:3;height:24vh;overflow:hidden}
.fx-waves i{position:absolute;left:0;bottom:0;width:200%;height:var(--h,60%);background:linear-gradient(180deg,rgba(255,255,255,.6),rgba(255,255,255,.16));opacity:var(--o,.5);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C150 18 250 102 400 60 C550 18 650 102 800 60 V120 H0Z'/%3E%3C/svg%3E") 0 100%/50% 100% repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C150 18 250 102 400 60 C550 18 650 102 800 60 V120 H0Z'/%3E%3C/svg%3E") 0 100%/50% 100% repeat-x;animation:fxWave var(--d,10s) linear infinite}
.fx-waves i:nth-child(1){--h:72%;--o:.3;--d:14s}
.fx-waves i:nth-child(2){--h:54%;--o:.45;--d:10s;animation-direction:reverse}
.fx-waves i:nth-child(3){--h:36%;--o:.7;--d:7s}
.fx-rays{left:82%;top:calc(-80vmax + 4vh);z-index:2;width:160vmax;height:160vmax;margin-left:-80vmax;background:radial-gradient(circle,rgba(255,240,200,.42) 0 3%,rgba(255,226,170,.12) 9%,transparent 22%),repeating-conic-gradient(from 0deg,rgba(255,232,180,.1) 0 4deg,transparent 4deg 13deg);-webkit-mask-image:radial-gradient(circle,#000 0 6%,transparent 42%);mask-image:radial-gradient(circle,#000 0 6%,transparent 42%);mix-blend-mode:screen;animation:fxSpin 120s linear infinite}
.fx-clouds{left:0;right:0;top:0;height:46vh;overflow:hidden}
.fx-clouds i{position:absolute;left:0;top:var(--y,10%);width:var(--w,260px);aspect-ratio:2.6;background:radial-gradient(circle at 30% 62%,#fff 0 22%,transparent 23%),radial-gradient(circle at 54% 44%,#fff 0 28%,transparent 29%),radial-gradient(circle at 76% 62%,#fff 0 20%,transparent 21%),radial-gradient(ellipse at 50% 76%,#fff 0 46%,transparent 47%);filter:blur(5px);opacity:var(--o,.55);animation:fxDrift var(--d,70s) linear var(--delay,0s) infinite}

.fx-ambient>.fx-grain{left:-50%;top:-50%;width:200%;height:200%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.07;animation:fxGrain .9s steps(4) infinite}


/* ======================================================================
   RESPONSIVE & AKSESIBILITAS
   ====================================================================== */
@media(max-width:640px){
    .fx-sd{width:84px;opacity:.55}
    .fx-sd.is-left{left:-22px}
    .fx-sd.is-right{right:-22px}
}

@media(prefers-reduced-motion:reduce){
    .fx-intro,.fx-ambient,.fx-waves,.fx-rays,.fx-clouds,.fx-decor,.fx-scene,.fx-exit-ring{display:none!important}
}


/* ======================================================================
   KEYFRAMES
   ====================================================================== */
@keyframes fxFadeIn{to{opacity:1}}
@keyframes fxFadeOut{to{opacity:0}}
@keyframes fxUp{to{transform:translateY(-100%)}}
@keyframes fxDown{to{transform:translateY(100%)}}
@keyframes fxSpin{to{transform:rotate(360deg)}}
@keyframes fxIris{to{--fx-r:150vmax}}
@keyframes fxFlash{30%{opacity:1}100%{opacity:0}}
@keyframes fxFlapA{0%{opacity:1}50%{opacity:0}}
@keyframes fxFlapB{0%{opacity:0}50%{opacity:1}}
@keyframes fxWing{to{transform:scaleX(.22)}}
@keyframes fxPop{40%{transform:translate(-50%,-50%) scale(1.15)}100%{transform:translate(-50%,-50%) scale(0);opacity:0}}
@keyframes fxFlicker{0%,100%{opacity:.85}50%{opacity:1}}
@keyframes fxFilmFlicker{50%{filter:brightness(1.18)}}
@keyframes fxHang{from{transform:rotate(-5deg)}to{transform:rotate(5deg)}}
@keyframes fxSwing{0%,100%{rotate:-5deg}50%{rotate:5deg}}
@keyframes fxBurst{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.3)}10%{opacity:1}100%{opacity:0;transform:translate(var(--tx),var(--ty)) rotate(var(--r)) scale(1)}}
@keyframes fxFlyOut{0%{opacity:0;transform:translate(0,0) scale(.2)}15%{opacity:1}100%{opacity:1;transform:translate(var(--tx),var(--ty)) scale(1.4)}}
@keyframes fxHeartOut{40%{transform:translate(-50%,-50%) scale(1.15)}100%{transform:translate(-50%,-50%) scale(6);opacity:0}}
@keyframes fxSpot{from{background-position:100% 0}to{background-position:0 0}}
@keyframes fxCurtainL{45%{transform:translateX(-4%) scaleX(.58) skewY(.5deg)}100%{transform:translateX(-8%) scaleX(.12);opacity:.9}}
@keyframes fxCurtainR{45%{transform:translateX(4%) scaleX(.58) skewY(-.5deg)}100%{transform:translateX(8%) scaleX(.12);opacity:.9}}
@keyframes fxDoorL{to{transform:rotateY(-104deg)}}
@keyframes fxDoorR{to{transform:rotateY(104deg)}}
@keyframes fxGlow{35%{opacity:1}100%{opacity:0}}
@keyframes fxSeal{40%{transform:translate(-50%,-50%) scale(1.14)}100%{transform:translate(-50%,-50%) scale(.2);opacity:0}}
@keyframes fxFlap{0%{transform:rotateX(0);z-index:4}49%{z-index:4}50%{z-index:1}100%{transform:rotateX(180deg);z-index:1}}
@keyframes fxLetter{to{transform:translateY(-58%)}}
@keyframes fxEnvOut{to{transform:scale(1.12) translateY(-4%);opacity:0;filter:blur(6px)}}
@keyframes fxWindowGlow{to{box-shadow:0 0 0 8px var(--fx-gold),0 0 0 14px rgba(255,255,255,.6),0 0 110px rgba(255,230,160,1)}}
@keyframes fxWindowOpen{to{transform:translate(-50%,-50%) scale(9);opacity:0}}
@keyframes fxBreath{to{transform:rotate(var(--a)) scale(1.02)}}
@keyframes fxPetalOpen{to{transform:rotate(var(--a)) translateY(-28vmax) rotate(30deg) scale(1.15);opacity:0}}
@keyframes fxCaustic{to{transform:scale(1.25);opacity:.4}}
@keyframes fxDrop{to{top:50%;transform:scale(.6);opacity:0}}
@keyframes fxRing{0%{opacity:.95}100%{width:150vmax;height:150vmax;margin:-75vmax;opacity:0}}
@keyframes fxGust{0%{opacity:0;transform:translate(0,0) rotate(0)}10%{opacity:1}100%{opacity:.9;transform:translate(125vw,calc(var(--y2) - var(--y))) rotate(var(--r))}}
@keyframes fxWipeRight{to{transform:translateX(112%) skewX(-14deg)}}
@keyframes fxFanAway{to{transform:translateY(-70vh) rotate(25deg) scale(.6);opacity:0}}
@keyframes fxScrollLift{to{transform:translate(-50%,-120vh)}}
@keyframes fxGunFlutter{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}
@keyframes fxGunAway{0%{transform:translateX(-50%) rotate(0)}30%{transform:translateX(-50%) rotate(-14deg)}100%{transform:translateX(-170%) translateY(-6vh) rotate(-40deg) scale(.7);opacity:0}}
@keyframes fxGateL{to{transform:translateX(-72vw) scale(1.5)}}
@keyframes fxGateR{to{transform:translateX(72vw) scale(1.5)}}
@keyframes fxDoorLeaf{to{transform:scaleX(0)}}
@keyframes fxEnterDoor{to{transform:translateX(-50%) scale(7);opacity:0}}
@keyframes fxFeatherFall{to{transform:translate(calc((var(--i) - 1) * 30vw),80vh) rotate(calc((var(--i) - 1) * 120deg + 40deg));opacity:0}}
@keyframes fxLiftAway{to{transform:translateY(-90vh)}}
@keyframes fxWaveBob{from{transform:translateX(-3%) translateY(6px)}to{transform:translateX(3%) translateY(-6px)}}
@keyframes fxTideOut{to{transform:translateY(112%)}}
@keyframes fxRays{to{transform:translateX(90px)}}
@keyframes fxBubbleUp{to{transform:translate(14px,-118vh)}}
@keyframes fxSurface{to{transform:translateY(-100%)}}
@keyframes fxDuneOut{to{transform:translate(calc((var(--i) - 1) * 20vw),115%)}}
@keyframes fxSandFly{to{transform:translateX(130vw)}}
@keyframes fxFirefly{0%,100%{transform:translate(0,0);opacity:.2}50%{transform:translate(18px,-22px);opacity:1}}
@keyframes fxForestL{to{transform:translateX(calc(-1 * (32vw + var(--row) * 22vw))) scale(calc(1.1 + var(--row) * .25))}}
@keyframes fxForestR{to{transform:translateX(calc(32vw + var(--row) * 22vw)) scale(calc(1.1 + var(--row) * .25))}}
@keyframes fxMoonOut{to{transform:translate(-50%,-50%) scale(2.4);opacity:0}}
@keyframes fxTwinkleSoft{to{opacity:.9}}
@keyframes fxWarp{to{transform:rotate(var(--a)) translateY(80vmax) scaleY(8);opacity:1}}
@keyframes fxAurora{from{transform:translateX(-8%) skewY(-8deg) scaleY(.8)}to{transform:translateX(8%) skewY(4deg) scaleY(1.2)}}
@keyframes fxCloudOut{to{transform:translateY(-50%) translateX(calc(var(--side) * 95vw)) scale(var(--k));opacity:.5}}
@keyframes fxSwarmOut{to{transform:translate(calc(var(--hx) + var(--tx)),calc(var(--hy) + var(--ty))) rotate(20deg)}}
@keyframes fxBeat{0%,100%{transform:translate(-50%,-50%) scale(1)}15%{transform:translate(-50%,-50%) scale(1.12)}30%{transform:translate(-50%,-50%) scale(.96)}45%{transform:translate(-50%,-50%) scale(1.08)}}
@keyframes fxClink{50%{opacity:1;transform:scale(1.4)}100%{opacity:0;transform:scale(2)}}
@keyframes fxBlade{to{transform:rotate(calc(var(--a) + 25deg)) translateY(-95vmax)}}
@keyframes fxSweep{to{--fx-sweep:360deg}}
@keyframes fxNumber{0%{opacity:1}100%{opacity:0}}
@keyframes fxScratch{to{transform:translateX(37px)}}
@keyframes fxBookOpen{70%{opacity:1}100%{transform:translate(-50%,-50%) rotateY(-150deg);opacity:0}}
@keyframes fxInkGrow{0%{transform:scale(0) rotate(0)}100%{transform:scale(1.9) rotate(40deg);border-radius:0}}
@keyframes fxInkDot{30%{transform:scale(1)}80%{transform:scale(1)}100%{transform:scale(1);opacity:0}}
@keyframes fxLampGlow{to{fill:#fff1b8}}
@keyframes fxBulb{from{fill:#ffe6a0;filter:none}to{fill:#fff8d8;filter:drop-shadow(0 0 4px #ffd36b)}}
@keyframes fxInFade{to{opacity:1}}
@keyframes fxInFall{from{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:none}}
@keyframes fxInRise{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:none}}
@keyframes fxInLeft{from{opacity:0;transform:translateX(-70px)}to{opacity:1;transform:none}}
@keyframes fxInRight{from{opacity:0;transform:translateX(70px)}to{opacity:1;transform:none}}
@keyframes fxInGrow{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes fxIdleSway{from{transform:rotate(calc(var(--rot,0deg) - 3deg)) scale(var(--fx,1),var(--fy,1))}to{transform:rotate(calc(var(--rot,0deg) + 3deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxIdleBob{from{transform:translateY(-7px) rotate(var(--rot,0deg)) scale(var(--fx,1),var(--fy,1))}to{transform:translateY(6px) rotate(var(--rot,0deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxIdleSpin{to{transform:rotate(calc(var(--rot,0deg) + 360deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxIdleHang{from{transform:rotate(calc(var(--rot,0deg) - 6deg)) scale(var(--fx,1),var(--fy,1))}to{transform:rotate(calc(var(--rot,0deg) + 6deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxIdleDrift{from{transform:translateX(-12px) rotate(var(--rot,0deg)) scale(var(--fx,1),var(--fy,1))}to{transform:translateX(12px) rotate(var(--rot,0deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxIdlePulse{from{transform:scale(.7);opacity:.5}to{transform:scale(1.2);opacity:1}}
@keyframes fxIdleTilt{from{transform:rotate(calc(var(--rot,0deg) - 4deg)) scale(var(--fx,1),var(--fy,1))}to{transform:rotate(calc(var(--rot,0deg) + 4deg)) scale(var(--fx,1),var(--fy,1))}}
@keyframes fxLetterIn{to{opacity:.55}}
@keyframes fxLineX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fxLineY{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes fxFall{
    0%{transform:translate3d(0,-8vh,0) rotate(var(--r,0deg)) rotateX(0deg);opacity:0}
    8%{opacity:var(--o,.85)}
    25%{transform:translate3d(var(--sway,30px),20vh,0) rotate(calc(var(--r,0deg) + 90deg)) rotateX(120deg)}
    50%{transform:translate3d(calc(var(--sway,30px) * -.4),48vh,0) rotate(calc(var(--r,0deg) + 180deg)) rotateX(240deg)}
    75%{transform:translate3d(var(--sway,30px),76vh,0) rotate(calc(var(--r,0deg) + 270deg)) rotateX(320deg)}
    92%{opacity:var(--o,.85)}
    100%{transform:translate3d(0,108vh,0) rotate(calc(var(--r,0deg) + 360deg)) rotateX(400deg);opacity:0}
}
@keyframes fxRise{
    0%{transform:translate3d(0,108vh,0) rotate(-4deg);opacity:0}
    10%{opacity:var(--o,.9)}
    50%{transform:translate3d(var(--sway,20px),50vh,0) rotate(4deg)}
    90%{opacity:var(--o,.85)}
    100%{transform:translate3d(0,-14vh,0) rotate(-3deg);opacity:0}
}
@keyframes fxTwinkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:var(--o,1);transform:scale(1) translateY(-12px)}}
@keyframes fxFireflyAmb{0%,100%{opacity:0;transform:translate(0,0)}30%{opacity:var(--o,1)}50%{transform:translate(26px,-30px)}70%{opacity:var(--o,1)}}
@keyframes fxShoot{0%,88%{opacity:0;transform:rotate(-24deg) translateX(0)}90%{opacity:1}100%{opacity:0;transform:rotate(-24deg) translateX(46vw)}}
@keyframes fxFlutter{
    0%{transform:translate3d(-12vw,var(--y0,60vh),0) rotate(8deg)}
    25%{transform:translate3d(22vw,calc(var(--y0,60vh) - 14vh),0) rotate(-6deg)}
    50%{transform:translate3d(52vw,var(--y1,40vh),0) rotate(10deg)}
    75%{transform:translate3d(80vw,calc(var(--y1,40vh) + 12vh),0) rotate(-8deg)}
    100%{transform:translate3d(112vw,var(--y0,60vh),0) rotate(6deg)}
}
@keyframes fxFly{
    0%{transform:translate3d(-20vw,var(--y0,18vh),0) scale(var(--k,1))}
    70%{transform:translate3d(115vw,var(--y1,8vh),0) scale(var(--k,1))}
    100%{transform:translate3d(115vw,var(--y1,8vh),0) scale(var(--k,1))}
}
@keyframes fxWave{to{transform:translateX(-50%)}}
@keyframes fxDrift{from{transform:translateX(-40vw)}to{transform:translateX(110vw)}}
@keyframes fxGrain{25%{transform:translate(-4%,3%)}50%{transform:translate(3%,-5%)}75%{transform:translate(-2%,-3%)}100%{transform:translate(4%,2%)}}


/* ======================================================================
   BUKET BUNGA MEKAR (Eternal, Classic Elegance, Champagne, Roseate,
   Pink Romance, Sweet Memory, bingkai Royal)
   ====================================================================== */
.fx-bloom{--bq-1:#f6c9d0;--bq-2:#ec9fae;--bq-3:#d9758b;--bq-c:#f6d58a;--bq-r1:#f3b6c1;--bq-r2:#e48799;--bq-r3:#c95f76;--bq-f:#fffaf4;--bq-fc:#e9c46a;--bq-l1:#93a983;--bq-l2:#b4c4a6;--bq-bud:#e9a2b1}
.fx-bq-blush{--bq-1:#f7d3d4;--bq-2:#efb0b5;--bq-3:#d98993;--bq-r1:#f4c2c4;--bq-r2:#e6a0a6;--bq-r3:#cf7c86;--bq-l1:#8fa98a;--bq-l2:#b9cbb0}
.fx-bq-ivory{--bq-1:#fffaf0;--bq-2:#f6ecd8;--bq-3:#e7d3ae;--bq-c:#d9b26a;--bq-r1:#fbf3e4;--bq-r2:#efe0c2;--bq-r3:#d9bf8c;--bq-f:#ffffff;--bq-l1:#a8b59a;--bq-l2:#c9d1bb;--bq-bud:#f1e3c7}
.fx-bq-peach{--bq-1:#fbe0cf;--bq-2:#f5c0a3;--bq-3:#e39a7a;--bq-r1:#f7d4c4;--bq-r2:#eeb3a0;--bq-r3:#d98d7a;--bq-l1:#a7ae8e;--bq-l2:#cfd3b8;--bq-bud:#f2b9a3}
.fx-bq-pink{--bq-1:#fbd0dd;--bq-2:#f5a3bc;--bq-3:#e7779a;--bq-r1:#f9bfd0;--bq-r2:#ef8fae;--bq-r3:#d9628a;--bq-l1:#93b08a;--bq-l2:#bcd0b2}
.fx-bq-soft{--bq-1:#fbe6e8;--bq-2:#f2cdd2;--bq-3:#e2a9b2;--bq-r1:#f7dfe2;--bq-r2:#ecc3c9;--bq-r3:#d9a1aa;--bq-l1:#a3b5a0;--bq-l2:#cad6c3}

.fx-bq-p1{fill:var(--bq-1);opacity:.92}
.fx-bq-p2{fill:var(--bq-2);opacity:.9}
.fx-bq-p3{fill:var(--bq-3);opacity:.9}
.fx-bq-c{fill:var(--bq-c)}
.fx-bq-r1{fill:var(--bq-r1);opacity:.95}
.fx-bq-r2{fill:var(--bq-r2)}
.fx-bq-r3{fill:var(--bq-r3);opacity:.85}
.fx-bq-rs{stroke:var(--bq-r3);stroke-width:2.4;stroke-linecap:round;filter:brightness(.8)}
.fx-bq-f{fill:var(--bq-f)}
.fx-bq-fc{fill:var(--bq-fc)}
.fx-bq-l1{fill:var(--bq-l1);opacity:.92}
.fx-bq-l2{fill:var(--bq-l2);opacity:.85}
.fx-bq-bud{fill:var(--bq-bud)}
.fx-bq-stem{stroke:var(--bq-l1);stroke-width:2}
.fx-bloom svg{filter:drop-shadow(0 8px 14px rgba(90,40,50,.16))}

/* Setiap bunga mekar bergantian, lalu bergoyang pelan sendiri-sendiri */
.fx-bloom .fx-bq{transform-box:fill-box;transform-origin:50% 50%;animation:fxBloomIn 1.3s cubic-bezier(.3,1.5,.5,1) calc(var(--delay,.3s) + var(--i) * .14s) both,fxBloomSway 5s ease-in-out calc(1.6s + var(--i) * .3s) infinite alternate}
body.fx-intro-playing .fx-decor,body.fx-intro-playing .fx-decor *,body.fx-intro-playing .fx-shield *{animation-play-state:paused!important}


/* ======================================================================
   PANEL UKIRAN (Golden Nusantara: kayu emas, Tropical Bali: batu)
   ====================================================================== */
.fx-cv-wood{--cv-body:#5a3720;--cv-shadow:rgba(20,10,4,.55);--cv-line:#e0b25a;--cv-med:#c9923a}
.fx-cv-stone{--cv-body:#8d8172;--cv-shadow:rgba(40,30,20,.45);--cv-line:#d9cdb8;--cv-med:#a8998a}
.fx-cv-body{fill:var(--cv-body)}
.fx-cv-shadow{fill:var(--cv-shadow)}
.fx-cv-line{stroke:var(--cv-line);stroke-width:1.6;stroke-linecap:round;opacity:.85}
.fx-cv-dot{fill:var(--cv-line)}
.fx-cv-med{fill:var(--cv-med);stroke:var(--cv-line);stroke-width:1.5}
:is(.fx-cv-wood,.fx-cv-stone) svg{filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.fx-dl:has(.fx-cv-wood),.fx-dl:has(.fx-cv-stone){z-index:3}


/* ======================================================================
   BINGKAI FOTO PERISAI (Royal Majesty)
   ====================================================================== */
.fx-shield{position:relative;width:clamp(96px,28vw,150px);aspect-ratio:100/124;margin:0 auto 10px}
.fx-shield-photo{position:absolute;inset:0;background:#222 center/cover no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 124' preserveAspectRatio='none'%3E%3Cpath d='M3 3H97V70Q97 104 50 121Q3 104 3 70Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 124' preserveAspectRatio='none'%3E%3Cpath d='M3 3H97V70Q97 104 50 121Q3 104 3 70Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.fx-shield-line{position:absolute;inset:-6px}
.fx-shield-line svg{width:100%;height:100%;overflow:visible}
.fx-shield-line path{stroke:var(--fx-gold);stroke-width:2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 6px rgba(255,220,150,.5))}
.fx-shield-wreath{position:absolute;left:-34%;right:-34%;bottom:-30%}
body.fx-has-shield .mc-cover-copy::before{display:none!important}
body.fx-has-shield .mc-cover-overlay{background:radial-gradient(ellipse at 50% 40%,rgba(8,12,30,.55),rgba(8,12,30,.92))!important}
body.fx-has-shield .mc-cover h1{font-size:clamp(42px,min(11vw,7vh),84px)!important;margin:10px 0 6px!important}
body.fx-has-shield .mc-recipient{margin:14px auto 14px!important}


/* ======================================================================
   BAWAH LAUT (Blue Lagoon)
   ====================================================================== */
.fx-o-dive{overflow:hidden}
.fx-dw{position:absolute;left:0;right:0;top:0;height:200%;transition:transform 1.8s cubic-bezier(.6,0,.25,1)}
.fx-dw-sky{position:absolute;left:0;right:0;top:0;height:50%;overflow:hidden;background:linear-gradient(180deg,#7ec8ea,#bfe6f5 70%,#e6f6fb)}
.fx-dw-sun{position:absolute;right:14%;top:12%;width:min(26vw,130px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fffbe6 0 40%,rgba(255,240,190,.5) 60%,transparent 72%)}
.fx-dw-cloud{position:absolute;left:calc(8% + var(--i) * 30%);top:calc(10% + var(--i) * 9%);width:min(42vw,220px);aspect-ratio:2.6;background:radial-gradient(circle at 30% 62%,#fff 0 22%,transparent 23%),radial-gradient(circle at 54% 44%,#fff 0 28%,transparent 29%),radial-gradient(circle at 76% 62%,#fff 0 20%,transparent 21%),radial-gradient(ellipse at 50% 76%,#fff 0 46%,transparent 47%);opacity:.85;animation:fxDriftSmall calc(9s + var(--i) * 3s) ease-in-out infinite alternate}
.fx-o-dive .fx-caption{color:#1f5f78}
.fx-dw-surface{position:absolute;left:-5%;right:-5%;top:calc(50% - 30px);z-index:2;height:60px;background:linear-gradient(180deg,rgba(255,255,255,.9),#4fb2d0 60%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C100 0 200 60 300 30 S500 0 600 30 S700 60 800 30 V60 H0Z'/%3E%3C/svg%3E") 0 0/50% 100% repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C100 0 200 60 300 30 S500 0 600 30 S700 60 800 30 V60 H0Z'/%3E%3C/svg%3E") 0 0/50% 100% repeat-x;animation:fxWaveBob 3s ease-in-out infinite alternate}
.fx-dw-sea{position:absolute;left:0;right:0;bottom:0;height:50%;overflow:hidden;background:linear-gradient(180deg,#3ba3c4,#11587a 55%,#072c45)}
.fx-dw-rays{position:absolute;inset:-10% -30% 30%;background:repeating-linear-gradient(100deg,rgba(255,255,255,.14) 0 22px,transparent 22px 80px);-webkit-mask:linear-gradient(#000,transparent);mask:linear-gradient(#000,transparent);animation:fxRays 8s linear infinite}
.fx-dw-fish{position:absolute;left:-20%;top:var(--y);width:clamp(34px,9vw,56px);animation:fxSwim calc(5s + var(--i) * 1.4s) linear calc(var(--i) * -1.3s) infinite}
.fx-dw-fish .fx-fish-b,.fx-dw-fish .fx-fish-t{fill:var(--c)}
.fx-dw-weed{position:absolute;bottom:-4px;width:clamp(50px,13vw,90px)}
.fx-dw-weed-l{left:4%}
.fx-dw-weed-r{right:6%;transform:scaleX(-1)}
.fx-dw-coral{position:absolute;bottom:-4px;left:38%;width:clamp(70px,18vw,120px)}
.fx-o-dive.is-opening .fx-dw{transform:translateY(-50%)}
.fx-o-dive.is-opening .fx-caption{animation:fxFadeOut .5s ease forwards}

.fx-fish-b{fill:var(--c,#ffb347)}
.fx-fish-t{fill:var(--c,#ffb347);filter:brightness(.85)}
.fx-fish-f{fill:rgba(255,255,255,.45)}
.fx-weed{stroke:#2f8a5e;stroke-width:9;stroke-linecap:round}
.fx-weed-2{stroke:#4aa86f;stroke-width:7}
.fx-sw-1,.fx-sw-2{transform-box:fill-box;transform-origin:50% 100%;animation:fxWeed 3.6s ease-in-out infinite alternate}
.fx-sw-2{animation-duration:4.4s;animation-direction:alternate-reverse}
.fx-coral{stroke:#ff8a7a;stroke-width:7;stroke-linecap:round}
.fx-coral-tip{fill:#ffb3a6}
.fx-coralwrap svg{filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
.fx-caustics{position:absolute;inset:0;z-index:2;pointer-events:none;background:repeating-linear-gradient(100deg,rgba(255,255,255,.12) 0 18px,transparent 18px 70px);-webkit-mask:linear-gradient(#000,transparent 60%);mask:linear-gradient(#000,transparent 60%);mix-blend-mode:screen;animation:fxRays 9s linear infinite}

.fx-fish{left:0;width:var(--s,30px);opacity:.75;animation:fxFishSwim var(--d,20s) ease-in-out var(--delay,0s) infinite}
.fx-fish svg{transform:scaleX(var(--dir,1))}

@keyframes fxBloomIn{0%{transform:scale(0) rotate(-40deg);opacity:0}60%{opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}
@keyframes fxBloomSway{from{rotate:-2.5deg}to{rotate:2.5deg}}
@keyframes fxDriftSmall{to{transform:translateX(24px)}}
@keyframes fxSwim{to{transform:translateX(140vw)}}
@keyframes fxWeed{from{transform:skewX(-7deg)}to{transform:skewX(7deg)}}
@keyframes fxFishSwim{
    0%{transform:translate3d(calc(var(--dir,1) * -15vw + (1 - var(--dir,1)) * 57vw),var(--y0,50vh),0)}
    50%{transform:translate3d(50vw,calc((var(--y0,50vh) + var(--y1,40vh)) / 2 - 4vh),0)}
    100%{transform:translate3d(calc(var(--dir,1) * 115vw + (1 - var(--dir,1)) * -7.5vw),var(--y1,40vh),0)}
}
@media(prefers-reduced-motion:reduce){.fx-shield-wreath .fx-bq{animation:none!important}}


/* ======================================================================
   ANIMASI TEKS GOLD (huruf, kata, label) - gaya per theme
   ====================================================================== */
/* Potongan huruf/kata mewarisi gaya judulnya (engine punya aturan '.mc-heading span' dan '.mc-cover h1 span') */
body.mc-dynamic.fx-text :is(.fx-w,.fx-c){display:inline-block;margin:0;padding:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;background:none;border:0}
body.mc-dynamic.fx-text .fx-w{white-space:nowrap}
body.mc-dynamic.fx-text .fx-w::before,body.mc-dynamic.fx-text .fx-w::after,body.mc-dynamic.fx-text .fx-c::before,body.mc-dynamic.fx-text .fx-c::after{content:none!important}
body.fx-text [data-fx-text="chars"] .fx-c{display:inline-block;opacity:0;will-change:transform,opacity,filter}
body.fx-text [data-fx-text="chars"].fx-tx-in .fx-c{animation:var(--tx-anim,fxTxRise) .9s cubic-bezier(.2,.8,.2,1) calc(var(--ci) * 38ms) forwards}
body.fx-text [data-fx-text="words"] .fx-w{opacity:0;transform:translateY(.7em);filter:blur(6px)}
body.fx-text [data-fx-text="words"].fx-tx-in .fx-w{animation:fxTxWord .8s cubic-bezier(.2,.8,.2,1) calc(var(--wi) * 55ms) forwards}
body.fx-text [data-fx-text="label"]{opacity:0}
body.fx-text [data-fx-text="label"].fx-tx-in{animation:fxTxLabel 1.2s cubic-bezier(.2,.8,.2,1) forwards}
/* Hanya opacity: clip-path penuh membuat IntersectionObserver menganggap elemen tak terlihat */
body.fx-text [data-fx-text="whole"]{opacity:0}
body.fx-text [data-fx-text="whole"].fx-tx-in{animation:fxTxWipe 1.3s cubic-bezier(.6,0,.2,1) forwards}

body.fx-text-rise{--tx-anim:fxTxRise}
body.fx-text-blur{--tx-anim:fxTxBlur}
body.fx-text-flip{--tx-anim:fxTxFlip}
body.fx-text-flip [data-fx-text="chars"]{perspective:600px}
body.fx-text-wave{--tx-anim:fxTxWave}
body.fx-text-glow{--tx-anim:fxTxGlow}

/* Gold Luxe (Midnight, Royal): kilau emas tetap berjalan setelah teks tersapu masuk */
body.mc-dynamic:is(.theme-midnight-luxe,.theme-royal-majesty):not([data-motion="soft"]) [data-fx-text="whole"].fx-tx-in{animation:fxTxWipe 1.3s cubic-bezier(.6,0,.2,1) forwards,luxShimmer 7s linear 1.3s infinite}

/* Nama di cover tetap memakai animasi masuk cover, huruf menyusul */
body.fx-text .mc-cover h1>[data-fx-text]{display:block}

@keyframes fxTxRise{0%{opacity:0;transform:translateY(.7em) rotate(8deg);filter:blur(4px)}100%{opacity:1;transform:none;filter:none}}
@keyframes fxTxBlur{0%{opacity:0;transform:scale(1.8);filter:blur(12px)}100%{opacity:1;transform:none;filter:none}}
@keyframes fxTxFlip{0%{opacity:0;transform:rotateX(-95deg) translateY(-.2em);transform-origin:50% 100%}100%{opacity:1;transform:none;transform-origin:50% 100%}}
@keyframes fxTxWave{0%{opacity:0;transform:translateY(-.9em)}55%{opacity:1;transform:translateY(.12em)}75%{transform:translateY(-.05em)}100%{opacity:1;transform:none}}
@keyframes fxTxGlow{0%{opacity:0;filter:blur(6px);text-shadow:0 0 0 transparent}50%{opacity:1;filter:none;text-shadow:0 0 18px rgba(255,235,180,.95),0 0 36px rgba(255,210,130,.6)}100%{opacity:1;filter:none;text-shadow:0 0 0 transparent}}
@keyframes fxTxWord{to{opacity:1;transform:none;filter:none}}
@keyframes fxTxLabel{0%{opacity:0;letter-spacing:.9em;filter:blur(4px)}100%{opacity:1;filter:none}}
@keyframes fxTxWipe{0%{opacity:1;clip-path:inset(0 100% 0 0);filter:blur(6px)}100%{opacity:1;clip-path:inset(0 0 0 0);filter:none}}

@media(prefers-reduced-motion:reduce){
    body.fx-text :is([data-fx-text],[data-fx-text] .fx-c,[data-fx-text] .fx-w){opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;animation:none!important}
}
/* Untaian lampu: tinggi dibatasi agar tidak turun menutupi teks cover */
.fx-garland,.fx-garland>div,.fx-garland svg{height:100%}


/* Ukiran responsif: lengkungan berulang (mask), lebar lengkungan mengikuti tinggi panel */
.fx-carve{position:relative;width:100%;height:clamp(70px,10vh,110px);filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.fx-carve>i{position:absolute;inset:0;-webkit-mask:var(--carve-mask) center top/auto 100% repeat-x;mask:var(--carve-mask) center top/auto 100% repeat-x}
.fx-carve-body,.fx-carve-shadow{--carve-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 90'%3E%3Cpath d='M-1 0H46V36H-1zM1 34Q-1 60 22.5 70Q46 60 44 34z'/%3E%3C/svg%3E")}
.fx-carve-body{background:var(--cv-body)}
.fx-carve-shadow{background:var(--cv-shadow);transform:translateY(4px)}
.fx-carve-line{--carve-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 90'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M0 12H45M0 26H45'/%3E%3Cpath d='M22.5 30c-9 5-10 14-4 18s12-2 9-6-8-1-6 2M22.5 30c9 5 10 14 4 18s-12-2-9-6 8-1 6 2'/%3E%3C/g%3E%3Ccircle cx='22.5' cy='62' r='3'/%3E%3C/svg%3E");background:var(--cv-line);opacity:.85}
.fx-carve-pendant{position:absolute;left:50%;top:0;height:122%;aspect-ratio:60/110;transform:translateX(-50%)}
.fx-carve-pendant svg{width:100%;height:100%}

/* ======================================================================
   GOLD: OBJEK 3D (CSS 3D sungguhan, berputar + miring mengikuti scroll)
   ====================================================================== */
.fx-h3d{position:relative;z-index:2;width:170px;height:170px;margin:0 auto 30px;perspective:900px;pointer-events:none}
.fx-h3d-tilt{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(-16deg + var(--sp,0) * 28deg))}
.fx-h3d-spin{position:absolute;inset:0;transform-style:preserve-3d;animation:fxH3dSpin 10s linear infinite}
.fx-h3d-spin>*,.fx-h3d-spin i{position:absolute}
.fx-h3d::after{content:"";position:absolute;left:15%;right:15%;bottom:-8px;height:18px;border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.28),transparent 70%);filter:blur(3px)}

/* Cincin kawin (Classic, Champagne, Midnight, Royal) */
.fx-ring{left:50%;top:50%;width:92px;height:92px;margin:-46px;transform-style:preserve-3d}
.fx-ring-0{transform:translateX(-20px)}
.fx-ring-1{transform:translateX(20px) translateY(6px) rotateY(68deg) rotateZ(12deg)}
.fx-ring i{inset:0;border-radius:50%;border:7px solid var(--ring,#d9a84a);transform:translateZ(var(--z));box-shadow:inset 2px 2px 3px rgba(255,255,255,.55),inset -2px -2px 4px rgba(0,0,0,.35)}
.fx-ring i:first-child,.fx-ring i:last-child{border-color:var(--ring-hi,#f6dc95)}
.fx-ring-1{--ring:#e9c9a6;--ring-hi:#fff1dc}
.fx-gem{left:50%;top:50%;width:18px;height:18px;margin:-58px 0 0 -29px;transform-style:preserve-3d}
.fx-gem i{left:0;top:0;width:18px;height:20px;background:linear-gradient(180deg,#ffffff,#bfe6ff 60%,#7fb6e6);clip-path:polygon(50% 100%,0 0,100% 0);transform:rotateY(var(--a)) translateZ(5px) rotateX(-24deg);opacity:.92}
.fx-h3d-rings .fx-h3d-spin{animation-duration:8s}
.fx-h3d-rings::before{content:"";position:absolute;inset:-20%;border-radius:50%;background:radial-gradient(circle,rgba(255,230,160,.35),transparent 60%);animation:fxGlowPulse 3s ease-in-out infinite alternate}

/* Lampion silinder (Oriental, Crimson) */
.fx-lt-slice{left:50%;top:50%;width:26px;height:112px;margin:-56px 0 0 -13px;border-radius:50%/14%;background:linear-gradient(90deg,#7e1214,#e0412f 50%,#7e1214);box-shadow:inset 0 0 14px rgba(255,200,110,.55);transform:rotateY(var(--a)) translateZ(46px)}
.fx-lt-cap{left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:radial-gradient(circle,#f6d28a,#a26b1c 70%);box-shadow:0 0 0 3px #5a1a10}
.fx-lt-top{transform:rotateX(90deg) translateZ(54px)}
.fx-lt-bottom{transform:rotateX(90deg) translateZ(-54px)}
.fx-lt-tassel{left:50%;top:50%;width:3px;height:42px;margin:58px 0 0 -1.5px;background:linear-gradient(#e8b04a,#c0392b)}
.fx-lt-light{position:absolute;inset:-25%;border-radius:50%;background:radial-gradient(circle,rgba(255,170,80,.55),transparent 60%);animation:fxGlowPulse 2.4s ease-in-out infinite alternate}
.fx-h3d-lantern .fx-h3d-spin{animation-duration:14s}
.fx-h3d-lantern .fx-h3d-tilt{animation:fxLanternSway 3.4s ease-in-out infinite alternate}

/* Bola bintang (Enchanted, Celestial, Galaxy, Aurora) */
.fx-sp-dot{left:50%;top:50%;width:5px;height:5px;margin:-2.5px;border-radius:50%;background:var(--c,#fff);box-shadow:0 0 7px var(--c,#fff);transform:rotateY(var(--lon)) rotateX(var(--lat)) translateZ(72px);animation:fxDotTwinkle var(--d,2s) ease-in-out infinite alternate}
.fx-sp-core{left:50%;top:50%;width:46px;height:46px;margin:-23px;border-radius:50%;background:radial-gradient(circle,#fff,var(--fx-gold) 45%,transparent 72%);box-shadow:0 0 40px 10px rgba(255,220,150,.45)}
.fx-sp-orbit{left:50%;top:50%;width:200px;height:200px;margin:-100px;border:1px solid rgba(255,255,255,.45);border-radius:50%;transform:rotateX(76deg)}
.fx-h3d-sphere .fx-h3d-spin{animation-duration:16s}

/* Bunga / daun 3D yang mekar-menguncup (Eternal, Bali, Forest) */
.fx-h3d-flower .fx-h3d-tilt,.fx-h3d-leaves .fx-h3d-tilt{transform:rotateX(calc(-58deg + var(--sp,0) * 22deg))}
.fx-fl-petal{left:50%;top:50%;width:44px;height:78px;margin:-78px 0 0 -22px;transform-origin:50% 100%;border-radius:50% 50% 46% 46%/62% 62% 38% 38%;background:linear-gradient(0deg,#fff6ea,var(--petal,#f2b3c0));box-shadow:inset 0 -12px 18px rgba(255,255,255,.55);transform:rotateY(var(--a)) rotateX(58deg);animation:fxPetalBreathe 4s ease-in-out calc(var(--i) * -.3s) infinite alternate}
.fx-fl-inner{width:32px;height:56px;margin:-56px 0 0 -16px;--petal:#e9849b;animation-name:fxPetalBreatheIn}
.fx-fl-core{left:50%;top:50%;width:30px;height:30px;margin:-15px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff3b0,#e9a92b);transform:rotateX(90deg)}
.theme-tropical-bali .fx-fl-petal{--petal:#fffaf0}
.theme-tropical-bali .fx-fl-inner{--petal:#f6c94c}
.fx-h3d-leaves .fx-fl-petal{border-radius:0 100% 0 100%;background:linear-gradient(0deg,#2f5c38,#9cc48a);--petal:#9cc48a}
.fx-h3d-leaves .fx-fl-inner{background:linear-gradient(0deg,#5f8a52,#d8eac8)}

/* Kubus monogram (Editorial Noir) */
.fx-cube-face{left:50%;top:50%;width:92px;height:92px;margin:-46px;display:grid;place-items:center;border:1px solid var(--fx-gold);background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(0,0,0,.35));color:var(--fx-gold);font:400 44px/1 'Didot','Bodoni MT',Georgia,serif;backface-visibility:visible}
.fx-cube-front{transform:translateZ(46px)}
.fx-cube-back{transform:rotateY(180deg) translateZ(46px)}
.fx-cube-right{transform:rotateY(90deg) translateZ(46px)}
.fx-cube-left{transform:rotateY(-90deg) translateZ(46px)}
.fx-cube-top{transform:rotateX(90deg) translateZ(46px)}
.fx-cube-bottom{transform:rotateX(-90deg) translateZ(46px)}
.fx-h3d-cube .fx-h3d-spin{animation:fxCubeSpin 12s linear infinite}

/* Koin gunungan yang membalik (Golden Nusantara) */
.fx-coin-face{left:50%;top:50%;width:84px;height:154px;margin:-77px 0 0 -42px;backface-visibility:hidden}
.fx-coin-face svg{width:100%;height:100%}
.fx-coin-front{transform:translateZ(6px)}
.fx-coin-back{height:110px;width:110px;margin:-55px 0 0 -55px;transform:rotateY(180deg) translateZ(6px)}
.fx-coin-edge{left:50%;top:50%;width:84px;height:154px;margin:-77px 0 0 -42px;background:#8a5a1c;transform:translateZ(var(--z));-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 220'%3E%3Cpath d='M60 2C78 32 104 62 112 110c6 40-8 76-28 90v18H36v-18C16 186 2 150 8 110 16 62 42 32 60 2z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 220'%3E%3Cpath d='M60 2C78 32 104 62 112 110c6 40-8 76-28 90v18H36v-18C16 186 2 150 8 110 16 62 42 32 60 2z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.fx-h3d-coin{height:180px}
.fx-h3d-coin .fx-h3d-spin{animation-duration:7s}

@keyframes fxH3dSpin{to{transform:rotateY(360deg)}}
@keyframes fxCubeSpin{from{transform:rotateX(-18deg) rotateY(0)}50%{transform:rotateX(18deg) rotateY(180deg)}to{transform:rotateX(-18deg) rotateY(360deg)}}
@keyframes fxGlowPulse{from{opacity:.55;transform:scale(.92)}to{opacity:1;transform:scale(1.06)}}
@keyframes fxLanternSway{from{transform:rotateX(-10deg) rotateZ(-4deg)}to{transform:rotateX(-10deg) rotateZ(4deg)}}
@keyframes fxDotTwinkle{from{opacity:.35}to{opacity:1}}
@keyframes fxPetalBreathe{from{transform:rotateY(var(--a)) rotateX(48deg)}to{transform:rotateY(var(--a)) rotateX(74deg)}}
@keyframes fxPetalBreatheIn{from{transform:rotateY(var(--a)) rotateX(22deg)}to{transform:rotateY(var(--a)) rotateX(44deg)}}


/* ======================================================================
   GOLD: GALERI 3D (gaya berbeda per theme)
   ====================================================================== */
body[class*="fx-gal-"] .mc-gallery-viewport{perspective:1200px}
body[class*="fx-gal-"] .mc-gallery-track{transform-style:preserve-3d}

/* Coverflow: foto samping memutar ke dalam */
body.fx-gal-coverflow .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure.is-gallery-active~figure:not(.is-gallery-active){transform:rotateY(-40deg) scale(.86)!important;transform-origin:0 50%;opacity:.6!important;filter:brightness(.8)!important}
body.fx-gal-coverflow .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure:not(.is-gallery-active):has(~figure.is-gallery-active){transform:rotateY(40deg) scale(.86)!important;transform-origin:100% 50%;opacity:.6!important;filter:brightness(.8)!important}
body.fx-gal-coverflow .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure.is-gallery-active{box-shadow:0 26px 50px rgba(0,0,0,.35)!important}

/* Stack: foto tidak aktif mengecil & miring seperti tumpukan kartu */
body.fx-gal-stack .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure:not(.is-gallery-active){transform:translateY(22px) scale(.8) rotate(-4deg)!important;filter:brightness(.7) saturate(.8)!important}
body.fx-gal-stack .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure.is-gallery-active~figure:not(.is-gallery-active){transform:translateY(22px) scale(.8) rotate(4deg)!important}
body.fx-gal-stack .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure.is-gallery-active{transform:translateY(-6px) scale(1.02)!important;box-shadow:0 30px 60px rgba(0,0,0,.35)!important}

/* Spotlight: hanya foto aktif yang berwarna dan bersinar */
body.fx-gal-spotlight .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure:not(.is-gallery-active){filter:grayscale(1) brightness(.55)!important;transform:scale(.92)!important}
body.fx-gal-spotlight .mc-gallery-shell[data-gallery-mode="carousel"] .mc-gallery figure.is-gallery-active{box-shadow:0 0 0 2px var(--fx-gold),0 0 40px rgba(255,215,140,.45),0 26px 50px rgba(0,0,0,.35)!important}

/* Polaroid: bingkai putih, miring bergantian, lurus saat aktif/hover (semua mode) */
body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure,body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure:nth-child(n){padding:8px 8px 30px!important;background:#fffdf8!important;border-radius:3px!important;box-shadow:0 18px 36px rgba(0,0,0,.25)!important}
body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure img{border-radius:2px!important}
body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure:nth-child(odd){transform:rotate(-2.5deg)!important}
body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure:nth-child(even){transform:rotate(2deg) translateY(10px)!important}
body.fx-gal-polaroid .mc-gallery-shell .mc-gallery figure:is(.is-gallery-active,:hover):nth-child(n){transform:rotate(0) scale(1.03)!important}

/* Tilt (+ cadangan untuk mode non-carousel): foto miring 3D mengikuti scroll */
body:is(.fx-gal-tilt,.fx-gal-coverflow,.fx-gal-stack,.fx-gal-spotlight) .mc-gallery-shell:not([data-gallery-mode="carousel"]) .mc-gallery figure:nth-child(n),body.fx-gal-tilt .mc-gallery-shell .mc-gallery figure:nth-child(odd){transform:perspective(900px) rotateX(calc(var(--sp,0) * -14deg)) rotateY(calc(var(--sp,0) * 12deg))!important}
body:is(.fx-gal-tilt,.fx-gal-coverflow,.fx-gal-stack,.fx-gal-spotlight) .mc-gallery-shell:not([data-gallery-mode="carousel"]) .mc-gallery figure:nth-child(even),body.fx-gal-tilt .mc-gallery-shell .mc-gallery figure:nth-child(even){transform:perspective(900px) rotateX(calc(var(--sp,0) * -14deg)) rotateY(calc(var(--sp,0) * -12deg))!important}


/* ======================================================================
   GOLD: cover ikut miring 3D (pointer / kemiringan HP / gerak otomatis)
   ====================================================================== */
body.fx-cover-tilt:not(.invitation-open) .mc-cover-copy{transform:perspective(1100px) rotateY(calc(var(--px,0) * 7deg)) rotateX(calc(var(--py,0) * -6deg));transform-style:preserve-3d;transition:transform .2s linear}

@media(max-width:640px){.fx-h3d{width:140px;height:140px;transform:scale(.85)}}
@media(prefers-reduced-motion:reduce){.fx-h3d *{animation:none!important}body.fx-cover-tilt .mc-cover-copy{transform:none!important}}

/* ======================================================================
   GOLD: SCENE SELALU HIDUP (bergerak terus, tidak hanya saat scroll)
   transform dipakai parallax scroll, jadi gerak idle memakai properti
   translate/rotate/scale terpisah agar keduanya berjalan bersamaan.
   ====================================================================== */
body.fx-gold .fx-sd svg{transform-origin:50% 100%;animation:fxSdSway 4.6s ease-in-out infinite alternate}
body.fx-gold .fx-has-scene:nth-of-type(2n) .fx-sd svg{animation-duration:5.8s;animation-delay:-1.4s}
body.fx-gold .fx-has-scene:nth-of-type(3n) .fx-sd svg{animation-name:fxSdFloat;animation-duration:6.4s}
body.fx-gold .fx-sd-far svg{transform-origin:50% 50%;animation:fxSdFloat 7.5s ease-in-out -2s infinite alternate}

/* Gunungan wayang: dikibaskan seperti dalang memainkannya */
body.fx-gold.theme-golden-nusantara .fx-sd:not(.fx-sd-far) svg{animation:fxSdWayang 3.4s ease-in-out infinite}
/* Lampion: berayun dari talinya */
body.fx-gold:is(.theme-oriental-dynasty,.theme-crimson-heritage) .fx-sd svg{transform-origin:50% 0}
/* Bintang & kubus: berkelip dan berputar */
body.fx-gold:is(.theme-celestial-love,.theme-love-galaxy,.theme-aurora-dream,.theme-editorial-noir,.theme-midnight-luxe,.theme-royal-majesty,.theme-classic-elegance) .fx-sd-far svg{animation:fxSdTwinkle 3.2s ease-in-out infinite alternate}

body.fx-gold .fx-orb-a{animation:fxOrbDriftA 11s ease-in-out infinite alternate}
body.fx-gold .fx-orb-b{animation:fxOrbDriftB 13s ease-in-out -4s infinite alternate}
body.fx-gold .fx-pat{animation:fxPatDrift 40s linear infinite}
body.fx-gold .fx-pat-bokeh .fx-pat{animation:fxBokehDrift 18s ease-in-out infinite alternate}

@keyframes fxSdSway{from{rotate:-5deg;translate:0 4px}to{rotate:5deg;translate:0 -8px}}
@keyframes fxSdFloat{0%{translate:0 0;rotate:-3deg}50%{translate:8px -16px;rotate:3deg}100%{translate:-6px -6px;rotate:-2deg}}
@keyframes fxSdWayang{0%,100%{rotate:-7deg;translate:0 0}25%{rotate:4deg;translate:0 -10px}50%{rotate:9deg;translate:0 -4px}75%{rotate:-2deg;translate:0 -12px}}
@keyframes fxSdTwinkle{from{scale:.85;opacity:.4;rotate:0deg}to{scale:1.15;opacity:1;rotate:25deg}}
@keyframes fxOrbDriftA{from{translate:-30px 10px;scale:.9}to{translate:50px -40px;scale:1.15}}
@keyframes fxOrbDriftB{from{translate:30px 0;scale:1.1}to{translate:-40px 30px;scale:.88}}
@keyframes fxPatDrift{from{-webkit-mask-position:0 0;mask-position:0 0}to{-webkit-mask-position:var(--pat-size,90px) calc(var(--pat-size,90px) * 2);mask-position:var(--pat-size,90px) calc(var(--pat-size,90px) * 2)}}
@keyframes fxBokehDrift{from{background-position:0 0;opacity:.35}to{background-position:40px -60px;opacity:.6}}

@media(prefers-reduced-motion:reduce){body.fx-gold :is(.fx-sd svg,.fx-orb,.fx-pat){animation:none!important}}