* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0f0f23;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.generate-button {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #0ea5e9 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.generate-button:hover {
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.slide {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.slide-inactive {
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    z-index: 1;
}

.nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.nav-button:disabled {
    cursor: not-allowed;
}

.floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

.personality-float {
    animation: personality-bounce 2s ease-in-out infinite;
}

@keyframes personality-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.confetti-particle {
    position: absolute;
    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;
    }
}

@media (max-width: 640px) {
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .nav-button.left-4 {
        left: 8px;
    }
    
    .nav-button.right-4 {
        right: 8px;
    }
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus {
    outline: none;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}