/* Enneagram Types Quiz css */

body {
    font-family: 'Arial', sans-serif;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem 1rem;
    min-height: fit-content;
    background-color: #FFE066;
    border-radius: 20px;
    overflow: hidden;
}

/* App Container */
.app-container {
    background: rgb(28 28 115 / 90%);
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 800px;
    overflow: hidden;
    min-height: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Welcome Screen */
.welcome-screen {
    text-align: center;
    padding: 2rem 0.5rem;
    color: white;
}

.app-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.app-subtitle {
    font-size: 1.2rem;
    color: #b8c6db;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Quiz Screen */
.quiz-screen {
    display: none;
}

.question-counter {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #b8c6db;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.question {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.5;
}

.answers {/* answers grid */
    list-style: none;
    margin-bottom: 10px;
    padding: 0.4rem; /* for the vertical alignment of the list of answers */
}

.answer-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff;
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.answer-option.selected {
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
    color: #ffffff;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-secondary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Results Screen */
.results-screen {
    display: none;
    text-align: center;
}

.result-title {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.result-type {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b8c6db;
    text-align: left;
    margin-bottom: 30px;
}

.result-traits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.traits-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.traits-list {
    text-align: left;
    color: #b8c6db;
    line-height: 1.6;
}

/* Site Footer */
.site-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    main {
        margin: 0 10px;
        padding: 10px;
    }

    .app-container {
        padding: 20px;
        border-radius: 15px;
    }

    .app-title {
        font-size: 2rem;
    }

    .app-subtitle {
        font-size: 1rem;
    }

    .question {
        font-size: 1.1rem;
    }

    .answer-option {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .btn, .btn-secondary {
        width: 100%;
        padding: 12px 20px;
    }

    .result-title {
        font-size: 1.8rem;
    }

    .result-type {
        font-size: 1.3rem;
    }

    .result-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2rem;
    }
    .app-subtitle {
        font-size: 1rem;
    }

    .question {
        font-size: 1rem;
    }

    .answer-option {
        font-size: 0.9rem;
    }
}