:root {
    --bg-color-body: #e2ccb5; /* Beige from image */
    --bg-color-container: #f8eedd; /* Light cream from image */
    --text-color-primary: #3c2a21; /* Dark brown */
    --golden-light: #d4b483;
    --golden-dark: #c9810c;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --golden-shadow-color: rgba(212, 180, 131, 0.2);
    --golden-shadow-color-heavy: rgba(212, 180, 131, 0.3);
    --font-family-heading: 'Playfair Display', serif;
    --font-family-body: 'EB Garamond', serif;
}

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    background-color: var(--bg-color-body);
    color: var(--text-color-primary);
    /* background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23d4b483" fill-opacity="0.1" fill-rule="evenodd"/%3E%3C/svg%3E'); */
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

#quiz-container {
    background: var(--bg-color-container);
    border-radius: 5px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    /* border: 1px solid rgba(212, 180, 131, 0.3); */
}

#progress-container {
    width: 100%;
    height: 8px;
    background: var(--golden-shadow-color);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background: var(--golden-dark);
    border-radius: 4px;
    width: 0%;
    transition: width 0.2s ease;
}

#question-text {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color-primary);
    font-weight: 500;
}

.answer-button {
    font-family: var(--font-family-body);
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--bg-color-container);
    border: 1px solid var(--golden-light);
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: var(--text-color-primary);
}

.answer-button:hover {
    background: var(--golden-light);
    border-color: var(--golden-light);
    color: var(--text-color-primary);
}

.answer-button.selected {
    background: var(--golden-dark);
    color: white;
    border-color: var(--golden-dark);
    box-shadow: none;
}

#email-form {
    text-align: center;
    width: 100%;
}

#email-form h2 {
    color: var(--text-color-primary);
    margin: 1.5rem 0 1rem;
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    text-align: center;
    font-family: var(--font-family-heading);
    font-weight: 500;
    display: block;
    margin: 1.5rem auto 1rem auto;
}

#email-form p {
    font-family: var(--font-family-body);
    margin-bottom: 1.5rem;
    color: var(--text-color-primary);
}

#email-input {
    font-family: var(--font-family-body);
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--golden-light);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-color-container);
    color: var(--text-color-primary);
}

#email-input:focus {
    outline: none;
    border-color: var(--golden-dark);
    box-shadow: 0 0 0 3px var(--golden-shadow-color);
}

.consent-container {
    color: #635134;
    text-align: center;
    font-size: 0.6rem;
    margin-bottom: 3rem;
}

.consent-container p {
    font-family: var(--font-family-body);
    margin-left: 0.5rem;
    font-size: 0.6rem;
    margin-bottom: 2rem;
    color: var(--text-color-primary);
}

button[type="submit"] {
    font-family: var(--font-family-body);
    background: var(--golden-light);
    color: var(--text-color-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    box-shadow: none;
}

button[type="submit"]:hover {
    background: var(--golden-dark);
    color: white;
}

@media (max-width: 600px) {
    .container {
        margin: 1rem auto;
    }
    
    #quiz-container {
        padding: 1.5rem;
        border-radius: 5px;
    }
    
    #question-text {
        font-size: 1.2rem;
    }
    
    .answer-button {
        padding: 0.8rem;
    }

    /* Disable hover effect on touch devices by resetting to default styles */
    .answer-button:hover {
        background: var(--bg-color-container); /* Match default background */
        border-color: var(--golden-light); /* Match default border color */
        color: var(--text-color-primary); /* Match default text color */
    }
}

#intro-container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

#intro-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--text-color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-style: italic;
}

#intro-container p {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color-primary);
}

.intro-details {
    background: var(--bg-color-container);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.intro-details h3 {
    font-family: var(--font-family-heading);
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    color: var(--text-color-primary);
    margin-bottom: 1rem;
}

.intro-details ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.intro-details li {
    font-size: clamp(1rem, 4vw, 1.1rem);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.intro-details li:before {
    content: "•";
    color: var(--golden-dark);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.start-button {
    font-family: var(--font-family-body);
    padding: 1rem 2.5rem;
    font-size: clamp(1rem, 4vw, 1.2rem);
    background: var(--golden-dark);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.start-button:hover {
    background: var(--golden-light);
    color: var(--text-color-primary);
}

.start-button:active {
    transform: scale(0.98);
} 