body {
    font-family: 'Comic Sans MS', Arial, sans-serif;
    background: linear-gradient(45deg, #ffb3ba, #b2f2bb, #aec6cf, #fdfd96, #ffd1a9);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    margin: 0;
    padding: 1em;
    color: #333;
    min-height: 100vh;
    box-sizing: border-box;
} and Colorful Kahoot-like Styles */
body {
    font-family: 'Comic Sans MS', Arial, sans-serif; /* Fun font */
    background: linear-gradient(45deg, #ffb3ba, #b2f2bb, #aec6cf, #fdfd96, #ffd1a9);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    margin: 0;
    color: #333;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    background: linear-gradient(135deg, #ffb3ba 0%, #b2f2bb 100%);
    color: #fff;
    padding: 1.5em;
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    border-bottom: 5px solid #fdfd96;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.container {
    max-width: 900px;
    margin: 2em auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 2em;
    border-radius: 20px;
    border: 4px solid #fdfd96;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2), 0 8px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

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

.progress-bar {
    width: 100%;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 1em 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffb3ba, #b2f2bb);
    width: 0%;
    transition: width 1s linear;
}

.section h2 {
    margin-top: 0;
    color: #ffb3ba;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    font-size: 1.8em;
}

.question-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
}

.question-item {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    padding: 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-item .text {
    flex: 1;
}

.question-item .actions {
    display: flex;
    gap: 0.5em;
}

.add-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
}

.add-form input, .add-form select {
    padding: 0.8em;
    border: 2px solid #fdfd96;
    border-radius: 10px;
    font-size: 1em;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.btn-group {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    background: linear-gradient(135deg, #aec6cf 0%, #c9e4f0 100%);
    color: #fff;
    border: 3px solid #87a8c7;
    padding: 0.8em 1.5em;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn:hover {
    background: linear-gradient(135deg, #c9e4f0 0%, #aec6cf 100%);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

.btn.danger {
    background: linear-gradient(135deg, #ffb3ba, #ffcccc);
    border-color: #e6a8a8;
}

.btn.danger:hover {
    background: linear-gradient(135deg, #ffcccc, #ffb3ba);
}

.btn {
    background: linear-gradient(135deg, #aec6cf 0%, #c9e4f0 100%);
    color: #fff;
    border: 3px solid #87a8c7;
    padding: 1em 2em;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

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

.btn:hover {
    background: linear-gradient(135deg, #c9e4f0 0%, #aec6cf 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transform: translateY(-5px) scale(1.1);
}

/* Huge Colorful Choice Blocks */
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1em;
    height: 60vh; /* Take up most of the page */
    margin: 2em 0;
}

.choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    animation: wiggle 1s ease-in-out infinite alternate;
}

@keyframes wiggle {
    0% { transform: rotate(-1deg); }
    100% { transform: rotate(1deg); }
}

.choice-btn:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.choice-1 { background: linear-gradient(135deg, #ffb3ba, #ffcccc); } /* Pastel Red */
.choice-2 { background: linear-gradient(135deg, #b2f2bb, #c1f0c1); } /* Pastel Teal */
.choice-3 { background: linear-gradient(135deg, #aec6cf, #c9e4f0); } /* Pastel Blue */
.choice-4 { background: linear-gradient(135deg, #fdfd96, #ffffcc); } /* Pastel Yellow */

input[type="text"], input[type="number"] {
    padding: 0.8em;
    border: 3px solid #f9ca24;
    border-radius: 10px;
    font-size: 1.1em;
    background: #fff;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2);
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="number"]:focus {
    border-color: #ffb3ba;
    outline: none;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2), 0 0 10px rgba(255,179,186,0.5);
}

h2 {
    color: #ffb3ba;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    font-size: 2em;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.4); }
    to { text-shadow: 2px 2px 6px rgba(255,179,186,0.8); }
}

.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffb3ba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.success { color: #4ecdc4; font-weight: bold; font-size: 1.2em; }
.error { color: #ff6b6b; font-weight: bold; font-size: 1.2em; }

.player-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5em;
}

.player-list li {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5em;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header {
        font-size: 2em;
        padding: 1em;
    }
    .container {
        margin: 1em;
        padding: 1em;
    }
    .btn {
        padding: 0.8em 1.5em;
        font-size: 1em;
    }
    .choice-grid {
        height: 50vh;
        gap: 0.5em;
    }
    .choice-btn {
        font-size: 1.5em;
    }
    input[type="text"], input[type="number"] {
        width: 100%;
        box-sizing: border-box;
    }
}

.container {
    max-width: 600px;
    margin: 2em auto;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2em;
    border-radius: 15px;
    border: 2px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease-in;
}

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

.btn {
    background: linear-gradient(135deg, #aec6cf 0%, #c9e4f0 100%);
    color: #fff;
    border: 2px solid #87a8c7;
    padding: 0.7em 1.5em;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #c9e4f0 0%, #aec6cf 100%);
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

input[type="text"], input[type="number"] {
    padding: 0.5em;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

input[type="text"]:focus, input[type="number"]:focus {
    border-color: #aec6cf;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 5px rgba(174,198,207,0.5);
}

h2 {
    color: #aec6cf;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #aec6cf;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success { color: green; font-weight: bold; }
.error { color: red; font-weight: bold; }

.correct {
    background: #00ff00 !important; /* Bright green for correct */
}

.wrong {
    background: #ff0000 !important; /* Bright red for wrong */
}
