@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #0d1b0d 0%, #000000 50%, #1a2e1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 30px;
    color: #00ff41;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    animation: bounce 2s ease-in-out infinite;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.quiz-container {
    background: linear-gradient(135deg, #001100 0%, #002200 100%);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2), 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #001100;
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff41 0%, #ff0000 100%);
    border-radius: 4px;
    width: 33.33%;
    transition: width 0.5s ease;
    position: relative;
    box-shadow: 0 0 3px rgba(0, 255, 65, 0.4);
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.question {
    display: none;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.question.active {
    display: block;
}

.question h2 {
    color: #00ff41;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(0, 255, 65, 0.3);
}

.question-text {
    color: #ccffcc;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.question-subtext {
    color: #99ff99;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.8;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-btn {
    background: linear-gradient(135deg, #001a00 0%, #003300 100%);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.5);
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Heebo', sans-serif;
    text-shadow: 0 0 1px rgba(0, 255, 65, 0.4);
}

.answer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.4), 0 10px 25px rgba(0, 255, 65, 0.2);
    background: linear-gradient(135deg, #002600 0%, #004d00 100%);
    border-color: rgba(255, 0, 0, 0.6);
    color: #ff0000;
    text-shadow: 0 0 2px rgba(255, 0, 0, 0.5);
}

.answer-btn:active {
    transform: translateY(0);
}

.answer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.answer-btn:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-container {
    background: linear-gradient(135deg, #001100 0%, #002200 100%);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2), 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.result-container.hidden {
    display: none;
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.result-title {
    font-size: 2.2rem;
    color: #ff0000;
    margin-bottom: 25px;
    font-weight: 700;
    animation: celebrationBounce 1s ease-in-out;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.6);
}

@keyframes celebrationBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-20px) scale(1.1);
    }
    60% {
        transform: translateY(-10px) scale(1.05);
    }
}

.result-text {
    font-size: 1.2rem;
    color: #ccffcc;
    line-height: 1.7;
    margin-bottom: 20px;
}

.encouragement {
    font-size: 1.1rem;
    color: #99ff99;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.restart-btn {
    background: linear-gradient(135deg, #001a00 0%, #003300 100%);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.5);
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Heebo', sans-serif;
    text-shadow: 0 0 2px rgba(0, 255, 65, 0.4);
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.4), 0 8px 20px rgba(0, 255, 65, 0.2);
    background: linear-gradient(135deg, #002600 0%, #004d00 100%);
    border-color: rgba(255, 0, 0, 0.6);
    color: #ff0000;
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.5);
}

/* Confetti Animation */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00ff41;
    animation: confetti-fall 3s linear infinite;
    box-shadow: 0 0 2px rgba(0, 255, 65, 0.4);
}

.confetti-piece:nth-child(odd) {
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 0, 0, 0.4);
}

.confetti-piece:nth-child(even) {
    background: #00ff41;
    box-shadow: 0 0 2px rgba(0, 255, 65, 0.4);
}

.confetti-piece:nth-child(3n) {
    background: #66ff66;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(102, 255, 102, 0.4);
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .quiz-container, .result-container {
        padding: 20px;
    }
    
    .answer-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
}

/* Additional animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Help Link Styling */
.help-link {
    margin-top: 20px;
    text-align: center;
}

.mcp-help-btn {
    display: inline-block;
    background: linear-gradient(135deg, #001a00 0%, #003300 100%);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.5);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Heebo', sans-serif;
    text-shadow: 0 0 1px rgba(0, 255, 65, 0.4);
}

.mcp-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.4), 0 8px 15px rgba(0, 255, 65, 0.2);
    background: linear-gradient(135deg, #002600 0%, #004d00 100%);
    color: #66ff66;
    text-shadow: 0 0 2px rgba(102, 255, 102, 0.5);
}

.share-btn {
    background: linear-gradient(135deg, #001a00 0%, #003300 100%);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.5);
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Heebo', sans-serif;
    text-shadow: 0 0 2px rgba(0, 255, 65, 0.4);
    margin: 15px 10px;
    display: inline-block;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.4), 0 8px 20px rgba(0, 255, 65, 0.2);
    background: linear-gradient(135deg, #002600 0%, #004d00 100%);
    border-color: rgba(255, 0, 0, 0.6);
    color: #ff0000;
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.5);
} 