/* =====================================================
💎 THEME: WHITE GOLD ROYAL LAMPUNG - ULTRA CINEMATIC
=====================================================
*/

:root {
    --white: #ffffff;
    --ivory: #faf7f1;
    --dark-gold: #b88a44;
    --gold: #d4af37;
    --light-gold: #f8eacb;
    --text-dark: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(212, 175, 55, 0.4);
    --shadow-premium: 0 20px 80px -20px rgba(184, 138, 68, 0.25);
    --glow-text: 0 0 20px rgba(212, 175, 55, 0.4);
    
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Inter', sans-serif;
}

/* BASE & RESET */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--ivory);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-dark); }
.font-script { font-family: var(--font-script); color: var(--gold); }

/* ✨ TEXT SHIMMER EFFECT (HOLOGRAPHIC GOLD) */
.text-shimmer {
    background: linear-gradient(to right, #b88a44 0%, #fff0c4 50%, #b88a44 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* 🖼️ CINEMATIC LAYERS */
.cinematic-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
    perspective: 100px;
}

.parallax-layer {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s linear; /* Smooth micro-stutter fix */
}

.blur-overlay {
    backdrop-filter: blur(12px) brightness(0.9);
    -webkit-backdrop-filter: blur(12px) brightness(0.9);
}

/* 👑 SIGER ORNAMENT & LINES */
.siger-svg {
    fill: none;
    stroke: url(#goldGradient); /* Referencing SVG gradient */
    stroke-width: 1.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s ease forwards;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* 🧊 3D GLASS CARD */
.luxury-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Controlled by JS for tilt */
    position: relative;
    overflow: hidden;
}

/* Card Shine Effect */
.luxury-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}
.luxury-card:hover::after { left: 150%; transition: 1s ease; }

/* 🎇 PARTICLES */
#particles-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}

/* 🎵 MUSIC PULSE */
.music-fab {
    position: fixed; bottom: 30px; left: 30px; /* Changed to left for cinematic layout */
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 999;
    cursor: pointer;
    backdrop-filter: blur(5px);
}
.pulse-ring {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 1px solid var(--gold);
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* 🖱️ BUTTONS */
.btn-gold-glow {
    background: linear-gradient(135deg, var(--gold), #f0d588);
    color: white;
    padding: 15px 45px;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
}
.btn-gold-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.6);
    color: white;
}

/* ANIMATION UTILITIES */
.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: textUp 0.8s ease forwards;
}
@keyframes textUp { to { opacity: 1; transform: translateY(0); } }

/* SCROLL REVEAL CLASSES */
.gsap-reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.gsap-reveal.active { opacity: 1; transform: translateY(0); }

/* UTILS */
.img-cinematic {
    width: 100%; height: 450px; object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.gold-divider {
    height: 1px; width: 100px; background: var(--gold);
    margin: 2rem auto; position: relative;
}
.gold-divider::after {
    content: '◇'; color: var(--gold); background: var(--ivory);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    padding: 0 10px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .display-1 { font-size: 3.5rem; }
    .cinematic-wrapper { height: 100svh; }
}