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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    overflow: hidden;
}

#three-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Game HUD */
.game-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Crosshair */
.crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.crosshair::before,
.crosshair::after {
    content: '';
    position: absolute;
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.crosshair::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 16px;
}

.crosshair::after {
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
}

/* Inventory bar */
.inventory-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #333;
}

.inventory-slot {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #666;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    text-align: center;
    transition: all 0.2s;
}

.inventory-slot.active {
    border-color: #ffff00;
    background: rgba(255,255,0,0.2);
    box-shadow: 0 0 10px rgba(255,255,0,0.5);
}

.inventory-slot:hover {
    background: rgba(255,255,255,0.2);
}

/* Info panel */
.info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* Start screen */
.start-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 2000;
}

.start-screen h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3); }
    to { text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.6); }
}

.start-screen p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.start-btn {
    padding: 15px 30px;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.start-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.controls-info {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 500px;
}

.controls-info h3 {
    margin-bottom: 10px;
    color: #ffff88;
}

.controls-info div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: left;
}

/* Hidden class */
.hidden {
    display: none !important;
}