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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    overflow: hidden;
}

#container {
    width: 100vw;
    height: 100vh;
    cursor: crosshair;
}

#container:active {
    cursor: crosshair;
}

#controls {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#controls h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

#controls p {
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.8;
}

#resetBtn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#resetBtn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

#resetBtn:active {
    transform: translateY(0);
}

#popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    color: #1a1a2e;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#popup h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #0a0a0a;
    border-bottom: 2px solid #1a1a2e;
    padding-bottom: 10px;
}

#popup p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.6;
}

#popup strong {
    color: #1a1a2e;
    font-weight: 600;
}

#closePopup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #1a1a2e;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closePopup:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}
