:root {
    --nude-bg: #f7ede2;
    --nude-card: #fff8f0;
    --nude-accent: #f6bd60;
    --nude-accent-dark: #e07a5f;
    --nude-text: #5e503f;
    --nude-header: #d4a373;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--nude-bg);
    color: var(--nude-text);
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: var(--nude-header);
    color: #fff;
    padding: 1rem;
}

header h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    margin: 0.5rem 0;
}

header p {
    margin: 0;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.banner-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-bottom: 5px solid var(--nude-accent);
}

.quiz-container {
    background: var(--nude-card);
    max-width: 550px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Animated transitions */
.slide-in {
    animation: slideIn 0.5s ease forwards;
}
.slide-out {
    animation: slideOut 0.5s ease forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

.question-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.question-image:hover {
    transform: scale(1.03);
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.5rem;
}

button {
    background-color: var(--nude-accent);
    color: var(--nude-text);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: var(--nude-accent-dark);
    color: white;
    transform: translateY(-2px);
}

footer {
    font-size: 0.8rem;
    padding: 1rem;
    color: #8d6e63;
}

/* Mobile & small device tweaks */
@media (max-width: 600px) {
    body {
        font-size: 16px;
        padding: 0 10px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1rem;
        padding: 0 5px;
    }

    .banner-image {
        max-height: 180px;
        object-fit: cover;
    }

    .quiz-container {
        margin: 1rem auto;
        padding: 1rem;
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .question-image {
        max-height: 180px;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .button-row {
        flex-direction: column;
        gap: 10px;
    }

    button {
        font-size: 1.1rem;
        padding: 14px 0;
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(224,122,95,0.3);
        user-select: none;
    }

    /* Inputs and labels bigger for easier touch */
    input[type="radio"] {
        width: 22px;
        height: 22px;
    }

    label {
        font-size: 1.1rem;
        padding-left: 8px;
        cursor: pointer;
        user-select: none;
    }
}
