:root { --bg: #1a1a1a; --text: #4caf50; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex;
    flex-direction: column; justify-content: flex-start; align-items: center; }
.game-container { width: 100%; max-width: 600px; padding: 1rem; display: flex; flex-direction: column; align-items: center; position: relative;}
header { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.back-btn { text-decoration: none; background: #e91e63; color: white; padding: 10px 20px; border-radius: 20px; font-weight: bold; box-shadow: 0 4px 0 #c2185b; }
.back-btn:active { transform: translateY(4px); box-shadow: 0 0 0; }
h1 { font-size: 2rem; color: #d81b60; text-shadow: 2px 2px 0 #000; }
.instruction { font-size: 1.2rem; margin-bottom: 1rem; font-weight: bold; }
.game-area { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.pieces-container { width: 200px; min-height: 200px; background: rgba(30,30,30,0.95); border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 10px; }
.board { width: 200px; height: 200px; background: #2a2a2a; border: 4px dashed #f06292; display: grid; grid-template-columns: 100px 100px; grid-template-rows: 100px 100px; }
.slot { width: 100%; height: 100%; border: 1px solid #f8bbd0; }
.piece { width: 96px; height: 96px; background-image: url('https://placekitten.com/200/200'); cursor: grab; background-size: 200px 200px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.piece:active { cursor: grabbing; }
.overlay { position: absolute; inset: 0; background: rgba(30,30,30,0.95); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; border-radius: 20px; }
.overlay h2 { font-size: 3rem; color: #4caf50; margin-bottom: 1rem; }
.btn { background: #4caf50; border: none; padding: 15px 40px; font-size: 1.5rem; font-weight: 900; border-radius: 50px; cursor: pointer; color: white; font-family: 'Outfit'; }
