/* ============================ */
/* GENERAL STYLES */
/* ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(160deg, #1e3c72, #2a5298);
    color: #f1f9ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#quiz-description {
    max-width: 950px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 20, 0.85);
    color: #e7f6ff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
#quiz-description h2, #quiz-description h3 {
    color: #7de0ff;
}
#quiz-description li {
    margin-bottom: 10px;
}


/* ============================ */
/* HEADER */
/* ============================ */
header {
    text-align: center;
    margin-bottom: 25px;
}
header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #89cff0;
    margin-bottom: 8px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
header p {
    font-size: 17px;
    color: #d0e7ff;
}

/* ============================ */
/* SECTION STYLING */
/* ============================ */
section {
    background: rgba(20, 30, 60, 0.95);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease-in-out;
}

/* ============================ */
/* SETTINGS AREA */
/* ============================ */
label {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}
select, input[type="text"] {
    padding: 12px 15px;
    margin-top: 6px;
    border-radius: 10px;
    border: none;
    background: rgba(10, 20, 40, 0.8);
    color: #f0f8ff;
    font-size: 15px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

/* ============================ */
/* BUTTON STYLING */
/* ============================ */
button {
    padding: 14px 24px;
    margin-top: 12px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* ============================ */
/* QUIZ INFO BAR */
/* ============================ */
#info-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: bold;
    padding: 0 5px;
}
#question {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(5,15,40,0.95);
    min-height: 70px;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.5);
}

/* ============================ */
/* OPTIONS GRID */
/* ============================ */
#options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
#options button {
    font-size: 17px;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c92d2, #f2fcfe);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: 0.2s ease-in-out;
}
#options button:hover { transform: scale(1.03); }

.correct { background: #4ef86e !important; color: #042a09 !important; }
.wrong { background: #ff6b6b !important; color: #2b0a0a !important; }

/* ============================ */
/* FEEDBACK TEXT */
/* ============================ */
#feedback {
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    margin-top: 15px;
    height: 32px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* ============================ */
/* CONTROLS BUTTONS */
/* ============================ */
#controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* ============================ */
/* COMPLETION SECTION */
/* ============================ */
#completion h2 {
    font-size: 28px;
    color: #90ee90;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
#completion h3 { font-size: 22px; margin-top: 20px; margin-bottom: 10px; text-align:center;}
#completion ol {
    list-style-position: inside;
    padding-left: 0;
    max-height: 300px;
    overflow-y: auto;
}
#completion input[type="text"] { width: 100%; max-width: 300px; margin: 0 auto; display: block; }
