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

body {
    overflow: hidden;
    background: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    user-select: none;
}

body.pointer-locked {
    cursor: none;
}

#game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#game-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#esp-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/* Lock Overlay */
#lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.pilzware-logo {
    margin-bottom: 40px;
}

.pilz-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 10px;
    animation: mushroom-pulse 2s ease-in-out infinite;
}

@keyframes mushroom-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pilzware-logo h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #b44dff, #ff4d94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.version {
    color: #666;
    font-size: 14px;
    letter-spacing: 2px;
}

.click-text {
    font-size: 24px;
    color: #aaa;
    animation: fade-pulse 1.5s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes fade-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.controls-info {
    color: #555;
    font-size: 13px;
    line-height: 1.8;
    font-family: 'Consolas', monospace;
}

/* Damage flash */
@keyframes damage-flash {
    0% { opacity: 0.6; }
    100% { opacity: 0; }
}

#damage-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(255, 0, 0, 0.4) 100%);
    animation: damage-flash 0.5s ease-out forwards;
}
