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

#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2rem, 8vw, 4rem);
    color: white;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    word-wrap: break-word;
    max-width: 100%;
}

.quiz-container {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 550px;
    padding: clamp(15px, 4vw, 30px);
    position: relative;
    z-index: 10;
}

#question {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
    max-width: 100%;
    word-wrap: break-word;
}

.btn-grid {
    display: grid;
    gap: 10px;
}

.btn {
    background-color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: #333;
    word-break: break-word;
}

.btn:hover:not([disabled]) {
    background-color: #fff;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn.correct {
    background-color: #4ade80;
    border-color: #22c55e;
    color: white;
}

.btn.wrong {
    background-color: #f87171;
    border-color: #ef4444;
    color: white;
}

.next-btn {
    background-color: white;
    color: #f5576c;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
}

.next-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hide {
    display: none;
}

#result-container {
    text-align: center;
    padding: 20px;
    color: white;
}

#score-text {
    font-size: 1.5rem;
    margin: 20px 0;
    font-weight: 600;
}

#restart-btn {
    background-color: white;
    color: #f5576c;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#restart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



