.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.quiz-header {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(237, 137, 54, 0.2);
}

.question-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.question-word {
    font-size: 2rem;
    font-weight: 600;
    color: #ed8936;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(237, 137, 54, 0.1);
}

.option-button {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    background: white;
    color: #4b5563;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.option-button:hover {
    background: rgba(237, 137, 54, 0.1);
    border-color: #ed8936;
    transform: translateY(-2px);
}

.option-button.correct {
    background: #84cc16;
    color: white;
    border-color: #84cc16;
}

.option-button.incorrect {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.question-counter {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6b7280;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 20px;
}

.next-button {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.next-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

.next-button:disabled {
    background: #d1d5db;
    transform: none;
    box-shadow: none;
}


/* Results Page Styles */

.results-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(237, 137, 54, 0.1);
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h2 {
    color: #2d3748;
    margin-bottom: 2rem;
}

.score-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.score-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

.score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ed8936;
    line-height: 1;
}

.score-total {
    font-size: 1.2rem;
    color: #718096;
}

.score-ring {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.score-circle-bg,
.score-circle-progress {
    fill: none;
    stroke-width: 8;
}

.score-circle-bg {
    stroke: #f6f7f8;
}

.score-circle-progress {
    stroke: #ed8936;
    stroke-linecap: round;
    stroke-dasharray: 380;
    transition: stroke-dashoffset 1s ease-in-out;
}

.score-details {
    padding: 1.5rem 0;
}

.score-text {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.score-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.score-message {
    font-weight: 600;
}

.score-percentage {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 500;
}

.restart-button {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.restart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
}

.restart-button i {
    transition: transform 0.3s ease;
}

.restart-button:hover i {
    transform: rotate(180deg);
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .results-card {
        padding: 2rem;
        margin: 1rem;
    }
    .score-container {
        width: 120px;
        height: 120px;
    }
    .score-ring {
        width: 120px;
        height: 120px;
    }
    .score-number {
        font-size: 2rem;
    }
    .score-text {
        font-size: 1.2rem;
    }
    .restart-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}