body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.game-container {
    max-width: 600px;
    width: 90%; /* Responsive width */
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2, h3 {
    margin: 10px 0;
}

#era-title {
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#timer {
    font-weight: bold;
    color: #ffcc00;
    font-size: 1.2em;
}

#puzzle {
    font-size: 1.4em;
    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; /* Space between buttons */
}

button:hover {
    background: #e64a19;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

#feedback {
    font-size: 1.2em;
    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.2em;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    
    #era-title {
        font-size: 1.5em;
    }

    #timer, #puzzle, #feedback, #score {
        font-size: 1em;
    }

    input[type="text"], button {
        font-size: 1em;
        padding: 8px;
    }

    button {
        width: calc(50% - 10px); /* Two buttons side by side */
    }
}
