/* Project Saffron & Azure - Cultural Futurism System */
/* VERSION: 5.0 (Vibrant, Animated, Premium, Joyful) */

:root {
    /* PROJECT SAFFRON & AZURE PALETTE */
    --p-saffron-start: #FF9933;   /* Apple-like vibrancy */
    --p-saffron-end: #FF6A00;
    --p-navy: #0B1F3A;            /* Deep, premium navy */
    --p-soft-cream: #FFF7E6;      /* Joyful, warm background */
    --p-white: #FFFFFF;
    
    /* GRADIENTS */
    --grad-saffron-vibe: linear-gradient(135deg, var(--p-saffron-start) 0%, var(--p-saffron-end) 100%);
    --grad-navy-deep: linear-gradient(135deg, #0B1F3A 0%, #162D4A 100%);
    --grad-azure-soft: linear-gradient(135deg, rgba(11, 31, 58, 0.05) 0%, rgba(255, 153, 51, 0.05) 100%);
    
    /* GLASSMORPHISM - PROJECT SAFFRON & AZURE */
    --p-glass-bg: rgba(255, 255, 255, 0.7);
    --p-glass-border: rgba(255, 153, 51, 0.3);
    --p-glass-blur: blur(20px);
    --p-glow-shadow: 0 8px 32px 0 rgba(255, 106, 0, 0.15);
    --p-lift-shadow: 0 20px 60px 0 rgba(11, 31, 58, 0.2);
}

/* 1. ANIMATED CULTURAL MOTIFS (Mandala/Chakra) */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chakra-rotating {
    animation: rotateSlow 120s linear infinite;
    transform-origin: center;
}

/* 2. FLOATING PARTICLE BOKEH */
@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(20px, -40px); opacity: 0.6; }
}

.particle-bokeh {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, var(--p-saffron-start) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
    animation: floatParticle 10s ease-in-out infinite;
}

/* 3. ASYMMETRIC ZIG-ZAG LAYOUTS */
.asymmetric-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: center;
}

.asymmetric-item-left {
    grid-column: 1 / span 7;
    z-index: 2;
}

.asymmetric-item-right {
    grid-column: 6 / span 7;
    z-index: 1;
}

/* 4. PREMIUM CONTENT CARDS */
.p-card {
    background: var(--p-glass-bg);
    backdrop-filter: var(--p-glass-blur);
    -webkit-backdrop-filter: var(--p-glass-blur);
    border: 1px solid var(--p-glass-border);
    border-radius: 32px;
    box-shadow: var(--p-glow-shadow);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.p-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--p-lift-shadow);
    border-color: var(--p-saffron-start);
}

.p-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(255, 153, 51, 0.1));
    pointer-events: none;
}

/* 5. VIBRANT GRADIENT TEXT */
.p-text-gradient {
    background: var(--grad-saffron-vibe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.p-text-navy {
    color: var(--p-navy);
}

/* 6. TIMELINE REDESIGN - PULSING NODES */
@keyframes nodePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 153, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}

.timeline-line {
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--p-saffron-start), var(--p-navy));
    border-radius: 2px;
}

.timeline-node-pulsing {
    width: 20px;
    height: 20px;
    background: var(--p-saffron-start);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
    position: relative;
    z-index: 10;
}

/* 7. MEDIA VISUALIZER */
.waveform-container {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.waveform-bar {
    width: 4px;
    background: var(--p-saffron-start);
    border-radius: 2px;
    animation: wavePulse 1.2s ease-in-out infinite;
}

@keyframes wavePulse {
    0%, 100% { height: 10px; }
    50% { height: 40px; }
}

/* 8. BUTTON RIPPLE */
.p-btn {
    position: relative;
    overflow: hidden;
    background: var(--grad-saffron-vibe);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px -5px rgba(255, 106, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.p-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(255, 106, 0, 0.6);
}

/* 9. SCROLL PROGRESS BAR */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--grad-saffron-vibe);
    width: 0%;
    transition: width 0.1s ease;
}

/* 10. CUSTOM CURSOR DOT */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--p-saffron-start);
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--p-saffron-start);
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9998;
    transition: transform 0.2s ease-out;
}

/* 11. SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--p-soft-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--grad-saffron-vibe);
    border-radius: 5px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .cursor-dot, .cursor-circle, .particle-bokeh {
        display: none !important;
    }
    .asymmetric-section {
        display: block;
    }
    .asymmetric-item-left, .asymmetric-item-right {
        grid-column: span 12;
    }
}
