/* ==========================================
   1. ANIMASI UTAMA & EFEK LOGO 
   ========================================== */
@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-12px) rotate(3deg) scale(1.03); }
    100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

@keyframes neonGlow {
    0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(20, 241, 149, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 60px rgba(153, 69, 255, 0.7); }
    100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(20, 241, 149, 0.2); }
}

.animate-logo-float {
    animation: floatLogo 4s ease-in-out infinite;
}

.animate-neon-glow {
    animation: neonGlow 3s ease-in-out infinite;
}


/* ==========================================
   2. HIGH-TECH LIVE BACKGROUND (CYBER GRID & ORBS)
   ========================================== */
body {
    background-color: #030307;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Efek Garis Grid Perspektif Bergerak */
.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(20, 241, 149, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(153, 69, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
    z-index: -2;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

/* Bola Cahaya Neon Energi Hidup */
.energy-orb-1, .energy-orb-2, .energy-orb-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -3;
    pointer-events: none;
    opacity: 0.25;
}

.energy-orb-1 {
    top: -10%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: #FFD700; /* Gold */
    animation: floatOrb1 12s ease-in-out infinite alternate;
}

.energy-orb-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #9945FF; /* Solana Purple */
    animation: floatOrb2 15s ease-in-out infinite alternate;
}

.energy-orb-3 {
    bottom: -10%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: #14F195; /* Solana Green */
    animation: floatOrb3 10s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(80px) scale(1.2); }
}
@keyframes floatOrb2 {
    0% { transform: translateX(0) scale(1); }
    100% { transform: translateX(-70px) scale(1.3); }
}
@keyframes floatOrb3 {
    0% { transform: translateY(0) scale(1.1); }
    100% { transform: translateY(-60px) scale(0.9); }
}


/* ==========================================
   3. TEKS GRADASI & TOMBOL INTERAKTIF
   ========================================== */
.text-gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.text-gradient-sol {
    background: linear-gradient(135deg, #14F195 0%, #9945FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(20, 241, 149, 0.4));
}

.glow-btn-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glow-btn-gold:hover {
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.95), 0 0 90px rgba(255, 215, 0, 0.5);
    transform: translateY(-4px) scale(1.06);
}

.glow-btn-sol {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glow-btn-sol:hover {
    box-shadow: 0 0 45px rgba(153, 69, 255, 0.9), 0 0 70px rgba(20, 241, 149, 0.6);
    transform: translateY(-4px) scale(1.06);
    background: rgba(20, 241, 149, 0.12);
}


/* ==========================================
   4. ANIMASI BANNER & FRAME NEON
   ========================================== */
.animate-float {
    animation: floatBanner 5s ease-in-out infinite;
}
@keyframes floatBanner {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.banner-glow-frame {
    position: relative;
    border-radius: 1rem;
    padding: 3px;
    background: linear-gradient(45deg, #FFD700, #14F195, #9945FF, #FFD700);
    background-size: 300% 300%;
    animation: borderGradient 6s ease infinite;
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ==========================================
   5. PANEL KACA (GLASSMORPHISM)
   ========================================== */
.glass-panel {
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 215, 0, 0.18);
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.35s ease;
}
.glass-panel:hover {
    border-color: rgba(255, 215, 0, 0.55);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.22);
    transform: translateY(-5px);
}


/* ==========================================
   6. PARTIKEL BINTANG / EMAS JATUH
   ========================================== */
.star-particle {
    position: absolute;
    background: #FFD700;
    border-radius: 50%;
    pointer-events: none;
    animation: twinkleFloat linear infinite;
}

@keyframes twinkleFloat {
    0% {
        transform: translateY(0px) scale(0.8);
        opacity: 0.2;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px #FFD700, 0 0 20px #14F195;
    }
    100% {
        transform: translateY(-110vh) scale(1.2);
        opacity: 0;
    }
}


/* ==========================================
   7. ANIMASI KOMODO GIF BERJALAN PRESI
   ========================================== */
.walking-komodo-gif {
    position: fixed;
    bottom: 12px;
    z-index: 99;
    width: 110px;           /* Ukuran Komodo proporsional */
    height: auto;           /* Menjaga rasio asli agar tidak terdistorsi */
    max-height: 120px;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
    animation: komodoWalkAcross 16s linear infinite;
}

@keyframes komodoWalkAcross {
    0% {
        left: -140px;
        transform: scaleX(1); /* Berjalan ke kanan */
    }
    48% {
        left: calc(100vw + 20px);
        transform: scaleX(1);
    }
    50% {
        left: calc(100vw + 20px);
        transform: scaleX(-1); /* Balik arah ke kiri */
    }
    98% {
        left: -140px;
        transform: scaleX(-1);
    }
    100% {
        left: -140px;
        transform: scaleX(1);
    }
}