* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #0a0a0f;
    background-image: 
        radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    min-height: 100vh;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

.header-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
    position: relative;
}

.header-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.5) 100%);
}

.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 40px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vibe-progress-gradient {
    background: linear-gradient(90deg, #7c3aed, #db2777, #f97316);
}

.manifest-button {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
    box-shadow: 0 4px 20px rgba(219, 39, 119, 0.4);
    position: relative;
    overflow: hidden;
}

.manifest-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(139, 92, 246, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.confetti-particle {
    border-radius: 2px;
    animation: confetti-fall 2s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        top: -10%;
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        top: 100%;
        transform: rotate(720deg) scale(0);
        opacity: 0;
    }
}

.quote-fade {
    animation: fade-in 0.5s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .header-gradient h1 {
        font-size: 1.75rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
}

/* Glow effects */
.glass-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover::after {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}