        :root {
            --bg-color: #1a1a2e;
            --board-size: 760px;
            --cell-size: 87px; 
        }
        .div-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
        }
        .div-container {
            background: #2c3e50;
            border: 4px solid #3f8fef;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 800px;
            padding: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        .header {
            width: var(--board-size);
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            box-sizing: border-box;
        }
        .score-val { font-size: 42px; font-weight: bold; color: #f1c40f; }
        .timer-val { font-size: 32px; font-weight: bold; color: #e94560; }

        #game-board {
            display: grid;
            grid-template-columns: repeat(8, var(--cell-size));
            grid-template-rows: repeat(8, var(--cell-size));
            gap: 6px;
            background: #16213e;
            padding: 10px;
            border-radius: 20px;
            width: var(--board-size);
            height: var(--board-size);
            box-sizing: border-box;
            box-shadow: 0 0 50px rgba(0,0,0,0.7);
            position: relative;
        }

        .cell {
            width: var(--cell-size);
            height: var(--cell-size);
            background: #0f3460;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 60px;
            border-radius: 12px;
            transition: transform 0.2s, background-color 0.2s;
            cursor: pointer;
        }
        
        /* 로켓 폭탄 강조 스타일 */
        .item-row { 
            background: #f39c12 !important; 
            box-shadow: 0 0 25px #f39c12, inset 0 0 15px white; 
            animation: pulse 0.8s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .item-magic { background: #9b59b6 !important; box-shadow: 0 0 30px #9b59b6; }
        .dragging { transform: scale(1.1); z-index: 10; opacity: 0.7; }

        #game-over {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.95);
            padding: 50px;
            border-radius: 30px;
            text-align: center;
            display: none;
            z-index: 1000;
            width: 500px;
            border: 5px solid #f1c40f;
        }

        .shake { animation: shake-anim 0.2s ease-in-out; }
        @keyframes shake-anim {
            0%, 100% { transform: translate(0,0); }
            25% { transform: translate(-10px, 5px); }
            75% { transform: translate(10px, -5px); }
        }

        .pop { animation: pop-anim 0.3s forwards; }
        @keyframes pop-anim {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(2.5); opacity: 0; }
        }