/* Yes/No generator specific styles */

.question-prompt {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Animated result container */
.yesno-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    transition: all 0.5s ease;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

/* Yes styling */
.yesno-answer.yes {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 3px solid #22c55e;
    color: #15803d;
    animation: celebrateYes 0.6s ease-out;
}

.yesno-answer.yes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    animation: pulseYes 2s infinite;
}

/* No styling */
.yesno-answer.no {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border: 3px solid #ef4444;
    color: #dc2626;
    animation: shakeNo 0.6s ease-out;
}

.yesno-answer.no::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    animation: pulseNo 2s infinite;
}

/* Large emoji display */
.answer-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounceIn 0.8s ease-out;
    position: relative;
    z-index: 2;
}

/* Answer text */
.answer-text {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Subtitle message */
.answer-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Copy button for yes/no */
.yesno-copy-btn {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: inherit;
    border: 2px solid currentColor;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.yesno-copy-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Animations */
@keyframes celebrateYes {
    0% { transform: scale(0.8) rotate(-5deg); opacity: 0; }
    50% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes shakeNo {
    0% { transform: translateX(0) scale(0.8); opacity: 0; }
    20% { transform: translateX(-10px) scale(0.9); }
    40% { transform: translateX(10px) scale(0.95); }
    60% { transform: translateX(-8px) scale(1); }
    80% { transform: translateX(5px) scale(1); opacity: 1; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0) rotate(180deg); }
    50% { transform: scale(1.2) rotate(20deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes pulseYes {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes pulseNo {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Special hover effect for the generate button */
.generate-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scale(1.05);
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.generate-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Responsive design */
@media (max-width: 768px) {
    .yesno-answer {
        padding: 2rem 1rem;
        min-height: 160px;
    }
    
    .answer-emoji {
        font-size: 3rem;
    }
    
    .answer-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .answer-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .answer-emoji {
        font-size: 2.5rem;
    }
    
    .answer-text {
        font-size: 1.8rem;
    }
}