:root {
    --bg: oklch(10% 0 0);
    --surface: oklch(15% 0 0);
    --border: oklch(25% 0 0);
    --text: oklch(95% 0 0);
    --text-muted: oklch(60% 0 0);
    --primary: oklch(70% 0.15 200); /* Cyan-ish */
    --accent: oklch(70% 0.15 320);  /* Pink-ish */
    
    --font-main: 'DM Sans', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

body {
    background: var(---bg);
    color: var(---text);
    font-family: var(---font-main);
    margin: 0;
    overflow: hidden;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.score-board {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.divider { color: var(---text-muted); }

.icon-btn {
    background: var(---surface);
    border: 1px solid var(---border);
    color: var(---text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.game-container {
    flex: 1;
    position: relative;
    background: var(---surface);
    border: 1px solid var(---border);
    border-radius: 12px;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
}

h1 {
    font-size: 32px;
    margin: 0 0 8px;
    letter-spacing: -2px;
}

p {
    color: var(---text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.primary-btn {
    background: var(---text);
    color: var(---bg);
    border: none;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.floating-nav {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(---text-muted);
    letter-spacing: 1px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(---text-muted);
}

.dot.active {
    background: oklch(70% 0.15 150); /* Green */
    box-shadow: 0 0 10px oklch(70% 0.15 150 / 0.5);
}