:root {
    --pink-light: #fce7f3; /* pink-100 */
    --pink-primary: #ec4899; /* pink-500 */
    --purple-primary: #a855f7; /* purple-500 */
    --gold-primary: #f59e0b; /* amber-500 */
    --teal-primary: #14b8a6; /* teal-500 */
    --bg-color: #0c001f;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--pink-light);
    overflow: hidden; /* Mencegah scroll di body */
    -webkit-tap-highlight-color: transparent;
}

#aurora-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.aurora-item {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

#aurora-1 { background-color: var(--purple-primary); width: 60vw; height: 60vw; max-width: 500px; max-height: 500px; top: 10%; left: 10%; animation: moveAurora1 25s infinite alternate ease-in-out; }
#aurora-2 { background-color: var(--pink-primary); width: 50vw; height: 50vw; max-width: 400px; max-height: 400px; bottom: 5%; right: 5%; animation: moveAurora2 28s infinite alternate ease-in-out; }
#aurora-3 { background-color: var(--teal-primary); width: 40vw; height: 40vw; max-width: 350px; max-height: 350px; top: 20%; right: 25%; animation: moveAurora3 22s infinite alternate ease-in-out; }

@keyframes moveAurora1 { from { transform: translate(-20%, -10%) rotate(0deg); } to { transform: translate(20%, 10%) rotate(45deg); } }
@keyframes moveAurora2 { from { transform: translate(15%, 10%) rotate(0deg); } to { transform: translate(-15%, -10%) rotate(-45deg); } }
@keyframes moveAurora3 { from { transform: translate(0, 0) scale(0.8) rotate(0deg); } to { transform: translate(-10%, 10%) scale(1.2) rotate(60deg); } }

.font-great-vibes { 
    font-family: 'Great Vibes', cursive; 
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.custom-cursor {
    position: fixed; width: 28px; height: 28px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none; transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out, opacity 0.3s;
    mix-blend-mode: difference;
    z-index: 9999;
    opacity: 0;
}
.custom-cursor.hover { transform: translate(-50%, -50%) scale(1.5); }
.custom-cursor.click { transform: translate(-50%, -50%) scale(0.8); transition-duration: 0.1s; }

.sparkle {
    position: fixed; width: 8px; height: 8px;
    background: white; border-radius: 50%;
    pointer-events: none; z-index: 9998;
    opacity: 0;
    animation: sparkle-anim 0.8s ease-out forwards;
}
@keyframes sparkle-anim {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 0.8; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@media (pointer: coarse) {
    .custom-cursor { display: none; }
}

@media (pointer: fine) {
    body { cursor: none; }
    .custom-cursor { opacity: 1; }
}


.frosted-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.1s linear;
}

@keyframes enter-anim { from { opacity: 0; transform: translateY(40px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.animate-enter { animation: enter-anim 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes exit-anim { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-40px) scale(0.97); } }
.animate-exit { animation: exit-anim 0.7s cubic-bezier(0.5, 0, 0.75, 0) forwards; }

#typed-message-element { position: relative; }
#typed-message-element .char { display: inline-block; opacity: 0; transform: translateY(15px); animation: fadeInChar 0.08s forwards; }
@keyframes fadeInChar { to { opacity: 1; transform: translateY(0); } }

.typing-cursor {
    display: inline-block;
    background-color: var(--pink-light);
    width: 3px; height: 1.2em;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    transform: translateY(4px);
}
@keyframes blink { from, to { background-color: transparent; } 50% { background-color: var(--pink-light); } }

.premium-btn {
    position: relative; overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    -webkit-tap-highlight-color: transparent;
}
.premium-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.premium-btn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.gallery-item img { transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.gallery-item:hover img { transform: scale(1.1); }
#lightbox { transition: opacity 0.4s ease; }
#lightbox-img { transition: transform 0.4s ease, opacity 0.4s ease; }

.custom-scrollbar::-webkit-scrollbar { width: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

#music-toggle {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    color: white;
    z-index: 50;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0; transform: scale(0.8);
    animation: fadeInMusicToggle 1s 2s forwards;
}
@keyframes fadeInMusicToggle { to { opacity: 0.7; transform: scale(1); } }
#music-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}
