/* CSS Custom Properties */
:root {
    --color-primary: #2d5016;
    --color-primary-light: #4a7c2e;
    --color-secondary: #a8d5a2;
    --color-bg: #f7f5f0;
    --color-bg-white: #ffffff;
    --color-text: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-accent: #48bb78;
    --color-border: #e2e8f0;
    --color-option-bg: #ffffff;
    --color-option-border: #cbd5e0;
    --color-option-hover: #48bb78;
    --color-alert: #856404;
    --color-alert-bg: #fff3cd;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
}

/* Quiz Container */
.quiz-container {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-white);
}

/* Header */
.quiz-header {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Progress */
.progress-section {
    padding: 16px 24px;
    text-align: center;
}

.progress-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Quiz Content */
.quiz-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* Footer */
.quiz-footer {
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.quiz-footer p {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Quiz Questions */
.question-emoji { font-size: 48px; text-align: center; margin-bottom: 16px; }
.question-text { font-size: 22px; font-weight: 700; color: var(--color-text); text-align: center; margin-bottom: 32px; line-height: 1.3; }
.options-container { display: flex; flex-direction: column; gap: 12px; }
.option-btn { width: 100%; padding: 16px 20px; background: var(--color-option-bg); border: 2px solid var(--color-option-border); border-radius: var(--radius-md); font-size: 16px; font-weight: 500; color: var(--color-text); cursor: pointer; transition: all 0.2s ease; text-align: left; }
.option-btn:hover { border-color: var(--color-option-hover); transform: translateY(-2px); }
.option-btn.selected { background: var(--color-accent); border-color: var(--color-accent); color: white; }
.result-container { text-align: center; padding: 20px 0; }
.result-emoji { font-size: 64px; margin-bottom: 16px; }
.result-title { font-size: 24px; font-weight: 700; color: var(--color-text); margin-bottom: 16px; }
.result-badge { display: inline-block; padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.result-text { font-size: 16px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 24px; }
.cta-btn { width: 100%; padding: 16px 24px; background: var(--color-primary); color: white; border: none; border-radius: var(--radius-md); font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.cta-btn:hover { background: var(--color-primary-light); }

/* Tablet */
@media (min-width: 768px) {
    .quiz-container {
        max-width: 480px;
        box-shadow: var(--shadow-md);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .quiz-container {
        max-width: 420px;
        margin-top: 40px;
        border-radius: var(--radius-lg);
        min-height: calc(100vh - 80px);
    }
}
