/* ═══════════════════════════════════════════════════════════════
   🌟 ULTIMATE PREMIUM DESIGN SYSTEM 🌟
   Glassmorphism | Micro-Animations | Cinematic Effects
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ═══ Premium Color Palette ═══ */
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.12);
    
    /* Gradient Accents */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    --gradient-aurora: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.4);
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.5);
    
    /* Blur Effects */
    --blur-light: blur(10px);
    --blur-medium: blur(20px);
    --blur-heavy: blur(40px);
}

/* ═══════════════════════════════════════════════════════════════
   🎨 GLASSMORPHISM COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-glass);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3), 
                0 0 80px rgba(34, 211, 238, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Frosted Glass Effect */
.frosted-glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Holographic Card */
.holo-card-premium {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(34, 211, 238, 0.1) 50%,
        rgba(167, 139, 250, 0.1) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.holo-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #8B5CF6, #22D3EE, #A78BFA);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.holo-card-premium:hover::before {
    opacity: 1;
}

.holo-card-premium:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   ✨ PREMIUM ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

/* Floating Animation */
@keyframes float-smooth {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1deg);
    }
    66% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.animate-float {
    animation: float-smooth 6s ease-in-out infinite;
}

/* Glow Pulse */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4),
                    0 0 40px rgba(139, 92, 246, 0.2),
                    0 0 60px rgba(139, 92, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 211, 238, 0.6),
                    0 0 60px rgba(34, 211, 238, 0.4),
                    0 0 90px rgba(34, 211, 238, 0.2);
    }
}

.animate-glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer-effect {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* Rotate 3D */
@keyframes rotate-3d {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.animate-rotate-3d {
    animation: rotate-3d 20s linear infinite;
    transform-style: preserve-3d;
}

/* Scale Pulse */
@keyframes scale-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-scale-pulse {
    animation: scale-pulse 2s ease-in-out infinite;
}

/* Bounce Smooth */
@keyframes bounce-smooth {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-15px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-smooth {
    animation: bounce-smooth 2s infinite;
}

/* Fade In Up Stagger */
@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stagger-item {
    opacity: 0;
    animation: fadeInUpStagger 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════════
   🎭 MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════ */

/* Button Hover Effects */
.btn-premium {
    position: relative;
    padding: 16px 40px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.5),
                0 0 50px rgba(34, 211, 238, 0.3);
}

.btn-premium:active {
    transform: translateY(-1px) scale(1.02);
}

/* Icon Hover */
.icon-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-hover:hover {
    transform: translateY(-3px) rotate(5deg) scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.5));
}

/* Link Underline Animation */
.link-premium {
    position: relative;
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.3s;
}

.link-premium::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #22D3EE);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-premium:hover::after {
    width: 100%;
}

.link-premium:hover {
    color: #A78BFA;
}

/* ═══════════════════════════════════════════════════════════════
   🌈 GRADIENT BACKGROUNDS
   ═══════════════════════════════════════════════════════════════ */

.bg-gradient-cosmic {
    background: linear-gradient(135deg, 
        #0F172A 0%, 
        #1E293B 25%, 
        #334155 50%, 
        #1E293B 75%, 
        #0F172A 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

.bg-gradient-aurora {
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(34, 211, 238, 0.1) 50%,
        rgba(167, 139, 250, 0.1) 100%);
}

/* Mesh Gradient */
.mesh-gradient {
    background: 
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(34, 211, 238, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(167, 139, 250, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.3) 0px, transparent 50%);
}

/* ═══════════════════════════════════════════════════════════════
   💫 PARTICLE EFFECTS
   ═══════════════════════════════════════════════════════════════ */

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8), transparent);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -1000px) scale(0);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🎪 SPECIAL EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* Neon Glow Text */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(34, 211, 238, 0.4),
        0 0 70px rgba(34, 211, 238, 0.3),
        0 0 80px rgba(34, 211, 238, 0.2);
    animation: neon-flicker 3s infinite alternate;
}

@keyframes neon-flicker {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(139, 92, 246, 0.8),
            0 0 20px rgba(139, 92, 246, 0.6),
            0 0 30px rgba(139, 92, 246, 0.4),
            0 0 40px rgba(34, 211, 238, 0.4);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(139, 92, 246, 1),
            0 0 30px rgba(139, 92, 246, 0.8),
            0 0 45px rgba(139, 92, 246, 0.6),
            0 0 60px rgba(34, 211, 238, 0.6),
            0 0 90px rgba(34, 211, 238, 0.4);
    }
}

/* Holographic Shine */
.holographic {
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #00f2fe 100%);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease infinite;
}

/* Glass Reflection */
.glass-reflection {
    position: relative;
}

.glass-reflection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 2s infinite;
}

/* ═══════════════════════════════════════════════════════════════
   📱 RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .glass-card {
        border-radius: 16px;
    }
    
    .btn-premium {
        padding: 12px 30px;
        font-size: 12px;
    }
    
    .holo-card-premium {
        border-radius: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🎨 UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.blur-backdrop {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.transition-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}
