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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a0000 0%, #4a0000 25%, #8b0000 50%, #4a0000 75%, #1a0000 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Para adicionar sua imagem de fundo */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/photo_2025-10-06_22-20-56.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

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

.container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.question-container {
    display: none;
    animation: fadeIn 0.6s ease;
}

.question-container.active {
    display: block;
}

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

h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 35px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 100, 100, 0.6);
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.text-input {
    width: 100%;
    max-width: 450px;
    padding: 20px 25px;
    font-size: 18px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 100, 100, 0.5);
    border-radius: 15px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.text-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff0844;
    box-shadow: 0 0 20px rgba(255, 8, 68, 0.4);
}

.submit-btn {
    width: 100%;
    max-width: 300px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 8, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 8, 68, 0.6);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.option-btn {
    width: 100%;
    max-width: 400px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 8, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 8, 68, 0.6);
}

.option-btn:active {
    transform: translateY(-1px);
}

.result-container {
    display: none;
    text-align: center;
    animation: scaleIn 0.8s ease;
}

.result-container.active {
    display: block;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.result-title {
    font-size: 36px;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.result-subtitle {
    font-size: 20px;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-btn {
    padding: 20px 50px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease infinite;
}

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

.cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.7);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0844, #ffd700);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.loading-animation {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading-animation.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ff0844;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 25px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .text-input {
        font-size: 16px;
        padding: 18px 20px;
    }
    
    .submit-btn,
    .option-btn {
        font-size: 16px;
        padding: 15px 25px;
    }
    
    .result-title {
        font-size: 28px;
    }
    
    .cta-btn {
        font-size: 18px;
        padding: 18px 40px;
    }
}