.scramble-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.drop-zone, .drag-zone {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 70px;
}

.slot {
    width: 50px;
    height: 60px;
    border-bottom: 4px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.3);
    transition: all 0.2s ease;
}

.slot.filled {
    border-bottom-color: var(--accent-blue);
    background: white;
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.letter-tile {
    width: 50px;
    height: 60px;
    background: white;
    box-shadow: var(--shadow-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s, opacity 0.2s;
}

.letter-tile:active {
    transform: scale(0.9);
}

.letter-tile.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.slot .letter-tile {
    width: 100%;
    height: 100%;
    box-shadow: none;
    background: transparent;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.action-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    box-shadow: var(--shadow-light);
    color: var(--text-color);
}

.action-btn:active {
    transform: scale(0.95);
    box-shadow: var(--shadow-pressed);
}

.action-btn.primary {
    background-color: var(--accent-blue);
    color: white;
}

.action-btn.primary:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.success-pop {
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--success-green);
}

@media (max-width: 600px) {
    .slot, .letter-tile {
        width: 40px;
        height: 50px;
        font-size: 1.5rem;
    }
}
