* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #E0E0E0 0%, #D3D3D3 50%, #C6C6C6 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.game-info {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

.game-info p {
    margin: 5px 0;
}

.controls {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.middle-row {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.arrow-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.arrow-btn:active {
    transform: scale(0.95);
}

.canvas-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.side-cat {
    height: 500px;
    width: auto;
    object-fit: contain;
}

.left-cat {
    transform: scaleX(-1); /* Mirror horizontally for left side */
}

.right-cat {
    /* No transform needed for right side */
}

#gameCanvas {
    border: 3px solid #333;
    border-radius: 10px;
    background: #f0f0f0;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status {
    margin: 20px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.new-game-btn {
    padding: 12px 30px;
    font-size: 1em;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.new-game-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.new-game-btn:active {
    transform: translateY(0);
}
