/* css/demo.css */

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
}

.game-container {
    background: #34495e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
}

h1 {
    font-size: 2.5em;
    color: #e74c3c;
    text-shadow: 2px 2px #c0392b;
}

p {
    font-size: 1.2em;
    margin: 20px 0;
}

input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #ecf0f1;
    color: #2c3e50;
}

button {
    display: inline-block;
    padding: 15px 30px;
    margin: 20px 0;
    font-size: 1.2em;
    color: #ecf0f1;
    background: #e74c3c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px #c0392b;
}

button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px #c0392b;
}

button:active {
    transform: translateY(2px);
    box-shadow: 0 2px #c0392b;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 1.2em;
    color: #ecf0f1;
    background: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px #2980b9;
}

.back-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px #2980b9;
}

.back-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px #2980b9;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .game-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    button,
    .back-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}
