/**
 * Valentine Gift Finder Quiz Styles
 */

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.quiz-section {
    display: none;
}

.quiz-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* Entry Section */
.quiz-entry-content {
    text-align: center;
    padding: 60px 20px;
}

.quiz-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.quiz-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.quiz-primary-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.quiz-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Progress Bar */
.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 16.66%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    display: block;
}

/* Question Container */
.question-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-subtle);
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.question-options {
    display: grid;
    gap: 12px;
}

.option-btn {
    background: var(--bg-dark);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.option-btn:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
    transform: translateX(4px);
}

.option-btn.selected {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.quiz-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

.quiz-nav-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.quiz-nav-btn.prev {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.quiz-nav-btn.next {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
}

.quiz-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Section */
.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.results-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.recommendations-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.recommendation-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    border-color: #ff6b6b;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.15);
    transform: translateY(-4px);
}

.recommendation-card.best-overall {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 142, 142, 0.02) 100%);
}

.recommendation-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.recommendation-header {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.recommendation-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-dark);
}

.recommendation-content {
    flex: 1;
}

.recommendation-headline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.recommendation-why {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.recommendation-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.recommendation-cta {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recommendation-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.urgency-text {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 8px;
    font-weight: 500;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Results Footer */
.results-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.quiz-secondary-btn {
    background: var(--bg-dark);
    color: var(--text-primary);
    border: 2px solid var(--border-subtle);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 32px;
}

.quiz-secondary-btn:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.share-section {
    margin-top: 32px;
}

.share-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.8rem;
    }
    
    .quiz-subtitle {
        font-size: 1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .question-container {
        padding: 24px;
    }
    
    .recommendation-header {
        flex-direction: column;
    }
    
    .recommendation-image {
        width: 100%;
        height: 200px;
    }
}
