body {
    margin: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background: url("bg.jpg") no-repeat center center fixed;
    background-size: cover;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(6px);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.header-buttons .btn {
    background: #ffb3d6;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* GAME AREA */
#game-area {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
}

/* KEY & LOCK STYLES */
.key, .lock {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: grab;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    transition: transform 0.3s ease;
}

/* COLOR CLASSES (neon) */
.neon-pink { background: #ff009d; }
.neon-blue { background: #00c3ff; }
.neon-green { background: #00ff85; }
.neon-yellow { background: #ffe100; }

.lock {
    animation: none !important;
}


/* SPARKLE */
.sparkle {
    animation: sparkle 0.4s ease-out forwards;
}

@keyframes sparkle {
    0% { transform: scale(1); box-shadow: 0 0 25px white; }
    100% { transform: scale(0); opacity: 0; }
}
