/* ============================================================
   UNDANGAN PERNIKAHAN ADAT JAWA — TEMA CERAH (IVORY, EMAS & TERRACOTTA)
   ============================================================ */

/* ============ TEMA CERAH: IVORY, EMAS & TERRACOTTA ============ */
body {
    background: linear-gradient(160deg, #FDF9F1 0%, #F9F1E4 50%, #F6EADF 100%);
    color: #4B2E1E;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Latar batik lembut: titik emas tipis di atas ivory */
.batik-bg {
    background-color: #FBF5EA;
    background-image:
        radial-gradient(rgba(185, 138, 47, 0.14) 1px, transparent 0),
        radial-gradient(rgba(192, 133, 115, 0.10) 1px, transparent 0);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* Cahaya lembut yang bergerak (aurora ivory-blush-emas) */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    animation: driftGlow 14s ease-in-out infinite alternate;
}
@keyframes driftGlow {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(24px, -18px) scale(1.12); }
    100% { transform: translate(-18px, 14px) scale(0.95); }
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.88), rgba(250, 242, 229, 0.92));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 165, 94, 0.45);
    box-shadow: 0 12px 32px rgba(120, 82, 40, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gold-border {
    border: 1.5px solid #D9BC7A;
    box-shadow: 0 0 14px rgba(217, 188, 122, 0.45), inset 0 0 10px rgba(255, 250, 235, 0.8);
}

/* Teks emas gelap agar terbaca di latar terang */
.gold-gradient-text {
    background: linear-gradient(120deg, #8A6A2F 0%, #C6A55E 45%, #A5771C 80%, #C08573 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmerText 5s linear infinite;
}
@keyframes shimmerText {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.gold-button {
    background: linear-gradient(135deg, #C6A55E 0%, #EAD9AE 50%, #B98A2F 100%);
    color: #3E2A12;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(185, 138, 47, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gold-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: rotate(25deg);
    animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
    0% { left: -60%; }
    30% { left: 140%; }
    100% { left: 140%; }
}

.gold-button:active { transform: scale(0.96); }

/* Scroll Reveal */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1.5deg); }
}
.animate-float { animation: floatSlow 5s ease-in-out infinite; }

@keyframes swingSoft {
    0%, 100% { transform: rotate(-2.5deg); }
    50% { transform: rotate(2.5deg); }
}
.animate-swing { animation: swingSoft 6s ease-in-out infinite; transform-origin: top center; }

@keyframes pulseGlow {
    0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 6px rgba(217, 188, 122, 0.5)); }
    50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(192, 133, 115, 0.65)); }
}
.animate-glow { animation: pulseGlow 3s infinite; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.18); }
    28% { transform: scale(1); }
    42% { transform: scale(1.12); }
    56% { transform: scale(1); }
}
.animate-heartbeat { animation: heartbeat 2.6s ease-in-out infinite; }

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.7); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
.animate-bounce-in { animation: bounceIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Kelopak bunga jatuh (sekar) */
.petal {
    position: absolute;
    top: -6vh;
    width: 14px;
    height: 14px;
    border-radius: 70% 30% 70% 30%;
    background: linear-gradient(135deg, rgba(240, 178, 160, 0.9), rgba(217, 142, 126, 0.55));
    pointer-events: none;
    opacity: 0;
    animation: petalFall linear infinite;
}
.petal.gold {
    background: linear-gradient(135deg, rgba(234, 217, 174, 0.95), rgba(198, 165, 94, 0.5));
}
@keyframes petalFall {
    0%   { transform: translateY(-6vh) translateX(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.9; }
    50%  { transform: translateY(50vh) translateX(26px) rotate(280deg); opacity: 0.85; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(108vh) translateX(-18px) rotate(560deg); opacity: 0; }
}

/* Bintik cahaya berkelip */
.sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #E8C87E 0%, rgba(234, 217, 174, 0) 70%);
    pointer-events: none;
    animation: twinkle ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { transform: scale(0.4); opacity: 0.2; }
    50%      { transform: scale(1.3); opacity: 0.95; }
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #F3EADA; }
::-webkit-scrollbar-thumb { background: #C6A55E; border-radius: 4px; }

/* ============================================================
   IDENTITAS PEMBUAT WEB (footer)
   ============================================================ */
.crafted-by {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px dashed rgba(198, 165, 94, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.crafted-text {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(107, 74, 50, 0.6);
}

.crafted-name {
    color: #A5771C;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.crafted-name:hover {
    color: #8A6A2F;
    text-shadow: 0 0 10px rgba(198, 165, 94, 0.6);
}

.crafted-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.crafted-socials a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #B98A2F;
    background: rgba(255, 253, 248, 0.9);
    border: 1px solid rgba(198, 165, 94, 0.55);
    box-shadow: 0 3px 10px rgba(120, 82, 40, 0.10);
    transition: all 0.25s ease;
}

.crafted-socials a svg {
    width: 16px;
    height: 16px;
}

.crafted-socials a:hover {
    color: #FFFDF8;
    background: linear-gradient(135deg, #C6A55E, #B98A2F);
    border-color: #B98A2F;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(185, 138, 47, 0.35);
}
