body {
    font-family: 'Arial', sans-serif;
    background: url('https://t3.ftcdn.net/jpg/06/13/18/92/360_F_613189295_NSsbQoIr06emwxSmCdFNkxovkjNnau7p.jpg') no-repeat center center fixed; /* Replace with a vibrant Diwali background image */
    background-size: cover;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.game-container {
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.marquee {
    font-size: 1.5em;
    color: #ffcc00;
    margin-bottom: 20px;
    background: rgba(90, 79, 79, 0.8);
    padding: 10px;
    border-radius: 10px;
    animation: colorChange 4s infinite alternate;
}

@keyframes colorChange {
    0% { color: #ffcc00; }
    50% { color: #ff5722; }
    100% { color: #00bcd4; }
}

h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

h2, h3 {
    margin: 10px 0;
}

#era-title {
    font-size: 2.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#timer {
    font-weight: bold;
    color: #ffcc00;
    font-size: 1.5em;
}

#puzzle {
    font-size: 1.5em;
    margin: 20px 0;
}

input[type="text"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 1em;
}

button {
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin: 5px;
}

button:hover {
    background: #e64a19;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

#feedback {
    font-size: 1.5em;
    margin-top: 10px;
    color: #ffcc00;
}

ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

li {
    background: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

#score {
    font-weight: bold;
    font-size: 1.5em;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5em;
    }

    #era-title {
        font-size: 1.8em;
    }

    #timer, #puzzle, #feedback, #score {
        font-size: 1em;
    }

    input[type="text"], button {
        font-size: 1em;
        padding: 8px;
    }

    button {
        width: calc(50% - 10px);
    }
}
