/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    font-family: sans-serif;
    color: #f8fafc;
}

.container {
    background-color: #1e293b;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
}

/* SCREENS */
.screen {
    display: none;
    padding: 2rem;
    text-align: center;
}

.screen.active {
    display: block;
}

/* START SCREEN */
#start-screen h1 {
    color: #38bdf8;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

#start-screen p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.quiz-header {
    margin-bottom: 1rem;
}

#question-text {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.quiz-info {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    margin-bottom: 10px;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.answer-btn {
    background-color: #334155;
    color: #f8fafc;
    border: 2px solid #475569;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.answer-btn:hover {
    background-color: #475569;
    border-color: #38bdf8;
}

.answer-btn.correct {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #4ade80;
}

.answer-btn.incorrect {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
}

.progress-bar {
    height: 10px;
    background-color: #334155;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.progress {
    height: 100%;
    background-color: #38bdf8;
    width: 0%;
    transition: width 0.3s ease;
}

/* RESULT SCREEN */
#result-screen h1 {
    color: #38bdf8;
    margin-bottom: 30px;
}

.result-info {
    background-color: #334155;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.result-info p {
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

#result-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: #38bdf8;
}

button {
    background-color: #22bbff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #7dd3fc;
}

/* RESPONSIVE DESIGN */
@media (max-width: 500px) {
    .screen {
        padding: 1rem;
    }

    #start-screen h1 {
        font-size: 2rem;
    }

    #question-text {
        font-size: 1.3rem;
    }
}