/* CSS for Sleep Chronotype Quiz */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.app-container {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, #667eea 0%, #59189c 100%)
}

 /*
.screen {

}

.welcome-screen {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
*/
.quiz-screen {
    /**/
}

.result-screen {
    display: none;
    text-align: center;
}

.app-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffd700, #ffed4a, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.begin-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.begin-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(238, 90, 111, 0.6);
}

/* Quiz Screen */
.quiz-counter {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.quiz-container { display: block; };

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    border-radius: 6px;
    transition: width 0.5s ease;
    width: 0%;
}

.question-text {
    text-align: left;
    line-height: 1.4;
}

.answer-option {
    background: rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.answer-option.selected {
    background: linear-gradient(45deg, #28a745, #20c997);
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.nav-button {
    background: linear-gradient(45deg, #6c757d, #495057);
}

.nav-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-button.next-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

/* Result Screen */
.result-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0.95;
}

.result-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.result-section {
    margin-bottom: 2rem;
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-section h3 {
    color: #ffd700;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.result-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.restart-button {
    background: linear-gradient(45deg, #17a2b8, #138496);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 162, 184, 0.4);
}

@media screen and (max-width: 768px) {
    .question-text {
        font-size: 1rem;
    }
}