/* General Layout Styles */
body {
    background-color: #181818;
    color: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
}

.description {
    font-size: 1.2em;
    color: #f5f5f5;
    margin-top: 10px;
}

/* Category Container Styling */
.category-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    padding: 20px 0;
}

/* Category Button Styling */
.category-btn {
    display: block;
    margin: 15px 0; 
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ff66cc;
    background: linear-gradient(145deg, #333333, #444444);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 80%; 
    max-width: 400px; 
}

.category-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #ff66cc, #ff33aa);
    color: #121212;
    box-shadow: 0 8px 20px rgba(255, 102, 204, 0.5);
}

/* Glow effect for titles and buttons */
.glow {
    color: #ff66cc;
    text-shadow:
        0 0 10px #ff66cc,
        0 0 20px #ff33aa,
        0 0 40px #ff99cc;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 15px #ff66cc; }
    to { text-shadow: 0 0 35px #ff33aa; }
}

/* Quiz and Question Styles */
.quiz-container, .result-container {
    width: 90%;
    max-width: 750px;
    padding: 25px;
    margin: 30px 0;
    background: #242424;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #f5f5f5;
}

.question-title {
    font-size: 1.6em;
    margin-bottom: 25px;
    color: #f5f5f5;
}

/* Answer Button Styling */
.answer-btn {
    display: block;
    margin: 15px auto;
    padding: 15px 25px;
    width: 85%;
    font-size: 1.1em;
    color: #f5f5f5;
    background: #303030;
    border-radius: 12px;
    transition: background 0.4s, transform 0.3s;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.answer-btn:hover {
    background: #ff66cc;
    color: #121212;
    transform: scale(1.02);
    box-shadow: 0 8px 18px rgba(255, 102, 204, 0.4);
}

/* Correct/Incorrect Styles */
.correct {
    background-color: #28a745 !important;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.5);
}

.incorrect {
    background-color: #dc3545 !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.5);
}

/* Navigation Buttons */
.next-btn, .back-btn {
    margin: 20px 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a1a;
    background: #ff66cc;
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(255, 102, 204, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.next-btn:hover, .back-btn:hover {
    background: #333;
    color: #ff66cc;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 15px;
    background: #222;
    color: #777;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
    border-top: 1px solid #333;
}
