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

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 850px;
    width: 100%;
}

h1 {
    color: #ff6b6b;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #4a4a4a;
}

#gameCanvas {
    background: #87ceeb;
    border-radius: 10px;
    border: 3px solid #ff6b6b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

.controls {
    margin: 20px 0;
}

.controls p {
    margin-bottom: 10px;
    color: #4a4a4a;
}

button {
    background: linear-gradient(to right, #ff6b6b, #ff8e53);
    border: none;
    border-radius: 50px;
    color: white;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(1px);
}

#startButton {
    font-size: 1.2em;
    padding: 15px 30px;
}

.game-over {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-over h2 {
    color: #ff6b6b;
    font-size: 2em;
    margin-bottom: 15px;
}

.game-over p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #4a4a4a;
}

/* Cat-themed elements */
.cat-face {
    font-size: 2em;
    margin: 0 5px;
}

.cat-ear {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #ff6b6b;
    margin: 0 5px;
}

.cat-eye {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    margin: 0 5px;
}

/* Responsive design */
@media (max-width: 600px) {
    .game-container {
        padding: 10px;
    }

    h1 {
        font-size: 1.8em;
    }

    #gameCanvas {
        width: 100%;
        height: auto;
    }

    .game-info {
        flex-direction: column;
        gap: 10px;
    }
}