:root {
    --bg-color: #FFFBF0;
    /* Warmer, cleaner cream */
    --primary-color: #D4AF37;
    /* Rich Metallic Gold */
    --primary-hover: #C5A028;
    --text-color: #1A1A1A;
    /* Softer, deep black */
    --text-secondary: #5C5C5C;
    --logo-color: #B48E2D;
    /* Harmonized Gold */
    --font-family: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    /* Mobile-first, padding added to container */
}

.app-container {
    width: 100%;
    max-width: 600px;
    /* Constrain width for desktop for a mobile-app feel */
    min-height: 100vh;
    background-color: var(--bg-color);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.screen {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header / Logo */
.logo-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--logo-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--logo-color);
    letter-spacing: 1px;
}

/* Progress Bar Placeholder (Visual accent from image) */
.progress-bar-placeholder {
    width: 100%;
    height: 4px;
    background-color: #f0eecd;
    margin-bottom: 40px;
    border-radius: 2px;
    position: relative;
    max-width: 400px;
}

.progress-fill {
    width: 15%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Typography */
.main-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: #000;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.note {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.4), 0 4px 6px -2px rgba(212, 175, 55, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
}

@media (min-width: 768px) {
    .main-title {
        font-size: 32px;
    }
}

/* Quiz Question Styles */
.question-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.option-btn {
    background-color: #C68E17;
    /* Darker gold/mustard from reference */
    color: #fff;
    border: none;
    width: 100%;
    padding: 20px 24px;
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 500;
    border-radius: 16px;
    /* Rounded corners */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    /* Text left, circle right */
    align-items: center;
    text-align: left;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-btn:hover {
    background-color: #b07d14;
    transform: translateY(-2px);
}

.option-circle {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Main Logo */
.main-logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* Selected State for Options */
.option-btn.selected {
    background-color: #8D6E1F;
    transform: scale(0.98);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.option-btn.selected .option-circle {
    background-color: #fff;
    position: relative;
    border-color: #fff;
}

.option-btn.selected .option-circle::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8D6E1F;
    font-size: 14px;
    font-weight: bold;
}