/**
 * ==============================================================================
 * INVITRAZ - ENTERPRISE WEDDING INVITATION PLATFORM & CMS
 * File: assets/css/RAZMainAnimations.css
 * Standar: RAZ Enterprise Architecture (Sesuai Web Utama raz.web.id)
 * Tanggal Pembuatan / Update: 2026-10-29 11:18:00 WIB
 * Deskripsi: Animasi signature RAZ Creative Studio (Gold shimmer, floating particles, pulse dot, hover pop)
 * ==============================================================================
 */

/* === GOLD SHIMMER ANIMATION === */
.gold-shimmer {
    background: linear-gradient(90deg, #FFD700 0%, #fff8dc 25%, #FFD700 50%, #FFA500 75%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: razGoldShimmer 3s linear infinite;
    will-change: background-position;
}

@keyframes razGoldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* === SECTION LABEL SHIMMER LINE === */
.section-label::before {
    background: linear-gradient(90deg, #FFD700, #fff8dc, #FFD700);
    background-size: 200% auto;
    animation: razGoldShimmer 3s linear infinite;
}

/* === PULSE DOT ANIMATION === */
@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* === FLOATING KEYWORDS ANIMATION === */
@keyframes float-keyword {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.12; }
    50% { transform: translateY(-25px) rotate(1deg); opacity: 0.25; }
    100% { transform: translateY(0px) rotate(0deg); opacity: 0.12; }
}

/* === FLOATING PARTICLES (BACKGROUND BODY) === */
.raz-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
    background: radial-gradient(circle, #FFD700 0%, transparent 70%);
}
.raz-particle:nth-child(1) { width: 300px; height: 300px; top: -100px; left: -100px; animation: float-slow 18s ease-in-out infinite; }
.raz-particle:nth-child(2) { width: 250px; height: 250px; top: 40%; right: -80px; animation: float-reverse 22s ease-in-out infinite; }
.raz-particle:nth-child(3) { width: 200px; height: 200px; bottom: 10%; left: 5%; animation: float-slow 25s ease-in-out infinite; }
.raz-particle:nth-child(4) { width: 350px; height: 350px; bottom: -150px; right: 10%; animation: float-reverse 20s ease-in-out infinite; }
.raz-particle:nth-child(5) { width: 180px; height: 180px; top: 20%; left: 45%; animation: float-slow 15s ease-in-out infinite; }

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.08); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(30px) scale(0.95); }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    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);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === SCROLL ARROW ANIMATION === */
@keyframes scrollArrow {
    0% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.4; }
}

/* === HOVER & CLICK PULSES === */
.cta-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.45);
}

.cta-primary:active, .cta-secondary:active {
    transform: translateY(0) scale(0.97) !important;
}
