@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti::before,
.confetti::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #0052FF;
    animation: confetti-fall 3s ease-out forwards;
}

.confetti::before {
    left: 20%;
    animation-delay: 0s;
}

.confetti::after {
    left: 80%;
    animation-delay: 0.5s;
    background: #7C3AED;
}

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

body {
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #0052FF;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0066FF;
}

/* Button hover effects */
button {
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.95);
}

/* Card hover effects */
.glass-card:hover {
    border-color: rgba(0, 82, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 82, 255, 0.2);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Accessibility */
button:focus,
a:focus {
    outline: 2px solid #0052FF;
    outline-offset: 2px;
}

/* Dark mode enhancements */
.bg-gradient-to-br {
    background-attachment: fixed;
}