@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 107, 0.8); }
}

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

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #FF6B6B, #6B5B95, #4ECDC4, #FF8FA3);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    opacity: 0.2;
}

.gradient-text {
    background: linear-gradient(45deg, #FF6B6B, #FF8FA3, #4ECDC4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
}

.glow-button {
    background: linear-gradient(45deg, #FF6B6B, #FF8FA3);
    animation: glow 2s ease-in-out infinite;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.glow-button:hover {
    transform: scale(1.05);
}

.berry-button {
    background: linear-gradient(45deg, #FF6B6B, #FF8FA3);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.berry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.berry-button-secondary {
    background: transparent;
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
    cursor: pointer;
    transition: all 0.3s;
}

.berry-button-secondary:hover {
    background: #FF6B6B;
    color: white;
    transform: translateY(-2px);
}

.stage-card {
    background: rgba(107, 91, 149, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.stage-card:hover {
    border-color: #FF6B6B;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.stage-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #FF6B6B, #FF8FA3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.glass-card {
    background: rgba(107, 91, 149, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.idea-card {
    background: rgba(107, 91, 149, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 30px;
    padding: 3rem;
}

.quote-card {
    background: rgba(107, 91, 149, 0.2);
    backdrop-filter: blur(10px);
    border-left: 4px solid #FF6B6B;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fade-in 1s ease-out 0.6s both;
}

.loading-animation {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top-color: #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinning-strawberry {
    cursor: pointer;
    transition: transform 0.3s;
}

.spinning-strawberry:hover {
    animation: spin 0.5s ease-in-out;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #FF6B6B, #FF8FA3, #4ECDC4, #FFD93D);
    top: -10px;
    animation: confetti-fall forwards;
}

.confetti-piece:nth-child(odd) {
    background: #FF6B6B;
}

.confetti-piece:nth-child(even) {
    background: #4ECDC4;
}

.confetti-piece:nth-child(3n) {
    background: #FF8FA3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stage-card {
        padding: 1.5rem;
    }
    
    .idea-card {
        padding: 2rem;
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #FF6B6B, #6B5B95);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FF8FA3, #4ECDC4);
}