    :root {
        --bg: #f7f7f7;
        --tile-head: #4cd137;
        --tile-body: #00a8ff;
        --tile-food: #e84118;
        --tile-border: #dcdde1;
        --button: #0097e6;
        --button-hover: #40739e;
    }

    body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: var(--bg);
        /* Remove flex centering from body */
    }

    .game-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
        margin-top: 80px;
    }

    .navigation {
        display: flex;
        justify-content: space-between;
        width: 90%;
        max-width: 800px;
        margin: 20px auto;
    }

    .navigation a {
        text-decoration: none;
        background: #ffffffcc;
        color: #333;
        padding: 8px 16px;
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 0.9rem;
    }

    .game-container {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    canvas {
        background: #000;
        border: 3px solid var(--tile-border);
        border-radius: 8px;
    }

    .score {
        margin-top: 10px;
        font-size: 1.1rem;
        color: #2f3640;
    }

    .controls {
        margin-top: 10px;
    }

    .controls button {
        padding: 10px 20px;
        font-size: 1rem;
        background: var(--button);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

    .controls button:hover {
        background: var(--button-hover);
    }

    .info {
        max-width: 700px;
        text-align: center;
        font-size: 0.95rem;
        margin-top: 25px;
        color: #555;
    }

    .game-description,
    .game-rules {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 15px 18px;
        margin-top: 18px;
        font-size: 1rem;
        color: #333;
        text-align: left;
    }

    .game-description strong,
    .game-rules strong {
        display: block;
        margin-bottom: 6px;
        color: #2193b0;
    }