* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.container {
    width: 100%;
    max-width: 700px;

    background-color: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    padding: 30px;

    backdrop-filter: blur(10px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #d1d5db;
    margin-bottom: 30px;
}

.settings {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.setting {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

button {
    margin-top: 10px;

    padding: 14px;

    border: none;
    border-radius: 10px;

    background-color: #2563eb;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background-color: #1d4ed8;
}

#status {
    margin-top: 25px;
    text-align: center;
    font-size: 18px;
    color: #facc15;
}

.board {
    margin-top: 30px;

    display: grid;
    gap: 8px;

    justify-content: center;
}

.cell {
    width: 70px;
    height: 70px;

    background-color: rgba(255,255,255,0.1);

    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 28px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.cell:hover {
    background-color: rgba(255,255,255,0.2);
}