.body {
    background-color: var(--color-bg);
    color: white;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.quiz-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-heading__title {
    color: var(--color-text);
    margin-bottom: 15px;
    position: relative;
}

.quiz-heading__desc {
    color: var(--color-text);
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .section-heading {
        margin-bottom: 45px;
    }
}

.logo {
    text-align: center;
    /* margin-bottom: 30px; */
}

.welcome-card {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary) 100%
    );
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 30px;
}

.btn-start {
    background: linear-gradient(to right, #ffd700, #ffa500);
    color: #000;
    font-weight: bold;
    padding: 12px 50px;
    border-radius: 30px;
    font-size: 1.2rem;
    border: none;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
    background: linear-gradient(to right, #ffa500, #ffd700);
    color: #000;
}

.rules-card {
    background-color: var(--color-accent);
    border-radius: 12px;
    padding: 20px;
    color: #000;
}

.rules-card h4 {
    color: var(--color-primary);
}

.rules-card p {
    font-size: 1.2rem;
}

.rules-card li {
    margin: 1px 0;
    font-size: 1rem;
}

h1,
h2,
h3 {
    color: #ffd700;
}

.zambia-colors {
    height: 10px;
    width: 100%;
    margin: 15px 0;
    display: flex;
}

.zambia-colors div {
    height: 100%;
    flex: 1;
}

.green {
    background-color: #198754;
}

.red {
    background-color: #dc3545;
}

.black {
    background-color: #000;
}

.orange {
    background-color: #fd7e14;
}

.quiz-container {
    max-width: 1040px;
}

.quiz-header {
    margin-bottom: 20px;
}

.quiz-progress {
    flex: 1;
}

.question-number {
    color: var(--color-primary);
    font-weight: bold;
}

.progress {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #ffd700, #ffa500);
}

.quiz-timer {
    text-align: right;
    min-width: 120px;
}

.timer-wrapper {
    font-size: 1.2rem;
    font-weight: bold;
    color: red;
}

.timer-icon {
    margin-right: 5px;
}

.question-timer-wrapper {
    width: 100%;
}

.question-timer-progress {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

#question-timer-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-primary)
    );
    border-radius: 10px;
    transition: width 1s linear;
}

.prize-ladder {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.prize-step {
    flex: 1;
    padding: 5px;
    text-align: center;
    position: relative;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.prize-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -8px;
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
}

.prize-step.completed {
    border-top-color: #ffd700;
}

.prize-step.completed:not(:last-child)::after {
    background-color: #ffd700;
}

.prize-step.current .prize-amount {
    color: #ffd700;
    font-weight: bold;
    transform: scale(1.1);
}

.prize-amount {
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.question-container {
    position: relative;
    padding-top: 10px;
}

.question-amount {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffd700, #ffa500);
    color: #0a1645;
    padding: 5px 25px;
    border-radius: 30px;
    font-weight: bold;
    z-index: 5;
}

.question-card {
    /* background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary) 100%
    ); */
    /* border-radius: 15px; */
    padding: 30px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
}

.question-text {
    font-size: 1.3rem;
    padding: 15px;
    background-color: var(--color-dark);
    border-radius: 10px;
    text-align: center;
}

.answers-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.answer-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-label {
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px;
    padding: 12px;
    margin: 2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.answer-option:hover .answer-label {
    background-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
}

.answer-letter {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
    color: #ffd700;
}

.answer-text {
    flex: 1;
}

input[type="radio"]:checked + .answer-label {
    background-color: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

input[type="radio"]:checked + .answer-label .answer-letter {
    background-color: #ffd700;
    color: #0a1645;
}

.btn-submit {
    background: linear-gradient(to right, #ffd700, #ffa500);
    color: #0a1645;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    border: none;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

/* For correct and wrong answers */
.answer-correct {
    background-color: var(--color-accent) !important;
    /* font-weight: 900; */
    /* color: #000; */
    border-color: #28a745 !important;
}

.answer-correct .answer-letter {
    background-color: #28a745 !important;
    color: white !important;
}

.answer-wrong {
    background-color: rgba(220, 53, 69, 0.3) !important;
    border-color: #dc3545 !important;
}

.answer-wrong .answer-letter {
    background-color: #dc3545 !important;
    color: white !important;
}

@media (min-width: 991px) {
    .body {
        height: 100%;
        min-height: 100vh;
    }
}
