.quiz-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

.instructions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
    color: #555;
    line-height: 1.6;
}

.custom-page-title p {
    font-size: 1.125rem;
}

.question-counter {
    text-align: center;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.clock-container {
    position: relative;
    margin: 0 auto 30px;
    width: 250px;
    height: 250px;
}

.analog-clock {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.clock-face {
    width: 100%;
    height: 100%;
    position: absolute;
}

.number {
    position: absolute;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    transform: translate(-50%, -50%);
}

.number-12 { top: 15%; left: 50%; }
.number-3 { top: 50%; right: 15%; left: auto; transform: translateY(-50%); }
.number-6 { bottom: 15%; left: 50%; top: auto; transform: translateX(-50%); }
.number-9 { top: 50%; left: 15%; transform: translateY(-50%); }

.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hand {
    position: absolute;
    background: #333;
    transform-origin: bottom center;
    bottom: 50%;
    left: 50%;
    border-radius: 10px;
}

.hour-hand {
    width: 6px;
    height: 70px;
    margin-left: -3px;
    background: #333;
    z-index: 3;
}

.minute-hand {
    width: 4px;
    height: 90px;
    margin-left: -2px;
    background: #666;
    z-index: 4;
}

.center-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.answer-btn {
    padding: 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.answer-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.answer-btn.correct {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.answer-btn.incorrect {
    background: #f44336;
    color: white;
    border-color: #f44336;
}

.answer-btn:disabled {
    cursor: not-allowed;
    transform: none;
}

.results {
    text-align: center;
    display: none;
}

.score {
    font-size: 3rem;
    color: #667eea;
    margin: 30px 0;
    font-weight: bold;
}

.message {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 30px;
}

.restart-btn, .cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}

.restart-btn {
    background: var(--primary);
    color: white;
}

.restart-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cta-section {
    background: linear-gradient(135deg, #002f34 0%, #197274 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    margin-top: auto;
}

.cta-section h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cta-section p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: var(--primary);
    font-weight: bold;
}

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .clock-container {
        width: 200px;
        height: 200px;
    }

    .answer-btn {
        padding: 15px;
        font-size: 1.1rem;
    }

    .score {
        font-size: 2.5rem;
    }
}