/* ==========================================================================
   Manthan Excellence Collective - BHAKTI Registration System Custom CSS
   Luxury Spiritual Aesthetics
   ========================================================================== */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --color-gold-light: #F3E5AB;
    --color-gold: #D4AF37;
    --color-gold-dark: #AA7C11;
    --color-gold-glow: rgba(212, 175, 55, 0.2);
    --color-cream: #FDFBF7;
    --color-cream-dark: #FFFDD0;
    --color-darkbrown: #1E120A;
    --color-darkbrown-dark: #120A05;
    --color-ebony: #0A0604;
    --color-ebony-light: #16110D;
    
    --font-display: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-ebony);
}
::-webkit-scrollbar-thumb {
    background: var(--color-darkbrown);
    border: 1px solid var(--color-gold);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    background-color: var(--color-ebony);
    color: var(--color-cream);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* Global Font Utilities */
h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}
.font-serif {
    font-family: var(--font-serif);
}
.font-sans {
    font-family: var(--font-sans);
}

/* Luxury Glowing Elements */
.gold-glow {
    box-shadow: 0 0 25px var(--color-gold-glow);
}
.gold-glow-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gold-glow-hover:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.45);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}
.text-glow {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.text-gold-gradient {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(30, 18, 10, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.12);
}
.glass-panel-light {
    background: rgba(253, 251, 247, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 251, 247, 0.1);
}

/* Button Glow and Pulsing */
.btn-gold-glow {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
.btn-gold-glow:hover {
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.pulse-glow {
    animation: pulse-gold 2.5s infinite;
}

/* Floating animation for poster/hero elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.float-element {
    animation: float 5s ease-in-out infinite;
}

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Reveal Elements on Scroll */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
.form-input-dark {
    background: rgba(10, 6, 4, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-cream);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-input-dark:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
    outline: none;
}
.form-input-dark::placeholder {
    color: rgba(253, 251, 247, 0.4);
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    background-color: rgba(10, 6, 4, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 9px;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}
.custom-checkbox:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}
.custom-checkbox:checked::after {
    content: '\2714';
    font-size: 11px;
    color: var(--color-ebony);
    position: absolute;
    top: 1px;
    left: 4px;
}

/* Section Lines */
.section-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.4) 50%, rgba(212, 175, 55, 0) 100%);
    width: 100%;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(212, 175, 55, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--color-gold);
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* WhatsApp Floating Button Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.whatsapp-pulse-button {
    animation: whatsapp-pulse 2s infinite;
}
