/* ========================================
   PREMIUM LUXURY FINTECH ENHANCEMENTS
   ======================================== */

/* Premium Glassmorphism */
.glass-effect {
    background: rgba(31, 41, 55, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Premium Gold Gradient */
:root {
    --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --platinum-gradient: linear-gradient(135deg, #d4d4d4 0%, #f0f0f0 50%, #d4d4d4 100%);
    --luxury-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Cinematic Hero Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Premium Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: floatParticle 20s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Premium Text Shine Effect */
.shine-text {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Luxury Card Hover - 3D Tilt */
.luxury-card {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.luxury-card:hover {
    transform: translateY(-16px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Premium Counter Animation */
.premium-counter {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1;
    background: var(--luxury-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
}

/* Cinematic Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.5) 50%,
        transparent 100%);
    position: relative;
    margin: 80px 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

/* Premium Button Glow */
.btn-premium {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.6);
}

.btn-premium:hover::before {
    opacity: 1;
}

/* Luxury Stat Block Enhancement */
.stat-block-luxury {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.8) 0%, 
        rgba(17, 24, 39, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.stat-block-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%);
    transition: left 0.8s ease;
}

.stat-block-luxury:hover::before {
    left: 100%;
}

/* Premium Gradient Border Animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(99, 102, 241, 0.3);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    }
    50% {
        border-color: rgba(139, 92, 246, 0.6);
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    }
}

.glow-border {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Cinematic Fade In Scroll */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Loading Shimmer */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Luxury Typography */
.luxury-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, 
        #ffffff 0%,
        #e0e0e0 50%,
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Premium Depth Shadows */
.depth-shadow {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.1),
        0 32px 64px rgba(0, 0, 0, 0.1);
}

/* Cinematic Blur Background */
.cinematic-blur {
    position: relative;
}

.cinematic-blur::before {
    content: '';
    position: absolute;
    inset: -100px;
    background: inherit;
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
}
