body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#game-canvas {
    width: 100vw;
    height: 100vh;
    display: block;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="rgba(255,183,197,0.3)" stroke="%23ff8fa3" stroke-width="2"/></svg>') 12 12, auto;
    touch-action: none; /* Prevent mobile gestures */
}

#ui-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

h1 {
    color: #ff8fa3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

#stats-panel {
    color: #ff8fa3;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

.controls {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

button {
    background: white;
    border: 2px solid #ffb7c5;
    color: #ff8fa3;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

button:hover {
    background: #fff0f3;
    transform: translateY(-2px);
}

button.active {
    background: #ffb7c5;
    color: white;
}

.planarian-group {
    transition: transform 0.1s ease-out;
}

.planarian-body {
    fill: #ffb7c5;
    stroke: none;
}

.planarian-eye {
    fill: #333;
    pointer-events: none;
}

.heart-food {
    fill: #ff4d6d;
}

#version-tag {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #ffb7c5;
    font-size: 12px;
    font-weight: bold;
    pointer-events: none;
    opacity: 0.8;
}

#debug-console {
    position: absolute;
    bottom: 30px;
    left: 10px;
    color: red;
    font-size: 10px;
    font-family: monospace;
    pointer-events: none;
    z-index: 100;
    background: rgba(0,0,0,0.1);
}

.ripple {
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}
