:root {
    --bg: #1a1a1a;
    --text: #e9eefc;
    --accent: #ff6b35;
    --card: rgba(255, 107, 53, 0.1);
    --border: rgba(233, 238, 252, 0.2);
}

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

body {
    font-family: 'Courier New', monospace;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

#menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    background: var(--card);
    padding: 3rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

#menu h1 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent);
}

#menu p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.controls {
    text-align: left;
    margin: 2rem auto;
    max-width: 300px;
}

.controls p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

#start-btn {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

#start-btn:hover {
    transform: scale(1.05);
}

#game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 10;
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

#crosshair::before {
    width: 2px;
    height: 20px;
    left: 9px;
}

#crosshair::after {
    width: 20px;
    height: 2px;
    top: 9px;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 400px;
}

#hud div {
    margin-bottom: 10px;
}

#message {
    color: var(--text);
    font-size: 1.2rem;
}

.codepad-btn {
    background: #4a4a4a;
    color: #fff;
    border: 2px solid #666;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
}

.codepad-btn:hover {
    background: #666;
    transform: scale(1.05);
}

.codepad-btn:active {
    transform: scale(0.95);
}
