body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFF1EC;
}
.handwritten {
    font-family: 'Dancing Script', cursive;
    color: #9B5DE5;
}
.gradient-bg {
    background: linear-gradient(135deg, #9B5DE5 0%, #FF6B6B 100%);
}
.gradient-text {
    background: linear-gradient(135deg, #9B5DE5 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wave-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 C20 0, 40 20, 60 10 S100 0, 100 10 L100 20 L0 20 Z' fill='%239B5DE5' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 120px 60px;
}
.music-note {
    position: absolute;
    opacity: 0.1;
    color: #9B5DE5;
    z-index: 0;
}
.card-shadow {
    box-shadow: 0 10px 30px rgba(155, 93, 229, 0.2);
}
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.modal-content {
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.audio-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 5 5, 10 10 T 20 10 T 30 10 T 40 10 T 50 10 T 60 10 T 70 10 T 80 10 T 90 10 T 100 10' stroke='%239B5DE5' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 100px 20px;
}

/* New styles for play button effects */
.play-button {
    transition: all 0.3s ease;
    transform-origin: center;
}
.play-button.active {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(155, 93, 229, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(155, 93, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(155, 93, 229, 0); }
}

/* Background animation */
.wave-bg.playing {
    animation: waveMove 5s linear infinite;
}
@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 120px 0; }
}

/* Music note animation */
.music-note.animate {
    animation: floatNote 4s ease-out forwards;
}
@keyframes floatNote {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    100% { transform: translateY(-100px) rotate(20deg); opacity: 0; }
}

/* Audio wave animation */
.audio-wave.playing {
    animation: waveAnimate 1s infinite alternate;
}
@keyframes waveAnimate {
    0% { background-size: 100px 20px; }
    100% { background-size: 100px 30px; }
}

/* Validation error styles */
.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.error-border {
    border-color: #EF4444 !important;
}

/* Payment modal styles */
.payment-modal {
    max-width: 500px;
    width: 90%;
}
.audio-wave-preview {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 5 5, 10 10 T 20 10 T 30 10 T 40 10 T 50 10 T 60 10 T 70 10 T 80 10 T 90 10 T 100 10' stroke='%239B5DE5' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 100px 20px;
}

.audio-wave-preview.playing {
    animation: waveAnimate 1s infinite alternate;
}

.play-button {
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.05);
}
.example-slideshow {
    height: 160px;
    position: relative;
}

.example-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.example-slide.active {
    opacity: 1;
}


.example-indicator {
    transition: all 0.3s ease;
}

.example-indicator.active {
    background-color: #9B5DE5;
    transform: scale(1.3);
}

.example-prev,
.example-next {
    @apply absolute bg-white text-purple-600 rounded-full w-10 h-10 flex items-center justify-center shadow-lg hover:bg-purple-50 transition border border-gray-200;

    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.example-prev {
    left: 8px; /* ajuste responsivo para mobile */
}

.example-next {
    right: 8px; /* ajuste responsivo para mobile */
}

@media (min-width: 768px) {
    .example-prev {
        left: 20px;
    }
    .example-next {
        right: 20px;
    }
}


.example-slideshow {
    height: 180px; /* Ajuste conforme necessário */
}

.fixed-button-container {
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Esconde o botão quando o modal estiver fechado */
#step2Content:not(.hidden) + .fixed-button-container {
    transform: translateY(0);
}

#step2Content.hidden + .fixed-button-container {
    transform: translateY(100%);
}

#lyricFeedback {
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
}

#lyricFeedback:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

#lyricFeedback:hover {
    border-color: #9ca3af;
}

/* Alternativa CSS sem GIF */
.custom-loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #9B5DE5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}