:root {
    --gold: #c9a84c;
    --dark-gold: #a8862a;
    --deep-brown: #5c3a1e;
    --light-bg: #fdf6e3;
    --card-bg: #fff8ee;
    --heading1-color: #3d2b1f;
    --heading2-color: #8b6914;
    --heading3-color: #c9a84c;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Georgia', 'Palatino Linotype', 'Times New Roman', serif;
    background: #f5efe0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}
.container {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}
.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #5c3a1e 0%, #8b6914 40%, #c9a84c 70%, #f0d9b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 10px;
}
.main-title .camel-emoji { display: inline-block; animation: bounceCamel 2s infinite; font-size: 4rem; }
@keyframes bounceCamel { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.subtitle { font-size: 1.3rem; color: #000; margin-bottom: 30px; font-style: italic; }
.quiz-btn {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #fff; border: 3px solid #f0d9b5; padding: 20px 50px; font-size: 1.6rem;
    font-weight: bold; border-radius: 50px; cursor: pointer; letter-spacing: 2px;
    transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: inherit; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 10px 30px rgba(0,0,0,0.2); } 50% { box-shadow: 0 10px 40px rgba(0,0,0,0.3); } }
.quiz-btn:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 15px 40px rgba(0,0,0,0.3); background: linear-gradient(135deg, var(--dark-gold), #8a6d1f); }
.container h2 { color: var(--heading2-color); margin-top: 40px; margin-bottom: 15px; text-align: left; border-bottom: 2px solid var(--gold); padding-bottom: 8px; letter-spacing: 1px; font-weight: bold; font-size: 2rem; }
.container h3 { color: var(--heading3-color); margin-top: 25px; margin-bottom: 10px; text-align: left; font-weight: bold; font-size: 1.5rem; }
.container p, .container li { color: #000; font-size: 1.1rem; line-height: 1.7; margin-bottom: 15px; text-align: left; }
.container ul { margin-left: 30px; margin-bottom: 15px; text-align: left; }
.highlight { background: #f0d9b5; padding: 2px 6px; border-radius: 5px; font-weight: bold; color: #000; }

/* Footer disclaimer */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid var(--gold);
    text-align: center;
}
footer h2.disclaimer {
    font-size: 1.4rem;
    color: var(--deep-brown);
    margin-bottom: 15px;
    text-align: center;
    border: none;
    padding: 15px 20px;
    background: rgba(201,168,76,0.1);
    border-radius: 10px;
    letter-spacing: 1px;
    line-height: 1.6;
}
footer p.copyright {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 8px;
    text-align: center;
    font-style: italic;
}

/* Modal CSS */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.75); z-index: 100; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; }
.modal { background: #fdf6e3; border-radius: 25px; width: 90%; max-width: 650px; max-height: 85vh; overflow-y: auto; padding: 30px 35px; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.4); border: 4px solid var(--gold); animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(60px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal::-webkit-scrollbar { width: 10px; }
.modal::-webkit-scrollbar-track { background: #f0d9b5; border-radius: 10px; }
.modal::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; border: 2px solid #f0d9b5; }
.close-btn { position: absolute; top: 12px; right: 18px; font-size: 2rem; cursor: pointer; color: #000; background: none; border: none; line-height: 1; transition: all 0.3s ease; }
.close-btn:hover { color: #c0392b; transform: rotate(90deg) scale(1.2); }
.modal-title { text-align: center; font-size: 2rem; color: #000; margin-bottom: 8px; letter-spacing: 2px; border-bottom: 3px solid var(--gold); padding-bottom: 12px; }
.modal-subtitle { text-align: center; font-size: 1rem; color: #000; margin-bottom: 20px; font-style: italic; }
.progress-container { background: #e0cdb0; border-radius: 20px; height: 12px; margin-bottom: 20px; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--dark-gold)); border-radius: 20px; transition: width 0.5s ease; width: 0%; box-shadow: 0 0 10px rgba(201,168,76,0.5); }
.gender-selection { text-align: center; padding: 20px; animation: fadeInQuestion 0.4s ease; }
.gender-selection h3 { font-size: 1.6rem; color: var(--heading3-color); margin-bottom: 25px; }
.gender-btn { display: inline-block; margin: 0 15px; padding: 20px 40px; font-size: 1.5rem; border-radius: 20px; cursor: pointer; font-family: inherit; font-weight: bold; transition: all 0.3s ease; border: 3px solid transparent; }
.gender-btn.female { background: #f8c8dc; color: #7a1f3d; border-color: #f8a0c0; }
.gender-btn.male { background: #c8d8f8; color: #1f3d7a; border-color: #a0c0f8; }
.gender-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.gender-btn:active { transform: scale(0.98); }
.question-container { animation: fadeInQuestion 0.4s ease; }
@keyframes fadeInQuestion { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.question-number { font-size: 0.9rem; color: #000; font-weight: bold; letter-spacing: 1px; margin-bottom: 5px; }
.question-text { font-size: 1.3rem; color: #000; margin-bottom: 18px; font-weight: bold; line-height: 1.4; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option-btn { background: #fff8ee; border: 2px solid #dcc8a0; padding: 14px 18px; border-radius: 15px; cursor: pointer; font-size: 1.05rem; text-align: left; transition: all 0.3s ease; color: #000; font-family: inherit; position: relative; overflow: hidden; }
.option-btn:hover { background: #f0d9b5; border-color: var(--gold); transform: translateX(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.option-btn.selected { background: var(--gold); border-color: var(--dark-gold); color: #000; box-shadow: 0 4px 15px rgba(201,168,76,0.5); transform: translateX(5px); }
.option-btn.selected::after { content: ' ✓'; font-weight: bold; font-size: 1.2rem; }
.nav-buttons { display: flex; justify-content: space-between; margin-top: 25px; gap: 15px; }
.nav-btn { padding: 12px 25px; border-radius: 30px; cursor: pointer; font-size: 1rem; font-weight: bold; letter-spacing: 1px; transition: all 0.3s ease; font-family: inherit; border: none; }
.nav-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-prev { background: #e0cdb0; color: #000; }
.btn-prev:hover:not(:disabled) { background: #d0b890; transform: translateX(-3px); }
.btn-next { background: linear-gradient(135deg, var(--gold), var(--dark-gold)); color: #fff; }
.btn-next:hover:not(:disabled) { transform: translateX(3px); box-shadow: 0 5px 20px rgba(201,168,76,0.5); }
.btn-submit { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; padding: 14px 35px; font-size: 1.2rem; border-radius: 30px; cursor: pointer; font-weight: bold; letter-spacing: 1px; transition: all 0.3s ease; font-family: inherit; border: none; animation: pulseSubmit 1.5s infinite; }
@keyframes pulseSubmit { 0%,100% { box-shadow: 0 5px 20px rgba(231,76,60,0.4); } 50% { box-shadow: 0 5px 35px rgba(231,76,60,0.7); } }
.btn-submit:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(231,76,60,0.6); }
.btn-submit:disabled { background: #bdc3c7; cursor: not-allowed; animation: none; }
.result-container { text-align: center; animation: resultAppear 0.6s ease; }
@keyframes resultAppear { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.result-camel-count { font-size: 6rem; font-weight: bold; color: var(--dark-gold); text-shadow: 3px 3px 6px rgba(0,0,0,0.3); margin: 10px 0; animation: resultBounce 0.8s ease; }
@keyframes resultBounce { 0% { transform: scale(0); } 50% { transform: scale(1.3); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
.result-label { font-size: 1.5rem; color: #000; margin-bottom: 5px; }
.result-description { font-size: 1.1rem; color: #000; margin: 15px 0; padding: 15px 20px; background: rgba(255,248,238,0.7); border-radius: 15px; line-height: 1.6; border: 2px solid #dcc8a0; font-style: italic; }
.result-stats { display: flex; justify-content: center; gap: 30px; margin: 20px 0; flex-wrap: wrap; }
.stat-card { background: #fff8ee; padding: 15px 25px; border-radius: 15px; border: 2px solid #dcc8a0; text-align: center; }
.stat-card .stat-value { font-size: 2rem; font-weight: bold; color: var(--gold); }
.stat-card .stat-label { font-size: 0.9rem; color: #000; }
.share-section { margin-top: 25px; border-top: 2px solid var(--gold); padding-top: 20px; }
.share-title { font-size: 1.2rem; color: #000; margin-bottom: 15px; font-weight: bold; }
.share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.share-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 30px; border: none; cursor: pointer; font-size: 1rem; font-weight: bold; transition: all 0.3s ease; color: #fff; font-family: inherit; text-decoration: none; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.share-btn.whatsapp { background: #25D366; }
.share-btn.twitter { background: #000000; }
.share-btn.telegram { background: #0088cc; }
.share-btn.instagram { background: #E1306C; }
.share-btn svg { width: 1.5rem; height: 1.5rem; fill: white; flex-shrink: 0; }
.retry-btn { background: linear-gradient(135deg, var(--gold), var(--dark-gold)); color: #fff; padding: 15px 35px; border-radius: 30px; cursor: pointer; font-size: 1.1rem; font-weight: bold; letter-spacing: 1px; transition: all 0.3s ease; font-family: inherit; border: 2px solid #f0d9b5; margin-top: 10px; }
.retry-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201,168,76,0.5); }
@media (max-width: 600px) {
    .main-title { font-size: 2.2rem; }
    .container h2 { font-size: 1.6rem; }
    .container h3 { font-size: 1.3rem; }
    .container p, .container li { font-size: 1rem; }
    .modal { padding: 20px; width: 95%; }
    .gender-btn { padding: 15px 25px; font-size: 1.2rem; margin: 5px; }
    .option-btn { font-size: 0.95rem; padding: 10px 14px; }
    .result-camel-count { font-size: 4rem; }
    .share-btn { padding: 8px 15px; font-size: 0.9rem; }
    .share-btn svg { width: 1.2rem; height: 1.2rem; }
}