* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.google.com/specimen/Open+Sans');

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #8FBC8F 0%, #556B2F 100%);
    min-height: 100vh;
    color: #2F4F2F;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-header {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quiz-header h1 {
    color: #2F4F2F;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-header p {
    color: #556B2F;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.quiz-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.quiz-card.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question {
    font-size: 1.4em;
    color: #2F4F2F;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #DDD;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #228B22, #32CD32);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: linear-gradient(135deg, #a0813f, #847158); /* tonos beige/tierra */
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #d2b48c, #c2b280); 
}

.result-card {
    background: linear-gradient(135deg, #F0FFF0, #E6FFE6);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #228B22;
    display: none;
}

.result-card.show {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-title {
    color: #2F4F2F;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.result-description {
    color: #556B2F;
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.restart-btn {
    background: linear-gradient(135deg, #e4cfa3, #d2b48c);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d2b48c, #c2b280);
}

.start-screen {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.start-btn {
    background: linear-gradient(135deg, #e4cfa3, #d2b48c);
    border: none;
    padding: 20px 40px;
    border-radius: 25px;
    color: white;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d2b48c, #c2b280);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.nav-btn {
    background: linear-gradient(135deg, #e4cfa3, #d2b48c);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    min-width: 120px;
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d2b48c, #c2b280);
}

.nav-btn:disabled {
    background: linear-gradient(135deg, #999, #BBB);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.finish-btn {
    background: linear-gradient(135deg, #e4cfa3, #d2b48c) !important;
}

.finish-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #d2b48c, #c2b280) !important;
}

.option-btn.selected {
    background: linear-gradient(135deg, #32CD32, #228B22);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .navigation-buttons {
        flex-direction: column;
    }
    
    .nav-btn {
        min-width: auto;
        width: 100%;
    }
}