﻿* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; -webkit-user-select: none; }
body { background-color: #0a0a0a; color: white; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow: hidden; touch-action: none; }
#game-container { position: relative; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(180deg, #0f172a, #1a2a6c, #11998e); }
canvas { display: block; max-width: 100%; max-height: 100%; box-shadow: 0 0 30px rgba(0,0,0,0.8); }

#start-menu, #overlay, #admin-modal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(20,20,20,0.95) 0%, rgba(0,0,0,0.98) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; }
.studio-branding { font-size: 1.2rem; letter-spacing: 5px; color: #38ef7d; margin-bottom: 10px; text-transform: uppercase; font-weight: bold; text-shadow: 0 0 10px rgba(56, 239, 125, 0.5); }
#start-menu h1, #overlay h2 { font-size: 4rem; margin-bottom: 3rem; text-shadow: 0 0 20px #11998e; text-transform: uppercase; font-style: italic; text-align: center; }
.character-select { display: flex; gap: 20px; }
.char-btn, #overlay-btn { padding: 20px 40px; font-size: 1.2rem; font-weight: bold; border: 2px solid #38ef7d; border-radius: 5px; background: transparent; color: #fff; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 15px rgba(56, 239, 125, 0.2); }
.char-btn:hover, #overlay-btn:hover { background: #38ef7d; color: #000; box-shadow: 0 0 30px rgba(56, 239, 125, 0.8); transform: translateY(-5px); }

.admin-content { background: #111; border: 2px solid #38ef7d; padding: 40px; border-radius: 10px; width: 500px; box-shadow: 0 0 40px rgba(56,239,125,0.3); }
.admin-control-group { margin-bottom: 15px; display: flex; flex-direction: column; gap: 5px; }
.admin-control-group label { font-size: 1rem; color: #ccc; }
.admin-control-group input[type="range"] { width: 100%; accent-color: #38ef7d; cursor: pointer; }

#in-game-ui { position: absolute; top: 20px; left: 20px; right: 20px; z-index: 5; pointer-events: none; display: flex; flex-direction: column; }
.branding-watermark { font-size: 1rem; color: rgba(255,255,255,0.5); letter-spacing: 2px; font-weight: bold; }
#stats-container { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
#health-display { font-size: 1.5rem; text-shadow: 2px 2px 4px #000; }
#coin-display { font-size: 1.5rem; font-weight: bold; color: #f1c40f; text-shadow: 0 0 10px #f1c40f; }
#gadget-status { font-size: 1.2rem; color: #f1c40f; text-shadow: 0 0 5px #f1c40f; }

#touch-controls { position: absolute; bottom: 20px; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 40px; pointer-events: none; z-index: 5; }
.d-pad, .action-pad { display: flex; gap: 15px; pointer-events: auto; }
#touch-controls button { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.3); color: white; font-size: 1.5rem; font-weight: bold; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
#touch-controls button:active { background: rgba(255, 255, 255, 0.4); }
@media (pointer: fine) { #touch-controls { display: none; } }
