* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.header-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.glow-text {
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5), 0 0 80px rgba(236, 72, 153, 0.3);
}

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

.credit-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-card.has-credits .card-inner {
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.credit-card.has-credits::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #8b5cf6);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0;
    animation: glow-border 3s ease-in-out infinite;
}

.credit-card.has-credits:hover::before {
    opacity: 1;
}

@keyframes glow-border {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.confetti-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    border-radius: 2px;
    animation: confetti-fall 3s ease-out forwards;
}

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

.strawberry-particle {
    position: absolute;
    top: -50px;
    animation: strawberry-fall 4s ease-out forwards;
}

@keyframes strawberry-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.counter-animation {
    animation: counter-pop 0.3s ease-out;
}

@keyframes counter-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

@keyframes quote-fade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .glow-text {
        font-size: 2rem;
    }
}