body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #34495e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    width: 400px;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-sizing: border-box;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary { background-color: #3498db; color: white; }
.btn-primary:hover { background-format: #2980b9; }
.btn-secondary { background-color: #95a5a6; color: white; }

.hidden { display: none; }
.error { color: #e74c3c; margin-top: 10px; font-size: 0.9rem; }

#game-container {
    width: 90vw;
    max-width: 800px;
}

#status-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    background: #2c3e50;
    padding: 10px;
    border-radius: 5px;
}

#game-board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
    background-color: #7f8c8d;
    padding: 2px;
    border: 5px solid #34495e;
}

.cell {
    aspect-ratio: 1/1;
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
}

#controls {
    margin-top: 20px;
    text-align: center;
}
