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

body {
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior: none;
    font-family: ui-monospace, monospace;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 15px;
    max-width: 100%;
}

h1 {
    font-size: clamp(18px, 4vw, 32px);
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px #fff;
    letter-spacing: 4px;
}

.header {
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: clamp(12px, 2.5vw, 16px);
    font-weight: bold;
}

.stat {
    text-shadow: 0 0 5px currentColor;
}

#gameCanvas {
    background: #000;
    border: 2px solid #333;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.instructions {
    margin-top: 15px;
    color: #666;
    font-size: clamp(10px, 2vw, 14px);
}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}

.overlay h2 {
    font-size: clamp(28px, 6vw, 48px);
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 0 20px #fff;
    letter-spacing: 4px;
    line-height: 1.2;
}

.overlay p {
    font-size: clamp(14px, 3vw, 18px);
    margin: 10px 0;
    color: #aaa;
}

.overlay button {
    margin-top: 25px;
    padding: 15px 50px;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: bold;
    font-family: inherit;
    color: #000;
    background: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.overlay button:hover {
    background: #0f0;
    transform: scale(1.05);
}

.hidden { display: none !important; }

/* Vector glow effect */
@keyframes glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}
