/* Quiz-specific styles */
.quiz-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #faf8f3 0%, #f5f1e8 100%);
    text-align: center;
}

.quiz-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.quiz-hero p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
}

.quiz-progress {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 90, 60, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: #8b5a3c;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 10%;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.quiz-container {
    padding: 80px 0;
    min-height: 500px;
}

.quiz-content {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.question-content {
    text-align: center;
}

.question-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.question-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.question-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.option-card {
    background: #faf8f3;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-card:hover {
    background: #f5f1e8;
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #8b5a3c;
    background: white;
    box-shadow: 0 4px 16px rgba(139, 90, 60, 0.2);
}

.option-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.option-card p {
    color: #666;
    font-size: 14px;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.nav-btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

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

.nav-btn:disabled:hover {
    transform: none;
}

/* Quiz Results */
.quiz-results {
    padding: 80px 0;
    background: #faf8f3;
}

.results-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.results-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 48px;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.result-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scent-visual {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #8b5a3c, #6d4530);
    position: relative;
    overflow: hidden;
}

.scent-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.result-info {
    text-align: left;
}

.result-info h3 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.result-info p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.scent-notes h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.note-tag {
    background: #8b5a3c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.result-actions {
    background: white;
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.result-actions h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.result-actions p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.text-button {
    background: none;
    border: none;
    color: #8b5a3c;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.text-button:hover {
    color: #6d4530;
}

.quiz-info {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.info-card {
    text-align: center;
    padding: 32px;
}

.info-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.info-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8b5a3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-hero h1 {
        font-size: 36px;
    }
    
    .quiz-hero p {
        font-size: 18px;
    }
    
    .quiz-card {
        padding: 32px;
        min-height: 350px;
    }
    
    .question-title {
        font-size: 24px;
    }
    
    .question-options {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .result-info {
        text-align: center;
    }
    
    .scent-visual {
        width: 250px;
        height: 250px;
    }
    
    .scent-visual::before {
        width: 150px;
        height: 150px;
    }
    
    .results-content h2 {
        font-size: 36px;
    }
    
    .result-info h3 {
        font-size: 28px;
    }
    
    .result-actions h3 {
        font-size: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .quiz-hero {
        padding: 120px 0 60px;
    }
    
    .quiz-card {
        padding: 24px;
        min-height: 300px;
    }
    
    .question-title {
        font-size: 20px;
    }
    
    .question-subtitle {
        font-size: 16px;
    }
    
    .option-card {
        padding: 16px;
    }
    
    .option-card h4 {
        font-size: 18px;
    }
    
    .nav-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .result-card {
        padding: 24px;
    }
    
    .result-actions {
        padding: 24px;
    }
    
    .scent-visual {
        width: 200px;
        height: 200px;
    }
    
    .scent-visual::before {
        width: 120px;
        height: 120px;
    }
    
    .notes-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .note-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
} 